Package com.openinventor.meshviz.nodes
Class PoTriangleMesh2D
- All Implemented Interfaces:
SafeDisposable
Inventor node defining a mesh of type
PbTriangleMesh2D.-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.meshviz.nodes.PoMeshProperty
PoMeshProperty.DataBindingsNested 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 PoSFTriangleMesh2DField containing a mesh of typePbTriangleMesh2D.Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetGeometry(int numPoints, float[] xPointsField, float[] yPointsField) Convenience method to set a new 2D geometry from a points field.voidsetGeometry(int num_nodes, float[] xn, float[] yn, float[] zn, int num_cells, int[] cell_index) Convenience method to change the geometry of the mesh.voidsetGeometry(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, getMeshMethods inherited from class com.openinventor.meshviz.nodes.PoNode
callback, doAction, getBoundingBox, getMatrix, getPrimitiveCount, GLRender, handleEvent, pick, search, writeMethods 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, touchMethods inherited from class com.openinventor.inventor.fields.SoFieldContainer
copyFieldValues, copyFieldValues, enableNotify, fieldsAreEqual, get, getAllFields, getEventIn, getEventOut, getField, getFieldName, hasDefaultValues, isNotifyEnabled, set, 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
-
mesh
Field containing a mesh of typePbTriangleMesh2D.
-
-
Constructor Details
-
PoTriangleMesh2D
public PoTriangleMesh2D()Constructor.
-
-
Method Details
-
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().
-