24#ifndef _PO_TRIANGLEMESH2D_
25#define _PO_TRIANGLEMESH2D_
27#include <MeshViz/nodes/PoMeshProperty.h>
28#include <MeshViz/fields/PoSFTriangleMesh2D.h>
69 void setGeometry(
int numPoints,
const float *xPointsField,
const float *yPointsField) ;
75 void setGeometry(
int num_nodes,
const float *xn,
const float *yn,
76 int num_cells,
const int *cell_index);
82 void setGeometry(
int num_nodes,
const float *xn,
const float *yn,
const float *zn,
83 int num_cells,
const int *cell_index);
87 virtual void doAction(
SoAction *action) ;
90 static void initClass() ;
91 static void exitClass() ;
104 int num_cells,
const int *cell_index)
112 int num_cells,
const int *cell_index)
<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> Abstract Inventor node d...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Abstract Inventor field ...
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Inventor field containin...
void setGeometry(int num_nodes, const float *xn, const float *yn, int num_cells, const int *cell_index)
Convenience method to change the geometry of the mesh.
const PbTriangleMesh2D & getValue() const
Returns this field's value.
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Inventor node defining a...
const PbMesh * getMesh() const
Gets the instance of the class PbTriangleMesh2D contained by the field mesh.
void setGeometry(int numPoints, const float *xPointsField, const float *yPointsField)
Convenience method to set a new 2D geometry from a points field.
PoSFTriangleMesh2D mesh
Field containing a mesh of type PbTriangleMesh2D.
PoTriangleMesh2D()
Constructor.
Abstract base class for all actions.