public class PoLegend extends PoGraphMaster
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
).
Modifier and Type | Class and Description |
---|---|
static class |
PoLegend.IncrementTypes
Type of values incrementation.
|
static class |
PoLegend.MarginTypes
Type of margins.
|
static class |
PoLegend.Positions
Type of position.
|
static class |
PoLegend.TextPaths
Text path.
|
static class |
PoLegend.Visibilities
Type of visibility.
|
PoBase.NodeWriteFormats, PoBase.TextTypes, PoBase.UpdateMethodTypes
Inventor.ConstructorCommand
FOLD_NODE_WRITE_FORMAT, SO_ANNO_TEXT3, SO_TEXT3, UNFOLD_NODE_WRITE_FORMAT, UPDATE_METHOD_IMMEDIATE, UPDATE_METHOD_ON_ACTION
boundingBoxIgnoring
VERBOSE_LEVEL, ZeroHandle
Modifier and Type | Method and Description |
---|---|
static SoNodekitCatalog |
getClassNodekitCatalog()
Returns the
SoNodekitCatalog for this class. |
PbMiscTextAttr |
getMiscTextAttr()
Gets a reference to a
PbMiscTextAttr for miscellaneous text attributes. |
void |
setMiscTextAttr(PbMiscTextAttr textAttr)
Sets a reference to a
PbMiscTextAttr for miscellaneous text attributes of all legend texts. |
addPostRebuildCallback, addPreRebuildCallback, getDomain, getNodeWriteFormat, getTextType, getUpdateMethod, isBuilt, isModified, isVRML2Mode, rebuild, setDomain, setNodeWriteFormat, setTextType, setUpdateMethod, setVRML2Mode, touchKit
getNodekitCatalog, getPart, getPart, getPartString, getViewportIsEnabled, getViewportOrigin, getViewportSize, isSearchingChildren, set, set, setPart, setSearchingChildren
affectsState, 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, write
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, setToDefaults
dispose, getEXTERNPROTO, getName, getPROTO, isDisposable, isSynchronizable, setName, setSynchronizable
getAddress, getNativeResourceHandle, startInternalThreads, stopInternalThreads
@Deprecated public static final int VISIBILITY_OFF
PoLegend.Visibilities.VISIBILITY_OFF
instead.@Deprecated public static final int VISIBILITY_ON
PoLegend.Visibilities.VISIBILITY_ON
instead.@Deprecated public static final int PATH_RIGHT
PoLegend.TextPaths.PATH_RIGHT
instead.@Deprecated public static final int PATH_LEFT
PoLegend.TextPaths.PATH_LEFT
instead.@Deprecated public static final int PATH_UP
PoLegend.TextPaths.PATH_UP
instead.@Deprecated public static final int PATH_DOWN
PoLegend.TextPaths.PATH_DOWN
instead.@Deprecated public static final int POS_BOTTOM
PoLegend.Positions.POS_BOTTOM
instead.@Deprecated public static final int POS_TOP
PoLegend.Positions.POS_TOP
instead.@Deprecated public static final int POS_RIGHT
PoLegend.Positions.POS_RIGHT
instead.@Deprecated public static final int POS_LEFT
PoLegend.Positions.POS_LEFT
instead.@Deprecated public static final int REL_MARGIN
PoLegend.MarginTypes.REL_MARGIN
instead.@Deprecated public static final int FIXED_MARGIN
PoLegend.MarginTypes.FIXED_MARGIN
instead.@Deprecated public static final int VERTICAL_INCREMENT
PoLegend.IncrementTypes.VERTICAL_INCREMENT
instead.@Deprecated public static final int HORIZONTAL_INCREMENT
PoLegend.IncrementTypes.HORIZONTAL_INCREMENT
instead.public final SoSFEnum<PoLegend.Visibilities> titleVisibility
public final SoSFEnum<PoLegend.Positions> titlePosition
public final SoSFEnum<PoLegend.TextPaths> titlePath
public final SoSFFloat titleFontSize
public final SoSFString titleFontName
public final SoSFString titleString
public final SoSFEnum<PoLegend.Visibilities> valueVisibility
public final SoSFEnum<PoLegend.Positions> valuePosition
public final SoSFString valueFontName
public final SoSFBool valueAddStringVisibility
public final SoSFString valueAddString
public final SoSFEnum<PoLegend.MarginTypes> marginType
public final SoSFFloat marginLeft
public final SoSFFloat marginRight
public final SoSFFloat marginBottom
public final SoSFFloat marginTop
public final SoSFEnum<PoLegend.IncrementTypes> incrementType
public final SoSFUShort numColumns
public final SoSFFloat boxRatio
public void setMiscTextAttr(PbMiscTextAttr textAttr)
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.public PbMiscTextAttr getMiscTextAttr()
PbMiscTextAttr
for miscellaneous text attributes.public static SoNodekitCatalog getClassNodekitCatalog()
SoNodekitCatalog
for this class.Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com