Class PoNonLinearValueLegend3
- All Implemented Interfaces:
SafeDisposable
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.
File format/default:
| 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 |
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.meshviz.graph.PoLegend
PoLegend.IncrementTypes, PoLegend.MarginTypes, PoLegend.Positions, PoLegend.TextPaths, PoLegend.VisibilitiesNested classes/interfaces inherited from class com.openinventor.meshviz.graph.PoBase
PoBase.NodeWriteFormats, PoBase.TextTypes, PoBase.UpdateMethodTypesNested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoNode
SoNode.RenderModesNested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal SoSFBoolIndicates if lower and upper boxes should be displayed.final SoSFFloatIndicates the maximum size of text values.Fields inherited from class com.openinventor.meshviz.graph.PoAutoValueLegend
end, startFields inherited from class com.openinventor.meshviz.graph.PoValueLegend
firstValue, lastValue, lowerUndefString, periodValue, upperUndefStringFields inherited from class com.openinventor.meshviz.graph.PoLegend
boxRatio, incrementType, marginBottom, marginLeft, marginRight, marginTop, marginType, numColumns, titleFontName, titleFontSize, titlePath, titlePosition, titleString, titleVisibility, valueAddString, valueAddStringVisibility, valueFontName, valuePosition, valueVisibilityFields inherited from class com.openinventor.inventor.nodekits.SoBaseKit
boundingBoxIgnoringFields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.PoNonLinearValueLegend3(SbVec2f _start, SbVec2f _end) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic SoNodekitCatalogReturns theSoNodekitCatalogfor this class.Methods inherited from class com.openinventor.meshviz.graph.PoValueLegend
getDataMapping, getFormat, getIsovaluesList, setDataMapping, setFormat, setIsovaluesListMethods inherited from class com.openinventor.meshviz.graph.PoLegend
getMiscTextAttr, setMiscTextAttrMethods inherited from class com.openinventor.meshviz.graph.PoBase
addPostRebuildCallback, addPreRebuildCallback, getDomain, getNodeWriteFormat, getTextType, getUpdateMethod, isBuilt, isModified, isVRML2Mode, rebuild, setDomain, setNodeWriteFormat, setTextType, setUpdateMethod, setVRML2Mode, touchKitMethods inherited from class com.openinventor.inventor.nodekits.SoBaseKit
getNodekitCatalog, getPart, getPart, getPartString, getViewportIsEnabled, getViewportOrigin, getViewportSize, isSearchingChildren, set, set, setPart, setSearchingChildrenMethods inherited from class com.openinventor.inventor.nodes.SoNode
affectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderEngineMode, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, writeMethods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, setToDefaultsMethods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizableMethods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
Field Details
-
maxValueSize
Indicates 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). -
lowerUpperBoxes
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.- Since:
- Open Inventor 6.0
-
-
Constructor Details
-
PoNonLinearValueLegend3
Constructor. -
PoNonLinearValueLegend3
public PoNonLinearValueLegend3()Default constructor.
-
-
Method Details
-
getClassNodekitCatalog
Returns theSoNodekitCatalogfor this class.
-