public class PoValuedMarkerField extends PoGraphMaster
Colors of the markers 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 markers get the same color which is the inherited color.
File format/default:
point | 0 0 |
value | 0 |
size | 0 |
markerString | "." |
PoBase.NodeWriteFormats, PoBase.TextTypes, PoBase.UpdateMethodTypes
Inventor.ConstructorCommand
Modifier and Type | Field and Description |
---|---|
SoSFString |
markerString
The markers are defined by a string.
|
SoMFVec2f |
point
List of coordinates for the markers.
|
SoMFFloat |
size
List of sizes used to calculate the marker sizes.
|
SoMFFloat |
value
List of values used to color the markers.
|
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 |
---|
PoValuedMarkerField()
Default constructor.
|
PoValuedMarkerField(SbVec2f[] _point,
float[] _value,
float[] _size)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static SoNodekitCatalog |
getClassNodekitCatalog()
Returns the
SoNodekitCatalog for this class. |
PbDataMapping |
getDataMapping()
Gets a reference to a
PbDataMapping object, used to the association value- color. |
void |
setDataMapping(PbDataMapping dataMapping)
Sets a reference to a
PbDataMapping object, used to the association value- color. |
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
public final SoMFVec2f point
public final SoMFFloat value
PoValuedMarkerField
), otherwise all the markers have the same color.public final SoMFFloat size
public final SoSFString markerString
SoPointSet
shapes, otherwise SoText2
shapes. To change the font of text markers, set the catalog part appearance.font.name . Be careful, for the moment, text markers are not vertically aligned.public PoValuedMarkerField(SbVec2f[] _point, float[] _value, float[] _size)
public PoValuedMarkerField()
public void setDataMapping(PbDataMapping dataMapping)
PbDataMapping
object, used to the association value- color.
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.public PbDataMapping getDataMapping()
PbDataMapping
object, used to the association value- color.public static SoNodekitCatalog getClassNodekitCatalog()
SoNodekitCatalog
for this class.Generated on January 23, 2025, Copyright © Thermo Fisher Scientific. All rights reserved. http://www.openinventor.com