public class PoHistogram extends PoGraphMaster
All histogram 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
).
All histogram numerical values depend on the current numerical display format. If the method setFormat(format) is called, the current numerical display format is "format". Otherwise the current numerical display format is specified in the current inherited state (cf property node PoNumericDisplayFormat
).
If coloring = DATA_MAPPING, colors of histogram bars depend on the current data mapping. If the method setDataMapping(dataMapping) is called, the current data mapping is "dataMapping". Otherwise the current data mapping is specified in the current inherited state (cf property node PoDataMapping
and its derived classes). If there is no current data-mapping (i.e setDataMapping()
not called and no PoDataMapping
node traversed before in the scene graph), all bars get the same color which is the inherited color.
Modifier and Type | Class and Description |
---|---|
static class |
PoHistogram.BarSpaceTypes
Type of spacing between bars.
|
static class |
PoHistogram.Colorings
Type of coloration of the bars.
|
static class |
PoHistogram.Positions
Type of positions relative to a histogram bar.
|
static class |
PoHistogram.TextPaths
Type of text path.
|
static class |
PoHistogram.Types
Type of orientation of the histogram's bars.
|
static class |
PoHistogram.Visibilities
Type of visibility.
|
PoBase.NodeWriteFormats, PoBase.TextTypes, PoBase.UpdateMethodTypes
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFEnum<PoHistogram.BarSpaceTypes> |
barSpaceType
Type of bar spacing.
|
SoSFFloat |
barSpaceValue
Spacing value.
|
SoMFColor |
color
Color list for the histogram bars.
|
static int |
COLOR_LIST
Deprecated.
Use
PoHistogram.Colorings.COLOR_LIST instead. |
SoSFEnum<PoHistogram.Colorings> |
coloring
Specifies how the histogram bars are colored.
|
static int |
DATA_MAPPING
Deprecated.
Use
PoHistogram.Colorings.DATA_MAPPING instead. |
SoSFFloat |
end
Define the end point of the histogram.
|
static int |
FIXED_SPACE
Deprecated.
Use
PoHistogram.BarSpaceTypes.FIXED_SPACE instead. |
SoSFString |
nameFontName
Font name of bars names.
|
SoSFFloat |
nameFontSize
Font size of bars names.
|
SoSFEnum<PoHistogram.TextPaths> |
namePath
Bars names path.
|
SoSFEnum<PoHistogram.Positions> |
namePosition
Bars names position in relation to histograms bars.
|
SoSFEnum<PoHistogram.Visibilities> |
nameVisibility
Bars names visibility.
|
static int |
PATH_DEPEND
Deprecated.
Use
PoHistogram.TextPaths.PATH_DEPEND instead. |
static int |
PATH_DOWN
Deprecated.
Use
PoHistogram.TextPaths.PATH_DOWN instead. |
static int |
PATH_LEFT
Deprecated.
Use
PoHistogram.TextPaths.PATH_LEFT instead. |
static int |
PATH_RIGHT
Deprecated.
Use
PoHistogram.TextPaths.PATH_RIGHT instead. |
static int |
PATH_UP
Deprecated.
Use
PoHistogram.TextPaths.PATH_UP instead. |
static int |
POS_BOTTOM_IN
Deprecated.
Use
PoHistogram.Positions.POS_BOTTOM_IN instead. |
static int |
POS_BOTTOM_OUT
Deprecated.
Use
PoHistogram.Positions.POS_BOTTOM_OUT instead. |
static int |
POS_CENTER
Deprecated.
Use
PoHistogram.Positions.POS_CENTER instead. |
static int |
POS_DEPEND
Deprecated.
Use
PoHistogram.Positions.POS_DEPEND instead. |
static int |
POS_LEFT_IN
Deprecated.
Use
PoHistogram.Positions.POS_LEFT_IN instead. |
static int |
POS_LEFT_OUT
Deprecated.
Use
PoHistogram.Positions.POS_LEFT_OUT instead. |
static int |
POS_RIGHT_IN
Deprecated.
Use
PoHistogram.Positions.POS_RIGHT_IN instead. |
static int |
POS_RIGHT_OUT
Deprecated.
Use
PoHistogram.Positions.POS_RIGHT_OUT instead. |
static int |
POS_TOP_IN
Deprecated.
Use
PoHistogram.Positions.POS_TOP_IN instead. |
static int |
POS_TOP_OUT
Deprecated.
Use
PoHistogram.Positions.POS_TOP_OUT instead. |
static int |
REL_SPACE
Deprecated.
Use
PoHistogram.BarSpaceTypes.REL_SPACE instead. |
SoSFVec2f |
start
Define the start point of the histogram.
|
SoSFEnum<PoHistogram.Types> |
type
Defines if the histogram is an X histogram (bars are perpendicular to the X- axis) or a Y histogram (bars are perpendicular to the Y-axis).
|
SoSFString |
valueAddString
String to be concatenated.
|
SoSFBool |
valueAddStringVisibility
Visibility of the string concatenated to the values.
|
SoSFString |
valueFontName
Font name of values.
|
SoSFFloat |
valueFontSize
Font size of values.
|
SoSFEnum<PoHistogram.TextPaths> |
valuePath
Values path.
|
SoSFEnum<PoHistogram.Positions> |
valuePosition
Values position in relation to histogram bars.
|
SoSFEnum<PoHistogram.Visibilities> |
valueVisibility
Values visibility.
|
static int |
VISIBILITY_OFF
Deprecated.
Use
PoHistogram.Visibilities.VISIBILITY_OFF instead. |
static int |
VISIBILITY_ON
Deprecated.
Use
PoHistogram.Visibilities.VISIBILITY_ON instead. |
static int |
X
Deprecated.
Use
PoHistogram.Types.X instead. |
static int |
Y
Deprecated.
Use
PoHistogram.Types.Y instead. |
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. |
PbDataMapping |
getDataMapping()
Gets a reference to a
PbDataMapping object to the association color-value for coloring the bars. |
PbNumericDisplayFormat |
getFormat()
Gets a reference to a
PbNumericDisplayFormat object for the numerical display format of values of the histograms. |
PbMiscTextAttr |
getMiscTextAttr()
Gets a reference to a
PbMiscTextAttr for miscellaneous text attributes. |
void |
setDataMapping(PbDataMapping dataMapping)
Sets a reference to a
PbDataMapping object to the association color-value for coloring the bars. |
void |
setFormat(PbNumericDisplayFormat format)
Sets a reference to a
PbNumericDisplayFormat object for the numerical display format of values of the histograms. |
void |
setMiscTextAttr(PbMiscTextAttr textAttr)
Sets a reference to a
PbMiscTextAttr for miscellaneous text attributes. |
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 X
PoHistogram.Types.X
instead.@Deprecated public static final int Y
PoHistogram.Types.Y
instead.@Deprecated public static final int POS_TOP_OUT
PoHistogram.Positions.POS_TOP_OUT
instead.@Deprecated public static final int POS_TOP_IN
PoHistogram.Positions.POS_TOP_IN
instead.@Deprecated public static final int POS_BOTTOM_OUT
PoHistogram.Positions.POS_BOTTOM_OUT
instead.@Deprecated public static final int POS_BOTTOM_IN
PoHistogram.Positions.POS_BOTTOM_IN
instead.@Deprecated public static final int POS_RIGHT_OUT
PoHistogram.Positions.POS_RIGHT_OUT
instead.@Deprecated public static final int POS_RIGHT_IN
PoHistogram.Positions.POS_RIGHT_IN
instead.@Deprecated public static final int POS_LEFT_OUT
PoHistogram.Positions.POS_LEFT_OUT
instead.@Deprecated public static final int POS_LEFT_IN
PoHistogram.Positions.POS_LEFT_IN
instead.@Deprecated public static final int POS_CENTER
PoHistogram.Positions.POS_CENTER
instead.@Deprecated public static final int POS_DEPEND
PoHistogram.Positions.POS_DEPEND
instead.@Deprecated public static final int VISIBILITY_OFF
PoHistogram.Visibilities.VISIBILITY_OFF
instead.@Deprecated public static final int VISIBILITY_ON
PoHistogram.Visibilities.VISIBILITY_ON
instead.@Deprecated public static final int PATH_RIGHT
PoHistogram.TextPaths.PATH_RIGHT
instead.@Deprecated public static final int PATH_LEFT
PoHistogram.TextPaths.PATH_LEFT
instead.@Deprecated public static final int PATH_UP
PoHistogram.TextPaths.PATH_UP
instead.@Deprecated public static final int PATH_DOWN
PoHistogram.TextPaths.PATH_DOWN
instead.@Deprecated public static final int PATH_DEPEND
PoHistogram.TextPaths.PATH_DEPEND
instead.@Deprecated public static final int REL_SPACE
PoHistogram.BarSpaceTypes.REL_SPACE
instead.@Deprecated public static final int FIXED_SPACE
PoHistogram.BarSpaceTypes.FIXED_SPACE
instead.@Deprecated public static final int COLOR_LIST
PoHistogram.Colorings.COLOR_LIST
instead.@Deprecated public static final int DATA_MAPPING
PoHistogram.Colorings.DATA_MAPPING
instead.public final SoSFVec2f start
public final SoSFFloat end
public final SoSFEnum<PoHistogram.Types> type
public final SoMFColor color
public final SoSFEnum<PoHistogram.Colorings> coloring
public final SoSFEnum<PoHistogram.Visibilities> valueVisibility
public final SoSFEnum<PoHistogram.Positions> valuePosition
public final SoSFEnum<PoHistogram.TextPaths> valuePath
public final SoSFFloat valueFontSize
PoBase
description).public final SoSFString valueFontName
public final SoSFBool valueAddStringVisibility
public final SoSFString valueAddString
public final SoSFEnum<PoHistogram.Visibilities> nameVisibility
public final SoSFEnum<PoHistogram.Positions> namePosition
public final SoSFEnum<PoHistogram.TextPaths> namePath
public final SoSFFloat nameFontSize
PoBase
description).public final SoSFString nameFontName
public final SoSFEnum<PoHistogram.BarSpaceTypes> barSpaceType
public final SoSFFloat barSpaceValue
public PbNumericDisplayFormat getFormat()
PbNumericDisplayFormat
object for the numerical display format of values of the histograms.public static SoNodekitCatalog getClassNodekitCatalog()
SoNodekitCatalog
for this class.public void setDataMapping(PbDataMapping dataMapping)
PbDataMapping
object to the association color-value for coloring the bars.
If this method is not called (or called passing NULL as argument), this is the data mapping defined in the current inherited state (defined with the property node PoDataMapping
and its derived classes) which is used. This method is ignored if coloring = COLOR_LIST.public void setFormat(PbNumericDisplayFormat format)
PbNumericDisplayFormat
object for the numerical display format of values of the histograms.
If this method is not called (or called passing NULL as argument), this is the numerical display format defined in the current inherited state (defined with the property node PoNumericDisplayFormat
) which is used.public PbDataMapping getDataMapping()
PbDataMapping
object to the association color-value for coloring the bars.public PbMiscTextAttr getMiscTextAttr()
PbMiscTextAttr
for miscellaneous text attributes.public void setMiscTextAttr(PbMiscTextAttr textAttr)
PbMiscTextAttr
for miscellaneous text attributes.
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.Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com