Package com.openinventor.meshviz.data
Class PbRegularMesh1D
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.meshviz.graph.PbBase
com.openinventor.meshviz.data.PbMesh
com.openinventor.meshviz.data.PbMesh1D
com.openinventor.meshviz.data.PbRegularMesh1D
- All Implemented Interfaces:
Cloneable
Defines a regular mono-dimensional mesh.
Class to define a regular mono-dimentional mesh. This mesh is said regular because the gap between 2 consecutive nodes is constant.
The values on the mesh nodes are defined by the PbMesh.addValuesSet(set_index,val) method, where val argument is an array of num_x floats.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.openinventor.meshviz.data.PbMesh
PbMesh.CellBox, PbMesh.ContainingCell, PbMesh.CoordinatesInfo, PbMesh.DataBindings
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
ConstructorsConstructorDescriptionConstructor.PbRegularMesh1D
(int numX, float xmin, float xmax) Constructor with geometry.Copy constructor. -
Method Summary
Modifier and TypeMethodDescriptionclone()
void
setGeometry
(int numX, float xmin, float xmax) Defines a new geometry.Methods inherited from class com.openinventor.meshviz.data.PbMesh
addStringsSet, addStringsSet, addValuesSet, addValuesSet, addValuesSet, addValuesSet, addVecsSet, addVecsSet, findContainingCell, findContainingCell, getArea, getBiggestCellBox, getBoundingBox, getCell, getCoordinates, getDirectValuesSet, getDirectVecsSet, getMaxValuesSet, getMaxVecsSet, getMinValuesSet, getMinVecsSet, getNodeCoord, getNumCells, getNumNodes, getNumStringsSet, getNumValuesSet, getNumVecsSet, getSmallestCellBox, getStringsSetName, getValuesBinding, getValuesSet, getValuesSetName, getVecsSet, getVecsSetName, getVolume, isDataDuplicated, removeAllStringsSet, removeAllValuesSet, removeAllVecsSet, removeStringsSet, removeValuesSet, removeVecsSet, setCoordinates
Methods inherited from class com.openinventor.meshviz.graph.PbBase
enableConnection, isConnectionEnabled, touch
Methods inherited from class com.openinventor.inventor.Inventor
dispose, getNativeResourceHandle
-
Constructor Details
-
PbRegularMesh1D
public PbRegularMesh1D(int numX, float xmin, float xmax) Constructor with geometry. -
PbRegularMesh1D
public PbRegularMesh1D()Constructor. -
PbRegularMesh1D
Copy constructor.
-
-
Method Details
-
clone
-
setGeometry
public void setGeometry(int numX, float xmin, float xmax) Defines a new geometry.
-