Class PoScatter
- All Implemented Interfaces:
SafeDisposable
PoIrregularMesh1D or PoRegularMesh1D). A scatter representation is a bitmap marker field (indeed SoMarkerSet shape is used for this representation). The field markerIndex is used to define the type of marker used (cf SoMarkerSet). If the number of indices is inferior to the number of markers, they are cyclically used. The abscissas of the markers are given by the geometry of the current mesh 1D, and the ordinates are given by one of the value-set of the current mesh 1D specified by the field yValuesIndex. Furthemore a value-set of the current mesh 1D, though the field zValuesIndex, can be used to define a depth for each marker. This class also takes into account of the current mesh 1D hints (PoMesh1DHints), and the current mesh 1D filter (PoMesh1DFilter) to filter the geometry of the current mesh 1D.
The interpretation of colorBinding is the following :
- INHERITED: All markers are colored with the same inherited color.
- PER_PART, PER_VERTEX: A color is used for each marker.
File format/default:
| colorBinding | INHERITED |
| yValuesIndex | 0 |
| colorValuesIndex | 1 |
| material | NULL |
| markerIndex | 0 |
| zValuesIndex | -1 |
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.meshviz.graph.PoChart
PoChart.ColorBindingsNested classes/interfaces inherited from class com.openinventor.meshviz.graph.PoBase
PoBase.NodeWriteFormats, PoBase.TextTypes, PoBase.UpdateMethodTypesNested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoNode
SoNode.RenderModesNested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal SoMFInt32Defines the type of marker used (cfSoMarkerSet).final SoSFInt32Defines the index of the set of values used to specify a z-coordinate for markers.Fields inherited from class com.openinventor.meshviz.graph.PoChart
colorBinding, colorValuesIndex, material, yValuesIndexFields inherited from class com.openinventor.inventor.nodekits.SoBaseKit
boundingBoxIgnoringFields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SoNodekitCatalogReturns theSoNodekitCatalogfor this class.Methods inherited from class com.openinventor.meshviz.graph.PoBase
addPostRebuildCallback, addPreRebuildCallback, getDomain, getNodeWriteFormat, getTextType, getUpdateMethod, isBuilt, isModified, isVRML2Mode, rebuild, setDomain, setNodeWriteFormat, setTextType, setUpdateMethod, setVRML2Mode, touchKitMethods inherited from class com.openinventor.inventor.nodekits.SoBaseKit
getNodekitCatalog, getPart, getPart, getPartString, getViewportIsEnabled, getViewportOrigin, getViewportSize, isSearchingChildren, set, set, setPart, setSearchingChildrenMethods inherited from class com.openinventor.inventor.nodes.SoNode
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, writeMethods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, setToDefaultsMethods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizableMethods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
Field Details
-
markerIndex
Defines the type of marker used (cfSoMarkerSet). If the number of indices is inferior to the number of markers, they are cyclically used. -
zValuesIndex
Defines the index of the set of values used to specify a z-coordinate for markers. If zValuesIndex = -1, the z-coordinate used is 0.
-
-
Constructor Details
-
PoScatter
public PoScatter()Constructor.
-
-
Method Details
-
getClassNodekitCatalog
Returns theSoNodekitCatalogfor this class.
-