PbRegularCartesianGrid3D Class |
Defines a regular cartesian grid volume mesh.
Namespace: OIV.MeshViz.Data
The PbRegularCartesianGrid3D type exposes the following members.
Name | Description | |
---|---|---|
![]() | PbRegularCartesianGrid3D | Calls PbRegularCartesianGrid3D(true). |
![]() | PbRegularCartesianGrid3D(Boolean) | Constructor of a default simple mesh. |
![]() | PbRegularCartesianGrid3D(Int32, Int32, Int32, Single, Single, Single, Single, Single, Single) | Calls PbRegularCartesianGrid3D(num_x, num_y, num_z, x_min, y_min, z_min, x_max, y_max, z_max, true). |
![]() | PbRegularCartesianGrid3D(Int32, Int32, Int32, Single, Single, Single, Single, Single, Single, Boolean) | Constructor of a 3D regular grid mesh. |
Name | Description | |
---|---|---|
![]() | AddStringsSet(Int32, String) | Calls AddStringsSet(set_index, val, ""). (Inherited from PbMesh.) |
![]() | AddStringsSet(Int32, String, String) | Adds a set of string values . |
![]() | AddValuesSet(Int32, Single) | Calls AddValuesSet(set_index, val, ""). (Inherited from PbMesh.) |
![]() | AddValuesSet(Int32, Single, PbMeshDataBindings) | Calls AddValuesSet(set_index, val, binding, ""). (Inherited from PbMesh.) |
![]() | AddValuesSet(Int32, Single, String) | Adds a set of scalar values. |
![]() | AddValuesSet(Int32, Single, PbMeshDataBindings, String) | Adds a set of scalar values that can be located either at nodes or at cells. |
![]() | AddVecsSet(Int32, SbVec3f) | Calls AddVecsSet(set_index, val, ""). (Inherited from PbMesh.) |
![]() | AddVecsSet(Int32, SbVec3f, String) | Adds a set of vector values . |
![]() | CopyFrom(PbBase) | Assignment operator. |
![]() | CopyFrom(PbGrid3D) | Assignment operator. |
![]() | CopyFrom(PbMesh) | Assignment operator. |
![]() | CopyFrom(PbRegularCartesianGrid3D) | Assignment operator. |
![]() | EnableConnection | Activates/deactivates the mechanism of connection. |
![]() | Equals | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | FindContainingCell(SbVec3f, Single, SbVec3f) | Find the cell that contains the point. |
![]() | FindContainingCell(SbVec3f, Single, SbVec3f, PbCell) | (Inherited from PbMesh.) |
![]() | GetAdjacentCellsIndByFacet(Int32, ArrayList) | Obsolete. Gets the list of indices of cells that are adjacent (by a facet) to cell_index. |
![]() | GetAdjacentCellsIndByFacet(Int32, IListInt32) | Gets the list of indices of cells that are adjacent (by a facet) to cell_index. |
![]() | GetAdjacentCellsIndByNode(Int32, ArrayList) | Obsolete. Gets the list of indices of cells that are adjacent (by a node) to cell_index. |
![]() | GetAdjacentCellsIndByNode(Int32, IListInt32) | Gets the list of indices of cells that are adjacent (by a node) to cell_index. |
![]() | GetArea | Gets the area of the mesh. |
![]() | GetBiggestCellBox | Gets the biggest cell's bounding box, returns also the index of this cell . |
![]() | GetBoundingBox | Gets the bounding box of the mesh. |
![]() | GetCell | Gets the cell with index cell_index. |
![]() | GetCellIndices | Calculates indices i,j,k that verify cell_index = (i*(num_y-1) + j)*(num_z-1) + k. |
![]() | GetCoordinates | Get the current coordinates of the nodes of this mesh. |
![]() | GetDim | Gets the dimensions num_x, num_y, num_z of the grid. |
![]() | GetGeometry(SbNativeArraySingle, SbNativeArraySingle, SbNativeArraySingle) | Gets the mesh geometry. |
![]() | GetGeometry(Int32, Int32, Int32, Single, Single, Single, Single, Single, Single) | Gets the mesh geometry. |
![]() | GetHashCode |
Overrides GetHashCode().
(Inherited from SoNetBase.) |
![]() | GetMaxValuesSet | Gets the max of a set of scalars. |
![]() | GetMaxVecsSet | Gets the max module of a set of vectors. |
![]() | GetMinValuesSet | Gets the min of a set of scalars. |
![]() | GetMinVecsSet | Gets the min module of a set of vectors. |
![]() | GetNodeCoord(Int32) | Gets the coordinates of a node. |
![]() | GetNodeCoord(Int32, Int32, Int32) | Gets the coordinates of a node defined by its i,j,k indices on the grid. |
![]() | GetNodeIndices | Calculates indices i,j,k that verify (i*num_y + j)*num_z + k. |
![]() | GetNodeOwnerCellsInd(Int32, ArrayList) | Obsolete. Gets the list of indices of cells that own the node "nod_index". |
![]() | GetNodeOwnerCellsInd(Int32, IListInt32) | Gets the list of indices of cells that own the node "nod_index". |
![]() | GetNodesOwnerCellsInd(ArrayList, ArrayList) | Obsolete. Gets the list of indices of cells that own the list of nodes "nod_indices". |
![]() | GetNodesOwnerCellsInd(IListInt32, IListInt32) | Gets the list of indices of cells that own the list of nodes "nod_indices". |
![]() | GetNumCells | Gets the number of cells in the mesh. |
![]() | GetNumNodes | Gets the number of nodes in the mesh. |
![]() | GetNumStringsSet | Gets the number of set of string values. |
![]() | GetNumValuesSet | Gets the number of set of scalar values. |
![]() | GetNumVecsSet | Gets the number of set of vector values. |
![]() | GetSmallestCellBox | Gets the smallest cell's bounding box, returns also the index of this cell . |
![]() | GetStringsSet | Gets a set of string values. |
![]() | GetStringsSetName | Gets the name associated to a string values set. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | GetValuesBinding | Gets the binding of the scalar value set. |
![]() | GetValuesSet | Gets a set of scalar values. |
![]() | GetValuesSetName | Gets the name associated to a scalar values set. |
![]() | GetVecsSet | Gets a set of vector values. |
![]() | GetVecsSetName | Gets the name associated to a vec values set. |
![]() | GetVolume | Gets the volume of the mesh. |
![]() | IsConnectionEnabled | Returns true if the connection mechanism is active, otherwise false. |
![]() | IsDataDuplicated | Returns true if mesh's data are duplicated, false otherwise. |
![]() | RemoveAllStringsSet | Remove all sets of strings values. |
![]() | RemoveAllValuesSet | Remove all sets of scalar values. |
![]() | RemoveAllVecsSet | Remove all sets of vector values. |
![]() | RemoveStringsSet | Remove a set of string values. |
![]() | RemoveValuesSet | Remove a set of scalar values. |
![]() | RemoveVecsSet | Remove a set of vector values. |
![]() | SetCoordinates | Set new node coordinates without modifying the mesh topology. |
![]() | SetGeometry(Int32, Int32, Int32, Single, Single, Single) | Defines a volume mesh geometry. |
![]() | SetGeometry(Int32, Int32, Int32, Single, Single, Single, Single, Single, Single) | Defines a new geometry. |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Touch | Simulates the changing of an instance of this object, so all connected objects are informed of this change. |
Class to define a volume mesh represented by a grid, with cartesian coordinates, of which the lines are parallel to X-axis, Y-axis or Z-axis. This mesh is said regular because the gap between 2 consecutive parallel lines is constant.
The geometry of such a mesh is defined by the 3 dimensions of its grid (num_x, num_y, num_z), and by its bounding box (x_min, y_min, z_min, x_max, y_max, z_max)
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.