public class PoItemLegend extends PoLegend
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 |
| start | 0 0 |
| end | 1 1 |
| item | "" |
| boxVisibility | true |
| boxColor | 0 0 0 |
| lineVisibility | false |
| lineColor | 0 0 0 |
| lineSize | 0 |
| linePattern | 0xFFFF |
| markerVisibility | false |
| markerColor | 0 0 0 |
| markerSize | 0 |
| markerString | "." |
PoLegend.IncrementTypes, PoLegend.MarginTypes, PoLegend.Positions, PoLegend.TextPaths, PoLegend.VisibilitiesPoBase.NodeWriteFormats, PoBase.TextTypes, PoBase.UpdateMethodTypesInventor.ConstructorCommand| Modifier and Type | Field and Description |
|---|---|
SoMFColor |
boxColor
List of colors for the boxes (boxColor.getNum() must be greater or equal to item.getNum(), otherwise all boxes get the same color which is the inherited color).
|
SoSFBool |
boxVisibility
Visibility of the boxes.
|
SoSFVec2f |
end
Second point of the same diagonal.
|
SoMFString |
item
List of item names.
|
SoMFColor |
lineColor
List of colors for lines.
|
SoMFUShort |
linePattern
Be careful: (lineColor or lineSize or linePattern).getNum() must be greater or equal to item.getNum() in order to take into account one of these fields, otherwise the inherited attributes will be used.
|
SoMFFloat |
lineSize
List of sizes for lines.
|
SoSFBool |
lineVisibility
Visibility of the lines.
|
SoMFColor |
markerColor
List of color for markers.
|
SoMFFloat |
markerSize
List of sizes for markers.
|
SoMFString |
markerString
The markers are defined by a list of strings.
|
SoSFBool |
markerVisibility
Visibility of the markers.
|
SoSFVec2f |
start
First point of one of the diagonals of the rectangle delimiting the legend.
|
boxRatio, FIXED_MARGIN, HORIZONTAL_INCREMENT, incrementType, marginBottom, marginLeft, marginRight, marginTop, marginType, numColumns, PATH_DOWN, PATH_LEFT, PATH_RIGHT, PATH_UP, POS_BOTTOM, POS_LEFT, POS_RIGHT, POS_TOP, REL_MARGIN, titleFontName, titleFontSize, titlePath, titlePosition, titleString, titleVisibility, valueAddString, valueAddStringVisibility, valueFontName, valuePosition, valueVisibility, VERTICAL_INCREMENT, VISIBILITY_OFF, VISIBILITY_ONFOLD_NODE_WRITE_FORMAT, SO_ANNO_TEXT3, SO_TEXT3, UNFOLD_NODE_WRITE_FORMAT, UPDATE_METHOD_IMMEDIATE, UPDATE_METHOD_ON_ACTIONboundingBoxIgnoringVERBOSE_LEVEL, ZeroHandle| Constructor and Description |
|---|
PoItemLegend()
Default constructor.
|
PoItemLegend(SbVec2f _start,
SbVec2f _end,
java.lang.String[] _item)
Calls PoItemLegend(_start, _end, _item, (com.openinventor.inventor.SbColor[])null).
|
PoItemLegend(SbVec2f _start,
SbVec2f _end,
java.lang.String[] _item,
SbColor[] _boxColor)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static SoNodekitCatalog |
getClassNodekitCatalog()
Returns the
SoNodekitCatalog for this class. |
getMiscTextAttr, setMiscTextAttraddPostRebuildCallback, addPreRebuildCallback, getDomain, getNodeWriteFormat, getTextType, getUpdateMethod, isBuilt, isModified, isVRML2Mode, rebuild, setDomain, setNodeWriteFormat, setTextType, setUpdateMethod, setVRML2Mode, touchKitgetNodekitCatalog, getPart, getPart, getPartString, getViewportIsEnabled, getViewportOrigin, getViewportSize, isSearchingChildren, set, set, setPart, setSearchingChildrenaffectsState, callback, copy, copy, distribute, doAction, getAlternateRep, getBoundingBox, getByName, getMatrix, getPrimitiveCount, getRenderUnitID, GLRender, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, handleEvent, isBoundingBoxIgnoring, isOverride, pick, rayPick, search, setOverride, touch, writecopyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, setToDefaultsdispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizablegetAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreadspublic final SoSFVec2f start
public final SoSFVec2f end
public final SoMFString item
public final SoSFBool boxVisibility
public final SoMFColor boxColor
public final SoSFBool lineVisibility
public final SoMFColor lineColor
public final SoMFFloat lineSize
public final SoMFUShort linePattern
public final SoSFBool markerVisibility
public final SoMFColor markerColor
public final SoMFFloat markerSize
public final SoMFString markerString
SoPointSet shape, otherwise an SoText2 shape. Futhermore, only the first character of each string of markerString is used. To change the font of the text markers, set catalog part markerApp.font.name. Be careful, in this version, text markers are not vertically aligned.public PoItemLegend(SbVec2f _start, SbVec2f _end, java.lang.String[] _item)
public PoItemLegend(SbVec2f _start, SbVec2f _end, java.lang.String[] _item, SbColor[] _boxColor)
public PoItemLegend()
public static SoNodekitCatalog getClassNodekitCatalog()
SoNodekitCatalog for this class.Generated on July 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com