Class PoScatter
- java.lang.Object
-
- All Implemented Interfaces:
SafeDisposable
public class PoScatter extends PoChart
Class to build a 2D scatter. Builds a 2D scatter on 1D mesh (PoIrregularMesh1D
orPoRegularMesh1D
). A scatter representation is a bitmap marker field (indeedSoMarkerSet
shape is used for this representation). The field markerIndex is used to define the type of marker used (cfSoMarkerSet
). 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 <html> <head> <link REL="stylesheet" TYPE="text/css" HREF="../../stylesheet.css" TITLE="Style"> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> <meta name="GENERATOR" content="Microsoft FrontPage 3.0"> <title></title> </head> <body> <h4><a name="Heading249">CATALOG PARTS</a></h4> <blockquote> <p><b>PoScatter</b> {</p> </blockquote> <blockquote> <blockquote> <p><b>Separator</b> <tt>alternateRep</tt> (from PoBase) {</p> </blockquote> <blockquote> <blockquote> <p><b>AppearanceKit</b> <tt>appearance</tt> (from PoBase)</p> </blockquote> </blockquote> <blockquote> <blockquote> <p><i>Specifies the appearance of all the kit. By default lightModel.model=BASE_COLOR. The part material is set when the kit is rebuilt, if the field colorBinding is different from INHERITED.</i></p> </blockquote> </blockquote> <blockquote> <blockquote> <p><b>MatrixTransform</b> <tt>domainTransform</tt> (from PoBase)</p> </blockquote> </blockquote> <blockquote> <blockquote> <p><i>Corresponds to the domain transformation.</i></p> <p><b>Group</b> <tt>scatter</tt></p> </blockquote> </blockquote> <blockquote> <blockquote> <p><i>Contains a SoMarkerSet shape to draw the scatter.</i></p> </blockquote> <p>}</p> </blockquote> </blockquote> <blockquote> <p>}</p> </blockquote> </body> </html>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.openinventor.meshviz.graph.PoChart
PoChart.ColorBindings
-
Nested classes/interfaces inherited from class com.openinventor.meshviz.graph.PoBase
PoBase.NodeWriteFormats, PoBase.TextTypes, PoBase.UpdateMethodTypes
-
Nested classes/interfaces inherited from class com.openinventor.inventor.nodes.SoNode
SoNode.RenderModes
-
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
-
Field Summary
Fields Modifier and Type Field Description SoMFInt32
markerIndex
Defines the type of marker used (cfSoMarkerSet
).SoSFInt32
zValuesIndex
Defines 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, yValuesIndex
-
Fields inherited from class com.openinventor.inventor.nodekits.SoBaseKit
boundingBoxIgnoring
-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description PoScatter()
Constructor.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SoNodekitCatalog
getClassNodekitCatalog()
Returns theSoNodekitCatalog
for 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, touchKit
-
Methods inherited from class com.openinventor.inventor.nodekits.SoBaseKit
getNodekitCatalog, getPart, getPart, getPartString, getViewportIsEnabled, getViewportOrigin, getViewportSize, isSearchingChildren, set, set, setPart, setSearchingChildren
-
Methods 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, write
-
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, setToDefaults
-
Methods inherited from class com.openinventor.inventor.misc.SoBase
dispose, getName, isDisposable, isSynchronizable, setName, setSynchronizable
-
Methods inherited from class com.openinventor.inventor.Inventor
getNativeResourceHandle
-
-
-
-
Field Detail
-
markerIndex
public final SoMFInt32 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
public final SoSFInt32 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.
-
-
Method Detail
-
getClassNodekitCatalog
public static SoNodekitCatalog getClassNodekitCatalog()
Returns theSoNodekitCatalog
for this class.
-
-