PoSFMesh Class Reference
[Fields]

MeshViz Abstract Inventor field defining a mesh. More...

#include <MeshViz/fields/PoSFMesh.h>

Inheritance diagram for PoSFMesh:
SoSField SoField SoTypedObject PoSFCartesianGrid2D PoSFCartesianGrid3D PoSFHexahedronMesh3D PoSFIndexedMesh2D PoSFIndexedMesh3D PoSFIrregularMesh1D PoSFParalCartesianGrid2D PoSFParalCartesianGrid3D PoSFPolarGrid2D PoSFQuadrangleMesh2D PoSFRegularCartesianGrid2D PoSFRegularCartesianGrid3D PoSFRegularMesh1D PoSFTetrahedronMesh3D PoSFTriangleMesh2D

List of all members.

Public Member Functions

virtual SoType getTypeId () const
void addValuesSet (int index, const float *val, const SbString &setName="")
void addValuesSet (int index, const float *val, PoMeshProperty::DataBinding binding, const SbString &setName="")
void addStringsSet (int index, const SbString *val, const SbString &setName="")
void addVecsSet (int index, const SbVec3f *val, const SbString &setName="")

Static Public Member Functions

static SoType getClassTypeId ()

Detailed Description

MeshViz Abstract Inventor field defining a mesh.

The derived classes of this field contain an instance of class derived from PbMesh.


Member Function Documentation

void PoSFMesh::addStringsSet ( int  index,
const SbString val,
const SbString setName = "" 
)

Convenience methods that adds a set of strings values to the internal PbMesh object.

void PoSFMesh::addValuesSet ( int  index,
const float *  val,
PoMeshProperty::DataBinding  binding,
const SbString setName = "" 
)

Adds a set of scalar values that can be located either at nodes or at cells.

Parameters:
index the index of the new set added.
val the array of values. Its size must be either the number of nodes or the number of cells depending on the binding argument.
binding specifies the location of the values.
setName string associated with this set of values.
See also:
PbMesh::addValuesSet().

NOTE: This method must be called after a setGeometry method because the size of the argument val is determined by the number of nodes in the mesh. The setGeometry methods are defined in subclasses of PoSFMesh.

void PoSFMesh::addValuesSet ( int  index,
const float *  val,
const SbString setName = "" 
)

Convenience method that adds a set of scalar values to the internal PbMesh object.



NOTE: This method must be called after a setGeometry method because the size of the argument val is determined by the number of nodes in the mesh. The setGeometry methods are defined in subclasses of PoSFMesh.

void PoSFMesh::addVecsSet ( int  index,
const SbVec3f val,
const SbString setName = "" 
)

Convenience methods that adds a set of vector values to the internal PbMesh object.

static SoType PoSFMesh::getClassTypeId (  )  [static]
virtual SoType PoSFMesh::getTypeId (  )  const [virtual]

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/