Package com.openinventor.meshviz.data
Class PbCartesianGrid3D
- 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
-
- All Implemented Interfaces:
java.lang.Cloneable
- Direct Known Subclasses:
PbParalCartesianGrid3D
public class PbCartesianGrid3D extends PbGrid3D implements java.lang.Cloneable
Defines a cartesian grid volume mesh. Class to define a mesh represented by a 3D grid with cartesian coordinates. This mesh is defined by a matrix num_x * num_y * num_z points forming (num_x - 1) * (num_y - 1) * (num_z - 1) hexahedrons. Each point with index (i, j,k) in the mesh (except for points along the mesh border) is connected to six points with indices (i+1,j,k), (i,j+1,k), (i-1,j,k), (i,j-1,k), (i,j,k+1), (i,j,k-1). The values on the mesh nodes are defined by theaddValuesSet()
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
Constructors Constructor Description PbCartesianGrid3D()
Calls PbCartesianGrid3D(true).PbCartesianGrid3D(boolean is_data_duplicated)
Constructor.PbCartesianGrid3D(int num_x, int num_y, int num_z, float[] xnod, float[] ynod, float[] znod)
Calls PbCartesianGrid3D(num_x, num_y, num_z, xnod, ynod, znod, true).PbCartesianGrid3D(int num_x, int num_y, int num_z, float[] xnod, float[] ynod, float[] znod, boolean is_data_duplicated)
Constructor of a volume mesh.PbCartesianGrid3D(PbCartesianGrid3D name_121)
Copy constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
clone()
-
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 Detail
-
PbCartesianGrid3D
public PbCartesianGrid3D(int num_x, int num_y, int num_z, float[] xnod, float[] ynod, float[] znod)
Calls PbCartesianGrid3D(num_x, num_y, num_z, xnod, ynod, znod, true).
-
PbCartesianGrid3D
public PbCartesianGrid3D()
Calls PbCartesianGrid3D(true).
-
PbCartesianGrid3D
public PbCartesianGrid3D(PbCartesianGrid3D name_121)
Copy constructor.
-
PbCartesianGrid3D
public PbCartesianGrid3D(boolean is_data_duplicated)
Constructor. See alsoPbMesh
for more explanations about data duplication.
-
PbCartesianGrid3D
public PbCartesianGrid3D(int num_x, int num_y, int num_z, float[] xnod, float[] ynod, float[] znod, boolean is_data_duplicated)
Constructor of a volume mesh. See alsoPbMesh
for more explanations about data duplication.
-
-