24#ifndef _PB_HEXAHEDRONMESH3D_
25#define _PB_HEXAHEDRONMESH3D_
27#include <MeshViz/3Ddata/PbIndexedMesh3D.h>
78 int num_hexahedrons,
const int *hexahedron_index,
79 SbBool is_data_duplicate=TRUE) ;
100 {
return !(m1 == m2); }
105 void setGeometry(
int num_nodes,
const float *x_nod,
const float *y_nod,
const float *z_nod,
106 int num_hexahedrons,
const int *hexahedron_index);
114 void getGeometry(
int &num_nodes,
const float *&x_nod,
const float *&y_nod,
const float *&z_nod,
115 int &num_hexahedrons,
const int *&hexahedron_index)
const;
141 void getGeometry(
int &num_nodes,
const float *&x_nod,
const float *&y_nod,
const float *&z_nod,
142 int &num_hexahedrons,
const int **&hexahedron_index)
const;
148 float getLongestEdgeLength();
154 void print(FILE *fp)
const;
157 virtual const PbCell *getTopoCell(
int cell_index)
const;
160 void updateCellBoundingBox()
const;
161 void updateOwnerCellsList()
const;
DTEXT Dynamic array of int .
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Defines an abstract cell...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Defines an hexahedron ce...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Defines a mesh of hexahe...
SoDEPRECATED void getGeometry(int &num_nodes, const float *&x_nod, const float *&y_nod, const float *&z_nod, int &num_hexahedrons, const int **&hexahedron_index) const
Gets the current mesh geometry.
~PbHexahedronMesh3D()
Destructor.
PbHexahedronMesh3D(int num_nodes, const float *x_nod, const float *y_nod, const float *z_nod, int num_hexahedrons, const int *hexahedron_index, SbBool is_data_duplicate=TRUE)
Constructor of a volume mesh.
friend int operator==(const PbHexahedronMesh3D &m1, const PbHexahedronMesh3D &m2)
Equality comparison operator.
PbHexahedronMesh3D(SbBool isDataDuplicate=TRUE)
Constructor of a default simple mesh.
void getGeometry(int &num_nodes, const float *&x_nod, const float *&y_nod, const float *&z_nod, int &num_hexahedrons, const int *&hexahedron_index) const
Gets the current mesh geometry.
virtual const PbCell * getCell(int cell_index) const
Gets the cell which index is cell_index.
PbHexahedronMesh3D & operator=(const PbHexahedronMesh3D &mesh)
Assignment operator.
virtual void getNodesOwnerCellsInd(const PbArrayOfInt &nod_indices, PbArrayOfInt &owner_cells) const
Gets the list of index of cells that own the list of node "nod_indices" (for example nod_indices can ...
void setGeometry(int num_nodes, const float *x_nod, const float *y_nod, const float *z_nod, int num_hexahedrons, const int *hexahedron_index)
Sets a new geometry.
friend int operator!=(const PbHexahedronMesh3D &m1, const PbHexahedronMesh3D &m2)
Inequality comparison operator.
PbHexahedronMesh3D(const PbHexahedronMesh3D &mesh)
Copy constructor.
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Defines a volume mesh of...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Representation of vector...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Representation of cross ...