Package com.openinventor.meshviz.fields
Class PoSFRegularCartesianGrid2D
- 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.PoSFRegularCartesianGrid2D
-
public class PoSFRegularCartesianGrid2D extends PoSFMesh
Inventor field containing a mesh of typePbRegularCartesianGrid2D
. This field contains an instance of the classPbRegularCartesianGrid2D
.
-
-
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
Constructors Constructor Description PoSFRegularCartesianGrid2D(SoFieldContainer fieldContainer, java.lang.String fieldName, SoField.FieldTypes fieldType, PbRegularCartesianGrid2D defaultValue)
Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
PbRegularCartesianGrid2D
getValue()
Returns this field's value.void
setGeometry(int num_x, int num_y, float x_min, float y_min, float x_max, float y_max)
Calls setGeometry(num_x, num_y, x_min, y_min, x_max, y_max, (float[])null).void
setGeometry(int num_x, int num_y, float x_min, float y_min, float x_max, float y_max, float[] z)
Convenience method to change the geometry of the mesh.void
setValue(PbRegularCartesianGrid2D 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 Detail
-
PoSFRegularCartesianGrid2D
public PoSFRegularCartesianGrid2D(SoFieldContainer fieldContainer, java.lang.String fieldName, SoField.FieldTypes fieldType, PbRegularCartesianGrid2D defaultValue)
Default constructor.
-
-
Method Detail
-
setGeometry
public void setGeometry(int num_x, int num_y, float x_min, float y_min, float x_max, float y_max)
Calls setGeometry(num_x, num_y, x_min, y_min, x_max, y_max, (float[])null).
-
setGeometry
public void setGeometry(int num_x, int num_y, float x_min, float y_min, float x_max, float y_max, float[] z)
Convenience method to change the geometry of the mesh. See alsoPbRegularCartesianGrid2D.setGeometry()
.
-
setValue
public void setValue(PbRegularCartesianGrid2D newValue)
Sets this field to newValue.
-
getValue
public PbRegularCartesianGrid2D getValue()
Returns this field's value.
-
-