Package com.openinventor.meshviz.nodes
Class PoIndexedMesh2D
- All Implemented Interfaces:
SafeDisposable
Inventor node defining a mesh of type
PbIndexedMesh2D
.-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.meshviz.nodes.PoMeshProperty
PoMeshProperty.DataBindings
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
FieldsModifier and TypeFieldDescriptionfinal PoSFIndexedMesh2D
Field containing a mesh of typePbIndexedMesh2D
.Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setGeometry
(int num_nodes, float[] xn, float[] yn, float[] zn, int num_cells, int[] cell_index, int[] cell_type) Convenience method to change the geometry of the mesh.void
setGeometry
(int num_nodes, float[] xn, float[] yn, int num_cells, int[] cell_index, int[] cell_type) Convenience method to change the geometry of the mesh.Methods inherited from class com.openinventor.meshviz.nodes.PoMeshProperty
addStringsSet, addStringsSet, addValuesSet, addValuesSet, addValuesSet, addValuesSet, addVecsSet, addVecsSet, getMesh
Methods inherited from class com.openinventor.meshviz.nodes.PoNode
callback, doAction, getBoundingBox, getMatrix, getPrimitiveCount, GLRender, handleEvent, pick, search, write
Methods inherited from class com.openinventor.inventor.nodes.SoNode
affectsState, copy, copy, distribute, getAlternateRep, getByName, getRenderEngineMode, getRenderUnitID, GLRenderBelowPath, GLRenderInPath, GLRenderOffPath, grabEventsCleanup, grabEventsSetup, isBoundingBoxIgnoring, isOverride, rayPick, setOverride, touch
Methods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, 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 Details
-
mesh
Field containing a mesh of typePbIndexedMesh2D
.
-
-
Constructor Details
-
PoIndexedMesh2D
public PoIndexedMesh2D()Constructor.
-
-
Method Details
-
setGeometry
public void setGeometry(int num_nodes, float[] xn, float[] yn, float[] zn, int num_cells, int[] cell_index, int[] cell_type) Convenience method to change the geometry of the mesh. Defines a 3D geometry. See alsoPbIndexedMesh2D.setGeometry()
. -
setGeometry
public void setGeometry(int num_nodes, float[] xn, float[] yn, int num_cells, int[] cell_index, int[] cell_type) Convenience method to change the geometry of the mesh. Defines a 2D geometry. See alsoPbIndexedMesh2D.setGeometry()
.
-