24#ifndef _PB_POLARGRID2D_
25#define _PB_POLARGRID2D_
27#include <MeshViz/3Ddata/PbGrid2D.h>
74 PbPolarGrid2D(
int num_r,
int num_t,
const float *r,
const float *t,
const float *z,
SbBool isDataDuplicate=TRUE) ;
95 {
return !(m1 == m2); }
119 void meshContouring(PiContouring *_PiContouring,
const float *z)
const;
122 void getNodesCoord(
const float *z,
SoMFVec3f &vertices)
const;
124 void print(FILE *fp)
const;
127 void constructXYGeometry(
const float *rn,
const float *tn,
SbBool is_data_duplicate);
128 void setXYGeometry(
int num_r,
int num_t,
const float *x,
const float *y);
129 void getXYGeometry(
const float* &x,
const float* &y)
const;
134 void updateBoundingBox()
const;
<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...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Defines a polar grid sur...
PbPolarGrid2D(int num_r, int num_t, const float *r, const float *t, const float *z, SbBool isDataDuplicate=TRUE)
Constructor of a 3D surface mesh.
virtual SbVec3f getNodeCoord(int i, int j) const
Gets the coordinates of a node defined by its i,j indices on the grid.
~PbPolarGrid2D()
Destructor.
PbPolarGrid2D & operator=(const PbPolarGrid2D &mesh)
Assignment operator.
PbPolarGrid2D(SbBool isDataDuplicate=TRUE)
Constructor of a default simple mesh.
virtual const PbCell * getCell(int cell_index) const
Returns always NULL.
friend int operator!=(const PbPolarGrid2D &m1, const PbPolarGrid2D &m2)
Inequality comparison operator.
virtual SbVec3f getNodeCoord(int nod_index) const
Gets the coordinates of a node defined by its index on the grid.
friend int operator==(const PbPolarGrid2D &m1, const PbPolarGrid2D &m2)
Equality comparison operator.
PbPolarGrid2D(const PbPolarGrid2D &mesh)
Copy constructor.
PbPolarGrid2D(int num_r, int num_t, const float *r, const float *t, SbBool isDataDuplicate=TRUE)
Constructor of a 2D surface 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> 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.