PoTriangleMesh2D Class Reference
[Property/Data]

MeshViz Inventor node defining a mesh of type PbTriangleMesh2D. More...

#include <MeshViz/nodes/PoTriangleMesh2D.h>

Inheritance diagram for PoTriangleMesh2D:
PoMeshProperty PoNode SoNode SoFieldContainer SoBase SoRefCounter SoTypedObject

List of all members.

Public Member Functions

virtual SoType getTypeId () const
 PoTriangleMesh2D ()
const PbMeshgetMesh () const
void setGeometry (int numPoints, const float *xPointsField, const float *yPointsField)
void setGeometry (int num_nodes, const float *xn, const float *yn, int num_cells, const int *cell_index)
void setGeometry (int num_nodes, const float *xn, const float *yn, const float *zn, int num_cells, const int *cell_index)

Static Public Member Functions

static SoType getClassTypeId ()

Public Attributes

PoSFTriangleMesh2D mesh

Detailed Description

MeshViz Inventor node defining a mesh of type PbTriangleMesh2D.


Constructor & Destructor Documentation

PoTriangleMesh2D::PoTriangleMesh2D (  ) 

Constructor.


Member Function Documentation

static SoType PoTriangleMesh2D::getClassTypeId (  )  [static]

Returns the type identifier for this class.

Reimplemented from PoMeshProperty.

const PbMesh* PoTriangleMesh2D::getMesh (  )  const [inline, virtual]

Gets the instance of the class PbTriangleMesh2D contained by the field mesh.

Implements PoMeshProperty.

virtual SoType PoTriangleMesh2D::getTypeId (  )  const [virtual]

Returns the type identifier for this specific instance.

Reimplemented from PoMeshProperty.

void PoTriangleMesh2D::setGeometry ( int  num_nodes,
const float *  xn,
const float *  yn,
const float *  zn,
int  num_cells,
const int *  cell_index 
) [inline]

Convenience method to change the geometry of the mesh.

Defines a 3D geometry. See also PbTriangleMesh2D::setGeometry().

void PoTriangleMesh2D::setGeometry ( int  num_nodes,
const float *  xn,
const float *  yn,
int  num_cells,
const int *  cell_index 
) [inline]

Convenience method to change the geometry of the mesh.

Defines a 2D geometry. See also PbTriangleMesh2D::setGeometry().

void PoTriangleMesh2D::setGeometry ( int  numPoints,
const float *  xPointsField,
const float *  yPointsField 
) [inline]

Convenience method to set a new 2D geometry from a points field.

The triangulation is realized by the DELAUNAY method. See also PbTriangleMesh2D::setGeometry().


Member Data Documentation

Field containing a mesh of type PbTriangleMesh2D.


The documentation for this class was generated from the following file:

Open Inventor Toolkit reference manual, generated on 15 Mar 2023
Copyright © Thermo Fisher Scientific All rights reserved.
http://www.openinventor.com/