Class to build a non linear legend (third representation). More...
#include <MeshViz/graph/PoNonLinearValueLegend3.h>
Public Member Functions | |
virtual SoType | getTypeId () const |
virtual const SoNodekitCatalog * | getNodekitCatalog () const |
PoNonLinearValueLegend3 () | |
PoNonLinearValueLegend3 (const SbVec2f &_start, const SbVec2f &_end) | |
virtual void | rebuild () |
Static Public Member Functions | |
static SoType | getClassTypeId () |
static const SoNodekitCatalog * | getClassNodekitCatalog () |
Public Attributes | |
SoSFFloat | maxValueSize |
SoSFBool | lowerUpperBoxes |
Each box represents the color associated with a value of a data mapping object or an isovalue list object, so the representation is similar to the representation of PoNonLinearValueLegend2 but the spacing between boxes is null, and the legend consists of one column (or one row depending on the orientation of the legend).
The fields incrementType, numColumns, and boxRatio are not used for this representation.
titleVisibility | VISIBILITY_OFF |
titlePosition | POS_BOTTOM |
titlePath | RIGHT_PATH |
titleFontSize | 0 |
titleFontName | "" |
titleString | "" |
valueVisibility | VISIBILITY_ON |
valuePosition | POS_RIGHT |
valueFontName | "" |
valueAddStringVisibility | FALSE |
valueAddString | "" |
marginType | REL_MARGIN |
marginLeft | 0.05 |
marginRight | 0.05 |
marginBottom | 0.05 |
marginTop | 0.05 |
incrementType | VERTICAL_INCREMENT |
numColumns | 1 |
boxRatio | 1 |
periodValue | 1 |
firstValue | 1 |
lastValue | 32767 |
start | 0 0 |
end | 1 1 |
maxValueSize | 0.6 |
lowerUndefString | "UNDEF<" |
upperUndefString | "UNDEF>" |
lowerUpperBoxes | TRUE |
PoNonLinearValueLegend3::PoNonLinearValueLegend3 | ( | ) |
Default constructor.
Constructor.
static const SoNodekitCatalog* PoNonLinearValueLegend3::getClassNodekitCatalog | ( | ) | [static] |
Returns the SoNodekitCatalog for this class.
Reimplemented from PoAutoValueLegend.
static SoType PoNonLinearValueLegend3::getClassTypeId | ( | ) | [static] |
Returns the type identifier for this class.
Reimplemented from PoAutoValueLegend.
virtual const SoNodekitCatalog* PoNonLinearValueLegend3::getNodekitCatalog | ( | ) | const [virtual] |
Returns the SoNodekitCatalog for this instance.
Reimplemented from PoAutoValueLegend.
virtual SoType PoNonLinearValueLegend3::getTypeId | ( | ) | const [virtual] |
Returns the type identifier for this specific instance.
Reimplemented from PoAutoValueLegend.
virtual void PoNonLinearValueLegend3::rebuild | ( | ) | [virtual] |
Indicates if lower and upper boxes should be displayed.
The color of the lower box is the color associated with values less than the minimum, and the color of the upper box is the color associated with values greater than the maximum.
NOTE: field available since Open Inventor 6.0Indicates the maximum size of text values.
If the legend is vertical, this value is the maximum percentage of the width of text values relative to the legend width (without margin). If the legend is horizontal, this value is the maximum percentage of the height of text values relative to the legend height (without margin).