24#ifndef _PB_PARALCARTESIANGRID2D_
25#define _PB_PARALCARTESIANGRID2D_
99 {
return !(m1 == m2); }
145 void meshContouring(PiContouring *_PiContouring,
const float *z)
const;
148 void getNodesCoord(
const float *z,
SoMFVec3f &vertices)
const;
149 virtual SbBool hasSidesNormals()
const;
150 virtual void getSidesNormals(
SbVec3f *&normals,
153 void print(FILE *fp)
const;
156 void constructXYGeometry(
const float *xn,
const float *yn,
SbBool is_data_duplicate);
157 void setXYGeometry(
int num_x,
int num_y,
const float *x,
const float *y);
158 void getXYGeometry(
const float* &x,
const float* &y)
const;
163 void updateBoundingBox()
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 a cartesian grid...
<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 parallel carte...
virtual SbVec3f getNodeCoord(int i, int j) const
Gets the coordinates of a node defined by its i,j indices on the grid.
virtual const PbCell * findContainingCell(const SbVec3f &point, float tolerance, SbVec3f &pcoord, const PbCell *adjacent_cell) const
virtual float getArea() const
Gets the area of the mesh.
PbParalCartesianGrid2D(int num_x, int num_y, const float *x, const float *y, SbBool isDataDuplicate=TRUE)
Constructor of a 2D parallel grid mesh.
~PbParalCartesianGrid2D()
Destructor.
PbParalCartesianGrid2D(int num_x, int num_y, const float *x, const float *y, const float *z, SbBool isDataDuplicate=TRUE)
Constructor of a 3D parallel grid mesh.
PbParalCartesianGrid2D(const PbParalCartesianGrid2D &mesh)
Copy constructor.
friend int operator!=(const PbParalCartesianGrid2D &m1, const PbParalCartesianGrid2D &m2)
Inequality comparison operator.
PbParalCartesianGrid2D & operator=(const PbParalCartesianGrid2D &mesh)
Assignment operator.
virtual const PbCell * getCell(int cell_index) const
Gets the cell which index is cell_index.
virtual SbVec3f getNodeCoord(int nod_index) const
Gets the coordinates of a node defined by its index.
virtual const PbCell * findContainingCell(const SbVec3f &point, float tolerance, SbVec3f &pcoord) const
Find the mesh's cell that contains the point.
friend int operator==(const PbParalCartesianGrid2D &m1, const PbParalCartesianGrid2D &m2)
Equality comparison operator.
PbParalCartesianGrid2D(SbBool isDataDuplicate=TRUE)
Constructor of a default simple mesh.
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Defines a pixel cell of ...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Defines a quadrangle cel...
<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> Filled representation of...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Representation of the ed...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Class to build the sides...
Multiple-value field containing any number of three-dimensional vectors.