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
SoNode.RenderModes
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFFloat |
boxRatio
Ratio between width and height of the colored boxes in the legend.
|
SoSFEnum<PoLegend.IncrementTypes> |
incrementType
Increment type for the values of legend.
|
SoSFFloat |
marginBottom
Bottom margin.
|
SoSFFloat |
marginLeft
Left margin.
|
SoSFFloat |
marginRight
Right margin.
|
SoSFFloat |
marginTop
Top margin.
|
SoSFEnum<PoLegend.MarginTypes> |
marginType
Margin type.
|
SoSFUShort |
numColumns
Number of columns of the legend.
|
SoSFString |
titleFontName
Font name of the title.
|
SoSFFloat |
titleFontSize
Font size of the title.
|
SoSFEnum<PoLegend.TextPaths> |
titlePath
Title path.
|
SoSFEnum<PoLegend.Positions> |
titlePosition
Title position.
|
SoSFString |
titleString
Title string.
|
SoSFEnum<PoLegend.Visibilities> |
titleVisibility
Title visibility.
|
SoSFString |
valueAddString
String to be concatenated.
|
SoSFBool |
valueAddStringVisibility
Visibility of a string concatenated to the values.
|
SoSFString |
valueFontName
Font name of values.
|
SoSFEnum<PoLegend.Positions> |
valuePosition
Values positions.
|
SoSFEnum<PoLegend.Visibilities> |
valueVisibility
Values visibility.
|
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, getRenderEngineMode, 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, getName, isDisposable, isSynchronizable, setName, setSynchronizable
getNativeResourceHandle
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 PbMiscTextAttr getMiscTextAttr()
PbMiscTextAttr
for miscellaneous text attributes.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 static SoNodekitCatalog getClassNodekitCatalog()
SoNodekitCatalog
for this class.Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com