24#ifndef _PB_CARTESIANGRID2D_
25#define _PB_CARTESIANGRID2D_
27#include <MeshViz/3Ddata/PbGrid2D.h>
94 {
return !(m1 == m2); }
100 void getGeometry(
int &num_x,
int &num_y,
const float** &xa,
const float** &ya)
const;
107 void getGeometry(
int &num_x,
int &num_y,
const float** &xa,
const float** &ya,
const float**&za)
const;
136 void meshContouring(PiContouring *_PiContouring,
const float *z)
const;
139 void getNodesCoord(
const float *z,
SoMFVec3f &vertices)
const;
141 void print(FILE *fp)
const;
147 void setXYGeometry(
int num_x,
int num_y,
const float *x,
const float *y);
148 void getXYGeometry(
const float* &x,
const float* &y)
const;
153 void updateBoundingBox()
const;
156 void constructXYGeometry(
const float *xn,
const float *yn,
SbBool is_data_duplicate);
DTEXT Dynamic array of int .
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Defines a cartesian grid...
friend int operator!=(const PbCartesianGrid2D &m1, const PbCartesianGrid2D &m2)
Inequality comparison operator.
PbCartesianGrid2D & operator=(const PbCartesianGrid2D &mesh)
Assignment operator.
PbCartesianGrid2D(const PbCartesianGrid2D &)
Copy constructor.
PbCartesianGrid2D(SbBool is_data_duplicated=TRUE)
Constructor of a default simple mesh.
void getGeometry(int &num_x, int &num_y, const float **&xa, const float **&ya, const float **&za) const
Gets the mesh 3D geometry.
~PbCartesianGrid2D()
Destructor.
virtual SbVec3f getNodeCoord(int i, int j) const
Gets the coordinates of a node defined by its i,j indices on the grid.
void getGeometry(int &num_x, int &num_y, const float **&xa, const float **&ya) const
Gets the mesh 2D geometry.
PbCartesianGrid2D(int num_x, int num_y, const float *x, const float *y, SbBool is_data_duplicated=TRUE)
Constructor of a 2D surface mesh.
virtual SbVec3f getNodeCoord(int nod_index) const
Gets the coordinates of a node defined by its index on the grid.
virtual const PbCell * getCell(int cell_index) const
Gets the cell which index is cell_index.
friend int operator==(const PbCartesianGrid2D &m1, const PbCartesianGrid2D &m2)
Equality comparison operator.
PbCartesianGrid2D(int num_x, int num_y, const float *x, const float *y, const float *z, SbBool is_data_duplicated=TRUE)
Constructor of a 3D surface mesh.
<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 abstract grid...
void getGeometry(int &num_x, int &num_y, const float *&x, const float *&y) const
Gets the mesh 2D geometry.
<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...
Multiple-value field containing any number of three-dimensional vectors.