Package com.openinventor.meshviz.fields
Class PoSFMesh
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.fields.SoField
com.openinventor.inventor.fields.SoSField
com.openinventor.meshviz.fields.PoSFMesh
- Direct Known Subclasses:
PoSFCartesianGrid2D
,PoSFCartesianGrid3D
,PoSFHexahedronMesh3D
,PoSFIndexedMesh2D
,PoSFIndexedMesh3D
,PoSFIrregularMesh1D
,PoSFParalCartesianGrid2D
,PoSFParalCartesianGrid3D
,PoSFPolarGrid2D
,PoSFQuadrangleMesh2D
,PoSFRegularCartesianGrid2D
,PoSFRegularCartesianGrid3D
,PoSFRegularMesh1D
,PoSFTetrahedronMesh3D
,PoSFTriangleMesh2D
Abstract Inventor field defining a mesh.
The derived classes of this field contain an instance of class derived from
PbMesh
.-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.inventor.fields.SoField
SoField.FieldTypes
Nested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand
-
Field Summary
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addStringsSet
(int index, String[] val) Calls addStringsSet(index, val, "").void
addStringsSet
(int index, String[] val, String setName) Convenience methods that adds a set of strings values to the internalPbMesh
object.void
addValuesSet
(int index, float[] val) Calls addValuesSet(index, val, "").void
addValuesSet
(int index, float[] val, PoMeshProperty.DataBindings binding) Calls addValuesSet(index, val, binding, "").void
addValuesSet
(int index, float[] val, PoMeshProperty.DataBindings binding, String setName) Adds a set of scalar values that can be located either at nodes or at cells.void
addValuesSet
(int index, float[] val, String setName) Convenience method that adds a set of scalar values to the internalPbMesh
object.void
addVecsSet
(int index, SbVec3f[] val) Calls addVecsSet(index, val, "").void
addVecsSet
(int index, SbVec3f[] val, String setName) Convenience methods that adds a set of vector values to the internalPbMesh
object.Methods inherited from class com.openinventor.inventor.fields.SoField
appendConnection, appendConnection, connectFrom, connectFrom, disconnect, disconnect, disconnect, enableConnection, equals, get, getConnectedEngine, getConnectedField, getContainer, getNumConnections, getValueSize, isConnected, isConnectedFromEngine, isConnectedFromField, isConnectedFromVRMLInterp, isConnectionEnabled, isDefault, isIgnored, set, setIgnored, touch
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Method Details
-
addValuesSet
public void addValuesSet(int index, float[] val) Calls addValuesSet(index, val, ""). -
addStringsSet
Calls addStringsSet(index, val, ""). -
addValuesSet
Calls addValuesSet(index, val, binding, ""). -
addVecsSet
Calls addVecsSet(index, val, ""). -
addValuesSet
-
addVecsSet
Convenience methods that adds a set of vector values to the internalPbMesh
object. -
addValuesSet
public void addValuesSet(int index, float[] val, PoMeshProperty.DataBindings binding, String setName) Adds a set of scalar values that can be located either at nodes or at cells.- Parameters:
index
- the index of the new set added.val
- the array of values. Its size must be either the number of nodes or the number of cells depending on the binding argument.binding
- specifies the location of the values.setName
- string associated with this set of values.NOTE: This method must be called after a setGeometry method because the size of the argument val is determined by the number of nodes in the mesh. The setGeometry methods are defined in subclasses of PoSFMesh
.
-
addStringsSet
Convenience methods that adds a set of strings values to the internalPbMesh
object.
-