Package com.openinventor.meshviz.fields
Class PoSFRegularMesh1D
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.PoSFRegularMesh1D
Inventor field containing a mesh of type
PbRegularMesh1D
.
This field contains an instance of the class PbRegularMesh1D
.-
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
ConstructorsConstructorDescriptionPoSFRegularMesh1D
(SoFieldContainer fieldContainer, String fieldName, SoField.FieldTypes fieldType, PbRegularMesh1D defaultValue) Default constructor. -
Method Summary
Modifier and TypeMethodDescriptionboolean
getValue()
Returns this field's value.void
setGeometry
(int numX, float xmin, float xmax) Convenience method to change the geometry of the mesh.void
setValue
(PbRegularMesh1D 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
-
PoSFRegularMesh1D
public PoSFRegularMesh1D(SoFieldContainer fieldContainer, String fieldName, SoField.FieldTypes fieldType, PbRegularMesh1D defaultValue) Default constructor.
-
-
Method Details
-
equals
-
setValue
Sets this field to newValue. -
setGeometry
public void setGeometry(int numX, float xmin, float xmax) Convenience method to change the geometry of the mesh. See alsoPbRegularMesh1D.setGeometry()
. -
getValue
Returns this field's value.
-