27#include <MeshViz/3Ddata/PbCell.h>
90 void getBounds(
float &xmin,
float &ymin,
float &zmin,
91 float &xmax,
float &ymax,
float &zmax)
const;
169 SbBool set(
int index,
int *node_ids,
170 float x_min,
float y_min,
171 float x_max,
float y_max);
173 void print(FILE *fp)
const;
177 return c_edgeNodes[edge];
183 virtual unsigned char getIsosurfCaseId(SbBoolVector &nodes_sign)
const;
190 float m_xmin,m_ymin, m_xmax,m_ymax, m_dx,m_dy;
192 static int c_edgeNodes[4][2];
197PbPixelCell::getIsosurfCaseId(SbBoolVector &)
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 abstract mesh...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Defines a pixel cell of ...
float getArea() const
Gets the area of a cell.
PbPixelCell(const PbPixelCell &cell)
Copy constructor.
virtual void getWeight(const SbVec3f &pcoord, float *weight) const
Gets the 4 weights of a point defined by its parametric coordinates.
float getLongestEdgeLength() const
Gets the length of the longest edge of the cell.
virtual void getNodesIndexOfEdge(int edge, PbArrayOfInt &nodes_index) const
Gets the array of 2 index mesh's nodes that belongs to a given edge of this cell.
PbPixelCell & operator=(const PbPixelCell &cell)
Assignment operator.
virtual void getNodesIndexOfFacet(int facet, PbArrayOfInt &nodes_index) const
Gets the array of index mesh's nodes that belongs to a given facet of this cell.
float getValue(const SbVec3f &pcoord, const float *s) const
Get the scalar value of a point in the cell.
void getBounds(float &xmin, float &ymin, float &zmin, float &xmax, float &ymax, float &zmax) const
Gets the cell's bounds.
virtual int locatePoint(const SbVec3f &coord, float tolerance, SbVec3f &pcoord) const
Returns 1 if the point is inside the cell, 0 otherwise.
~PbPixelCell()
Destructor.
SbBox3f getBoundingBox() const
Gets the cell's bounding box.
PbPixelCell(const PbMesh *owner_mesh)
Constructor of a default simple cell.
SbVec3f getCenter() const
Gets the cell's geometric center.
virtual void getNodesLocalIndexOfEdge(int edge, PbArrayOfInt &nodes_index) const
Gets the array of 2 nodes index that belongs to a given edge of this cell.
SbVec3f getValue(const SbVec3f &pcoord, const SbVec3f *v) const
Get the vector value of a point in the cell.
float getVolume() const
Returns always 0.
virtual void getNodesLocalIndexOfFacet(int facet, PbArrayOfInt &nodes_index) const
Gets the array of node index that belongs to a given facet of this cell.