Package com.openinventor.meshviz.nodes
Class PoTriangleMesh2D
- java.lang.Object
-
- All Implemented Interfaces:
SafeDisposable
public class PoTriangleMesh2D extends PoMeshProperty
Inventor node defining a mesh of typePbTriangleMesh2D
.
-
-
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 PoSFTriangleMesh2D
mesh
Field containing a mesh of typePbTriangleMesh2D
.-
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
-
Constructor Summary
Constructors Constructor Description PoTriangleMesh2D()
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setGeometry(int numPoints, float[] xPointsField, float[] yPointsField)
Convenience method to set a new 2D geometry from a points field.void
setGeometry(int num_nodes, float[] xn, float[] yn, float[] zn, int num_cells, int[] cell_index)
Convenience method to change the geometry of the mesh.void
setGeometry(int num_nodes, float[] xn, float[] yn, int num_cells, int[] cell_index)
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 PoSFTriangleMesh2D mesh
Field containing a mesh of typePbTriangleMesh2D
.
-
-
Method Detail
-
setGeometry
public void setGeometry(int num_nodes, float[] xn, float[] yn, float[] zn, int num_cells, int[] cell_index)
Convenience method to change the geometry of the mesh. Defines a 3D geometry. See alsoPbTriangleMesh2D.setGeometry()
.
-
setGeometry
public void setGeometry(int numPoints, float[] xPointsField, float[] yPointsField)
Convenience method to set a new 2D geometry from a points field. The triangulation is realized by the DELAUNAY method. See alsoPbTriangleMesh2D.setGeometry()
.
-
setGeometry
public void setGeometry(int num_nodes, float[] xn, float[] yn, int num_cells, int[] cell_index)
Convenience method to change the geometry of the mesh. Defines a 2D geometry. See alsoPbTriangleMesh2D.setGeometry()
.
-
-