public class PoMultipleHistogram extends PoHistogram
The histogram bars are perpendicular to the X-axis or to the Y-axis (according to the field type). The statistic values correspond to the height (or width) of the bars.
There are three possible representations of multiple histograms:
The bars of the histogram can be colored using the fields color and coloring. If the bars colors are defined by a list of colors (coloring = COLOR_LIST), according to the field histogPath, the list of colors is associated to the rows or to the columns and color.getNum() must be greater or equal to getNum(), otherwise all the bars get the same color which is the inherited color.
File format/default:
start | 0 0 |
end | 1 |
type | X |
color | 0 0 0 |
coloring | COLOR_LIST |
valueVisibility | VISIBILITY_ON |
valuePosition | POS_DEPEND |
valuePath | PATH_DEPEND |
valueFontSize | 0.0 |
valueFontName | "" |
valueAddStringVisibility | false |
valueAddString | "" |
nameVisibility | VISIBILITY_ON |
namePosition | POS_DEPEND |
namePath | PATH_DEPEND |
nameFontSize | 0.0 |
nameFontName | "" |
barSpaceType | REL_SPACE |
barSpaceValue | 0.25 |
representation | JUXTAPOSED |
barHeight | 1.0 |
numRows | 1 |
numColumns | 1 |
value | 0 |
rowName | "" |
columnName | "" |
histogPath | ROW_COLUM |
sumVisibility | VISIBILITY_ON |
sumPosition | POS_DEPEND |
sumPath | PATH_DEPEND |
sumFontSize | 0.0 |
sumFontName | "" |
Modifier and Type | Class and Description |
---|---|
static class |
PoMultipleHistogram.HistogPaths |
static class |
PoMultipleHistogram.Representations
Type of presentation of multiple histogram.
|
PoHistogram.BarSpaceTypes, PoHistogram.Colorings, PoHistogram.Positions, PoHistogram.TextPaths, PoHistogram.Types, PoHistogram.Visibilities
PoBase.NodeWriteFormats, PoBase.TextTypes, PoBase.UpdateMethodTypes
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
static int |
ACCUMULATED
Deprecated.
Use
PoMultipleHistogram.Representations.ACCUMULATED instead. |
SoSFFloat |
barHeight
This field is used only for percentage histogram representation (representation = PERCENTAGE) and it corresponds to the height of the histogram (in this representation, all the bars have the same size).
|
static int |
COLUMN_ROW
Deprecated.
Use
PoMultipleHistogram.HistogPaths.COLUMN_ROW instead. |
SoMFString |
columnName
List of numColumns names of the columns.
|
SoSFEnum<PoMultipleHistogram.HistogPaths> |
histogPath
Indicates that the histogram shows rows as a function of columns, or columns as a function of rows.
|
static int |
JUXTAPOSED
Deprecated.
Use
PoMultipleHistogram.Representations.JUXTAPOSED instead. |
SoSFUShort |
numColumns
Number of columns of the matrix of values.
|
SoSFUShort |
numRows
Number of rows of the matrix of values.
|
static int |
PERCENTAGE
Deprecated.
Use
PoMultipleHistogram.Representations.PERCENTAGE instead. |
SoSFEnum<PoMultipleHistogram.Representations> |
representation
Representation type of the multiple histogram.
|
static int |
ROW_COLUMN
Deprecated.
Use
PoMultipleHistogram.HistogPaths.ROW_COLUMN instead. |
SoMFString |
rowName
List of numRows names of the rows.
|
SoSFString |
sumFontName
Font name of bars sums.
|
SoSFFloat |
sumFontSize
Font size of bars sums.
|
SoSFEnum<PoHistogram.TextPaths> |
sumPath
Writing path of bars sums.
|
SoSFEnum<PoHistogram.Positions> |
sumPosition
Position of sums in relation to bars.
|
SoSFEnum<PoHistogram.Visibilities> |
sumVisibility
Bars sums visibility.
|
SoMFFloat |
value
Matrix of values.
|
barSpaceType, barSpaceValue, color, COLOR_LIST, coloring, DATA_MAPPING, end, FIXED_SPACE, nameFontName, nameFontSize, namePath, namePosition, nameVisibility, PATH_DEPEND, PATH_DOWN, PATH_LEFT, PATH_RIGHT, PATH_UP, POS_BOTTOM_IN, POS_BOTTOM_OUT, POS_CENTER, POS_DEPEND, POS_LEFT_IN, POS_LEFT_OUT, POS_RIGHT_IN, POS_RIGHT_OUT, POS_TOP_IN, POS_TOP_OUT, REL_SPACE, start, type, valueAddString, valueAddStringVisibility, valueFontName, valueFontSize, valuePath, valuePosition, valueVisibility, VISIBILITY_OFF, VISIBILITY_ON, X, Y
FOLD_NODE_WRITE_FORMAT, SO_ANNO_TEXT3, SO_TEXT3, UNFOLD_NODE_WRITE_FORMAT, UPDATE_METHOD_IMMEDIATE, UPDATE_METHOD_ON_ACTION
boundingBoxIgnoring
VERBOSE_LEVEL, ZeroHandle
Constructor and Description |
---|
PoMultipleHistogram()
Default constructor.
|
PoMultipleHistogram(SbVec2f _start,
float _end,
PoHistogram.Types _type,
int _numRows,
int _numColumns,
float[] _value,
java.lang.String[] _rowName,
java.lang.String[] _columnName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static SoNodekitCatalog |
getClassNodekitCatalog()
Returns the
SoNodekitCatalog for this class. |
getDataMapping, getFormat, getMiscTextAttr, setDataMapping, setFormat, setMiscTextAttr
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 ROW_COLUMN
PoMultipleHistogram.HistogPaths.ROW_COLUMN
instead.@Deprecated public static final int COLUMN_ROW
PoMultipleHistogram.HistogPaths.COLUMN_ROW
instead.@Deprecated public static final int JUXTAPOSED
PoMultipleHistogram.Representations.JUXTAPOSED
instead.@Deprecated public static final int ACCUMULATED
PoMultipleHistogram.Representations.ACCUMULATED
instead.@Deprecated public static final int PERCENTAGE
PoMultipleHistogram.Representations.PERCENTAGE
instead.public final SoSFUShort numRows
public final SoSFUShort numColumns
public final SoMFFloat value
public final SoMFString rowName
public final SoMFString columnName
public final SoSFEnum<PoMultipleHistogram.Representations> representation
public final SoSFFloat barHeight
public final SoSFEnum<PoMultipleHistogram.HistogPaths> histogPath
public final SoSFEnum<PoHistogram.Visibilities> sumVisibility
public final SoSFEnum<PoHistogram.Positions> sumPosition
public final SoSFEnum<PoHistogram.TextPaths> sumPath
public final SoSFFloat sumFontSize
PoBase
description).public final SoSFString sumFontName
PoHistogram
description).public PoMultipleHistogram()
public PoMultipleHistogram(SbVec2f _start, float _end, PoHistogram.Types _type, int _numRows, int _numColumns, float[] _value, java.lang.String[] _rowName, java.lang.String[] _columnName)
public static SoNodekitCatalog getClassNodekitCatalog()
SoNodekitCatalog
for this class.Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com