Abstract class for legend representations. More...
#include <MeshViz/graph/PoLegend.h>
This class handles the title, the values, the margins and the path of the legend.
All legend texts depend on the current miscellaneous text attributes which define the font name, line length and so on. If the method setMiscTextAttr(textAttr) is called, the current miscellaneous text attributes are defined by "textAttr". Otherwise the current miscellaneous text attributes are specified in the current inherited state (cf property node PoMiscTextAttr).
enum PoLegend::MarginType |
enum PoLegend::Position |
enum PoLegend::TextPath |
enum PoLegend::Visibility |
static const SoNodekitCatalog* PoLegend::getClassNodekitCatalog | ( | ) | [static] |
Returns the SoNodekitCatalog for this class.
Reimplemented from PoGraphMaster.
Reimplemented in PoAutoValueLegend, PoItemLegend, PoLinearValueLegend, PoNonLinearValueLegend1, PoNonLinearValueLegend2, PoNonLinearValueLegend3, and PoValueLegend.
static SoType PoLegend::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from PoGraphMaster.
Reimplemented in PoAutoValueLegend, PoItemLegend, PoLinearValueLegend, PoNonLinearValueLegend1, PoNonLinearValueLegend2, PoNonLinearValueLegend3, and PoValueLegend.
const PbMiscTextAttr* PoLegend::getMiscTextAttr | ( | ) | const |
Gets a reference to a PbMiscTextAttr for miscellaneous text attributes.
virtual const SoNodekitCatalog* PoLegend::getNodekitCatalog | ( | ) | const [virtual] |
Returns the SoNodekitCatalog for this instance.
Reimplemented from PoGraphMaster.
Reimplemented in PoAutoValueLegend, PoItemLegend, PoLinearValueLegend, PoNonLinearValueLegend1, PoNonLinearValueLegend2, PoNonLinearValueLegend3, and PoValueLegend.
virtual SoType PoLegend::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from PoGraphMaster.
Reimplemented in PoAutoValueLegend, PoItemLegend, PoLinearValueLegend, PoNonLinearValueLegend1, PoNonLinearValueLegend2, PoNonLinearValueLegend3, and PoValueLegend.
void PoLegend::setMiscTextAttr | ( | PbMiscTextAttr * | textAttr | ) |
Sets a reference to a PbMiscTextAttr for miscellaneous text attributes of all legend texts.
If this method is not called (or called passing NULL as argument), this is the miscellaneous text attributes defined in the current inherited state (defined with the property node PoMiscTextAttr) which are used.
Ratio between width and height of the colored boxes in the legend.
Increment type for the values of legend.
(the values can be incremented vertically or horizontally).
Bottom margin.
Left margin.
Right margin.
Top margin.
Margin type.
Number of columns of the legend.
Font name of the title.
If the font is equal to its default value, the font used is the font of the current miscellaneous text attributes.
Font size of the title.
Title path.
Use enum TextPath.
Title position.
Title string.
Title visibility.
String to be concatenated.
Visibility of a string concatenated to the values.
Font name of values.
If the font is equal to its default value, the font used is the font of the current miscellaneous text attributes.
Values positions.
Values visibility.