Package com.openinventor.meshviz.fields
Class PoSFIndexedMesh2D
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.inventor.fields.SoField
com.openinventor.inventor.fields.SoSField
com.openinventor.meshviz.fields.PoSFMesh
com.openinventor.meshviz.fields.PoSFIndexedMesh2D
Inventor field containing a mesh of type
PbIndexedMesh2D.
This field contains an instance of the class PbIndexedMesh2D.-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.inventor.fields.SoField
SoField.FieldTypesNested classes/interfaces inherited from class com.openinventor.inventor.Inventor
Inventor.ConstructorCommand -
Field Summary
Fields inherited from class com.openinventor.inventor.Inventor
VERBOSE_LEVEL, ZeroHandle -
Constructor Summary
ConstructorsConstructorDescriptionPoSFIndexedMesh2D(SoFieldContainer fieldContainer, String fieldName, SoField.FieldTypes fieldType, PbIndexedMesh2D defaultValue) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionbooleangetValue()Returns this field's value.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.voidsetValue(PbIndexedMesh2D newValue) Sets this field to newValue.Methods inherited from class com.openinventor.meshviz.fields.PoSFMesh
addStringsSet, addStringsSet, addValuesSet, addValuesSet, addValuesSet, addValuesSet, addVecsSet, addVecsSetMethods inherited from class com.openinventor.inventor.fields.SoField
appendConnection, appendConnection, connectFrom, connectFrom, disconnect, disconnect, disconnect, enableConnection, get, getConnectedEngine, getConnectedField, getContainer, getNumConnections, getValueSize, isConnected, isConnectedFromEngine, isConnectedFromField, isConnectedFromVRMLInterp, isConnectionEnabled, isDefault, isIgnored, set, setIgnored, touchMethods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Constructor Details
-
PoSFIndexedMesh2D
public PoSFIndexedMesh2D(SoFieldContainer fieldContainer, String fieldName, SoField.FieldTypes fieldType, PbIndexedMesh2D defaultValue) Default constructor.
-
-
Method Details
-
setValue
Sets this field to newValue. -
equals
-
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. It defines a 2D geometry. See alsoPbIndexedMesh2D.setGeometry(). -
getValue
Returns this field's value. -
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. It defines a 3D geometry. See alsoPbIndexedMesh2D.setGeometry().
-