24#ifndef _PO_INDEXEDMESH2D_
25#define _PO_INDEXEDMESH2D_
27#include <MeshViz/nodes/PoMeshProperty.h>
28#include <MeshViz/fields/PoSFIndexedMesh2D.h>
68 void setGeometry(
int num_nodes,
const float *xn,
const float *yn,
69 int num_cells,
const int *cell_index,
const int *cell_type);
75 void setGeometry(
int num_nodes,
const float *xn,
const float *yn,
const float *zn,
76 int num_cells,
const int *cell_index,
const int *cell_type);
80 virtual void doAction(
SoAction *action) ;
83 static void initClass() ;
84 static void exitClass() ;
97 int num_cells,
const int *cell_index,
const int *cell_type)
105 int num_cells,
const int *cell_index,
const int *cell_type)
107 mesh.
setGeometry(num_nodes, xn,yn,zn, num_cells, cell_index,cell_type);
<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> Inventor node defining a...
void setGeometry(int num_nodes, const float *xn, const float *yn, int num_cells, const int *cell_index, const int *cell_type)
Convenience method to change the geometry of the mesh.
PoSFIndexedMesh2D mesh
Field containing a mesh of type PbIndexedMesh2D.
const PbMesh * getMesh() const
Gets the instance of the class PbIndexedMesh2D contained by the field mesh.
PoIndexedMesh2D()
Constructor.
<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> Inventor field containin...
const PbIndexedMesh2D & getValue() const
Returns this field's value.
void setGeometry(int num_nodes, const float *xn, const float *yn, int num_cells, const int *cell_index, const int *cell_type)
Convenience method to change the geometry of the mesh.
<a href="IconLegend.html"><img src="extMV.gif" alt="MeshViz" border="0"></a> Abstract Inventor field ...
Abstract base class for all actions.