Package com.openinventor.meshviz.nodes
Class PoIndexedMesh2D
- java.lang.Object
 
- 
- All Implemented Interfaces:
 SafeDisposable
public class PoIndexedMesh2D extends PoMeshProperty
Inventor node defining a mesh of typePbIndexedMesh2D. 
- 
- 
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
Fields Modifier and Type Field Description PoSFIndexedMesh2DmeshField containing a mesh of typePbIndexedMesh2D.- 
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle 
 - 
 
- 
Constructor Summary
Constructors Constructor Description PoIndexedMesh2D()Constructor. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetGeometry(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.voidsetGeometry(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 Detail
- 
mesh
public final PoSFIndexedMesh2D mesh
Field containing a mesh of typePbIndexedMesh2D. 
 - 
 
- 
Method Detail
- 
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(). 
 - 
 
 -