Package com.openinventor.meshviz.data
Class PbParalCartesianGrid3D
java.lang.Object
com.openinventor.inventor.Inventor
com.openinventor.meshviz.graph.PbBase
com.openinventor.meshviz.data.PbMesh
com.openinventor.meshviz.data.PbMesh3D
com.openinventor.meshviz.data.PbGrid3D
com.openinventor.meshviz.data.PbCartesianGrid3D
com.openinventor.meshviz.data.PbParalCartesianGrid3D
- All Implemented Interfaces:
Cloneable
Defines a parallel cartesian grid volume mesh.
Class to define a volume mesh represented by a grid, with cartesian coordinates, where the lines are parallel to X, Y or Z axis. This mesh is defined by num_x lines orthogonal to X axis, num_y lines orthogonal to Y axis and num_z lines orthogonal to Z axis, and by one or two values at each vertices of the mesh. This mesh is comparable to a set of parallel
PbParalCartesianGrid2D
. x is an array of num_x floats, y an array of num_y floats, and z an array of num_z floats.
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 * num_y * num_z 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
ConstructorsConstructorDescriptionCalls PbParalCartesianGrid3D(true).PbParalCartesianGrid3D
(boolean isDataDuplicate) Constructor of a default simple mesh.PbParalCartesianGrid3D
(int num_x, int num_y, int num_z, float[] xnod, float[] ynod, float[] znod) Calls PbParalCartesianGrid3D(num_x, num_y, num_z, xnod, ynod, znod, true).PbParalCartesianGrid3D
(int num_x, int num_y, int num_z, float[] xnod, float[] ynod, float[] znod, boolean isDataDuplicate) Constructor of a 3D parallel grid mesh.PbParalCartesianGrid3D
(PbParalCartesianGrid3D name_1161) Copy constructor. -
Method Summary
Methods inherited from class com.openinventor.meshviz.data.PbGrid3D
getCellIndices, getDim, getNodeCoord, getNodeIndices, setGeometry
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
-
PbParalCartesianGrid3D
public PbParalCartesianGrid3D()Calls PbParalCartesianGrid3D(true). -
PbParalCartesianGrid3D
public PbParalCartesianGrid3D(int num_x, int num_y, int num_z, float[] xnod, float[] ynod, float[] znod) Calls PbParalCartesianGrid3D(num_x, num_y, num_z, xnod, ynod, znod, true). -
PbParalCartesianGrid3D
public PbParalCartesianGrid3D(boolean isDataDuplicate) Constructor of a default simple mesh. See alsoPbMesh
for more explanations about data duplication. -
PbParalCartesianGrid3D
Copy constructor. -
PbParalCartesianGrid3D
public PbParalCartesianGrid3D(int num_x, int num_y, int num_z, float[] xnod, float[] ynod, float[] znod, boolean isDataDuplicate) Constructor of a 3D parallel grid mesh. See alsoPbMesh
for more explanations about data duplication.
-
-
Method Details
-
clone
- Overrides:
clone
in classPbCartesianGrid3D
-