24#ifndef _PB_TETRAHEDRONMESH3D_
25#define _PB_TETRAHEDRONMESH3D_
78 int num_tetrahedrons,
const int *tetrahedron_index,
100 {
return !(m1 == m2); }
105 virtual void setGeometry(
int num_nodes,
const float *x_nod,
const float *y_nod,
const float *z_nod,
106 int num_tetrahedrons,
const int *tetrahedron_index);
114 virtual void getGeometry(
int &num_nodes,
const float *&x_nod,
const float *&y_nod,
const float *&z_nod,
115 int &num_tetrahedrons,
const int *&tetrahedron_index)
const;
139 virtual void getGeometry(
int &num_nodes,
const float *&x_nod,
const float *&y_nod,
const float *&z_nod,
140 int &num_tetrahedrons,
const int **&tetrahedron_index)
const;
147 float getLongestEdgeLength();
159 void print(FILE *fp)
const;
162 virtual const PbCell *getTopoCell(
int cell_index)
const;
165 void updateCellBoundingBox()
const;
166 void updateOwnerCellsList()
const;
#define TRUE
Possible value of SbBool.
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 a volume mesh of...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Defines an tetrahedron c...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Defines a mesh of tetrah...
friend int operator!=(const PbTetrahedronMesh3D &m1, const PbTetrahedronMesh3D &m2)
Inequality comparison operator.
virtual SoDEPRECATED void getGeometry(int &num_nodes, const float *&x_nod, const float *&y_nod, const float *&z_nod, int &num_tetrahedrons, const int **&tetrahedron_index) const
Gets the current mesh geometry.
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 ...
PbTetrahedronMesh3D(const PbTetrahedronMesh3D &mesh)
Copy constructor.
PbTetrahedronMesh3D(SbBool isDataDuplicate=TRUE)
Constructor of a default simple mesh.
virtual const PbCell * getCell(int cell_index) const
Gets the cell which index is cell_index.
friend int operator==(const PbTetrahedronMesh3D &m1, const PbTetrahedronMesh3D &m2)
Equality comparison operator.
~PbTetrahedronMesh3D()
Destructor.
virtual void getGeometry(int &num_nodes, const float *&x_nod, const float *&y_nod, const float *&z_nod, int &num_tetrahedrons, const int *&tetrahedron_index) const
Gets the current mesh geometry.
PbTetrahedronMesh3D & operator=(const PbTetrahedronMesh3D &mesh)
Assignment operator.
virtual void setGeometry(int num_nodes, const float *x_nod, const float *y_nod, const float *z_nod, int num_tetrahedrons, const int *tetrahedron_index)
Sets a new geometry.
PbTetrahedronMesh3D(int num_nodes, const float *x_nod, const float *y_nod, const float *z_nod, int num_tetrahedrons, const int *tetrahedron_index, SbBool is_data_duplicate=TRUE)
Constructor of a volume mesh.
<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 ...