Package com.openinventor.meshviz.fields
Class PoSFParalCartesianGrid2D
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.PoSFParalCartesianGrid2D
Inventor field containing a mesh of type
PbParalCartesianGrid2D
.
This field contains an instance of the class PbParalCartesianGrid2D
.-
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
-
Constructor Summary
ConstructorsConstructorDescriptionPoSFParalCartesianGrid2D
(SoFieldContainer fieldContainer, String fieldName, SoField.FieldTypes fieldType, PbParalCartesianGrid2D defaultValue) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
getValue()
Returns this field's value.void
setGeometry
(int num_x, int num_y, float[] xn, float[] yn) Calls setGeometry(num_x, num_y, xn, yn, (float[])null).void
setGeometry
(int num_x, int num_y, float[] xn, float[] yn, float[] zn) Convenience method to change the geometry of the mesh.void
setValue
(PbParalCartesianGrid2D newValue) Sets this field to newValue.Methods inherited from class com.openinventor.meshviz.fields.PoSFMesh
addStringsSet, addStringsSet, addValuesSet, addValuesSet, addValuesSet, addValuesSet, addVecsSet, addVecsSet
Methods 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, touch
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Constructor Details
-
PoSFParalCartesianGrid2D
public PoSFParalCartesianGrid2D(SoFieldContainer fieldContainer, String fieldName, SoField.FieldTypes fieldType, PbParalCartesianGrid2D defaultValue) Default constructor.
-
-
Method Details
-
setGeometry
public void setGeometry(int num_x, int num_y, float[] xn, float[] yn) Calls setGeometry(num_x, num_y, xn, yn, (float[])null). -
setGeometry
public void setGeometry(int num_x, int num_y, float[] xn, float[] yn, float[] zn) Convenience method to change the geometry of the mesh. See alsoPbParalCartesianGrid2D.setGeometry()
. -
equals
-
setValue
Sets this field to newValue. -
getValue
Returns this field's value.
-