MbDataSetStorageI< _ScalarT, _Vec3T > Class Template Reference
[Mesh]

MeshViz class for meshI dataset. More...

#include <MeshVizXLM/mesh/data/MbDataSetStorageI.h>

Inheritance diagram for MbDataSetStorageI< _ScalarT, _Vec3T >:
MbLineMeshRegular< _CoordT, _ScalarT, _Vec3T > MbMesh< _CoordT, _ScalarT, _Vec3T > MbHexahedronMeshIjk< _CoordT, _ScalarT, _Vec3T, layout > MbLineMeshCurvilinear< _CoordT, _ScalarT, _Vec3T > MbLineMeshUnstructured< _CoordT, _ScalarT, _Vec3T > MbSurfaceMeshUnstructured< _CoordT, _ScalarT, _Vec3T > MbVolumeMeshUnstructured< _CoordT, _ScalarT, _Vec3T > MbSurfaceMeshPolygon< _CoordT, _ScalarT, _Vec3T > MbSurfaceMeshQuadrangle< _CoordT, _ScalarT, _Vec3T > MbSurfaceMeshTriangle< _CoordT, _ScalarT, _Vec3T > MbVolumeMeshHexahedron< _CoordT, _ScalarT, _Vec3T > MbVolumeMeshPolyhedron< _CoordT, _ScalarT, _Vec3T > MbVolumeMeshTetrahedron< _CoordT, _ScalarT, _Vec3T >

List of all members.

Public Member Functions

 MbDataSetStorageI ()
bool addScalarSet (const MbScalarSetI< _ScalarT > *scalarSet)
bool addVec3Set (const MbVec3SetI< _Vec3T > *vectorSet)
virtual const MbVec3SetI
< _Vec3T > * 
getVec3Set (size_t id) const
virtual const MbVec3SetI
< _Vec3T > * 
getVec3Set (std::string name) const
virtual const MbScalarSetI
< _ScalarT > * 
getScalarSet (size_t id) const
virtual const MbScalarSetI
< _ScalarT > * 
getScalarSet (std::string name) const



virtual size_t getNumVec3Sets () const
virtual size_t getNumScalarSets () const

Detailed Description

template<typename _ScalarT, typename _Vec3T>
class MbDataSetStorageI< _ScalarT, _Vec3T >

MeshViz class for meshI dataset.


Constructor & Destructor Documentation

template<typename _ScalarT , typename _Vec3T >
MbDataSetStorageI< _ScalarT, _Vec3T >::MbDataSetStorageI (  )  [inline]

Member Function Documentation

template<typename _ScalarT, typename _Vec3T >
bool MbDataSetStorageI< _ScalarT, _Vec3T >::addScalarSet ( const MbScalarSetI< _ScalarT > *  scalarSet  )  [inline]

Add the scalar data set to this mesh if a scalar data set with the same name is not already stored in this mesh.

The dataset are stored in a alphabetical order according to their name.

Returns:
false if the dataset is not added.
template<typename _ScalarT , typename _Vec3T>
bool MbDataSetStorageI< _ScalarT, _Vec3T >::addVec3Set ( const MbVec3SetI< _Vec3T > *  vectorSet  )  [inline]

Add the vector data set to this mesh if a vector data set with the same name is not already stored in this mesh.

The dataset are stored in a alphabetical order according to their name.

Returns:
false if the dataset is not added.
template<typename _ScalarT , typename _Vec3T >
size_t MbDataSetStorageI< _ScalarT, _Vec3T >::getNumScalarSets (  )  const [inline, virtual]

Gets the size of data sets.

template<typename _ScalarT , typename _Vec3T >
size_t MbDataSetStorageI< _ScalarT, _Vec3T >::getNumVec3Sets (  )  const [inline, virtual]

Gets the size of data sets.

template<typename _ScalarT , typename _Vec3T >
const MbScalarSetI< _ScalarT > * MbDataSetStorageI< _ScalarT, _Vec3T >::getScalarSet ( std::string  name  )  const [inline, virtual]

Get a scalar dataset according to its name.

Returns:
NULL if not found.
template<typename _ScalarT , typename _Vec3T >
const MbScalarSetI< _ScalarT > * MbDataSetStorageI< _ScalarT, _Vec3T >::getScalarSet ( size_t  id  )  const [inline, virtual]

Get a scalar dataset according to its alphabetical ordering number.

For instance getScalarSet(0) returns the first dataset in the alphabetical order.

Returns:
NULL if id >= getNumScalarSets().
template<typename _ScalarT , typename _Vec3T >
const MbVec3SetI< _Vec3T > * MbDataSetStorageI< _ScalarT, _Vec3T >::getVec3Set ( std::string  name  )  const [inline, virtual]

Get a vector dataset according to its name.

Returns:
NULL if not found.
template<typename _ScalarT , typename _Vec3T >
const MbVec3SetI< _Vec3T > * MbDataSetStorageI< _ScalarT, _Vec3T >::getVec3Set ( size_t  id  )  const [inline, virtual]

Get a vector dataset according to its alphabetical ordering number.

For instance getVec3Set(0) returns the first dataset in the alphabetical order.

Returns:
NULL if id >= getNumVec3Sets().

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

Open Inventor by FEI reference manual, generated on 19 Aug 2019
Copyright © FEI S.A.S. All rights reserved.
http://www.openinventor.com/