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
SoNode.RenderModes
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.
|
SoSFEnum<PoHistogram.Colorings> |
coloring
Specifies how the histogram bars are colored.
|
SoSFFloat |
end
Define the end point of the histogram.
|
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.
|
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.
|
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, 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 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 PbDataMapping getDataMapping()
PbDataMapping
object to the association color-value for coloring the bars.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 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 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.public PbMiscTextAttr getMiscTextAttr()
PbMiscTextAttr
for miscellaneous text attributes.Generated on July 31, 2019, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com