class for meshI dataset.
More...
#include <MeshVizXLM/mesh/data/MbDataSetStorageI.h>
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 |
MbDataSetStorageI< _ScalarT, _Vec3T >::MbDataSetStorageI | ( | ) | [inline] |
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.
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.
size_t MbDataSetStorageI< _ScalarT, _Vec3T >::getNumScalarSets | ( | ) | const [inline, virtual] |
Gets the size of data sets.
size_t MbDataSetStorageI< _ScalarT, _Vec3T >::getNumVec3Sets | ( | ) | const [inline, virtual] |
Gets the size of data sets.
const MbScalarSetI< _ScalarT > * MbDataSetStorageI< _ScalarT, _Vec3T >::getScalarSet | ( | std::string | name | ) | const [inline, virtual] |
Get a scalar dataset according to its name.
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.
const MbVec3SetI< _Vec3T > * MbDataSetStorageI< _ScalarT, _Vec3T >::getVec3Set | ( | std::string | name | ) | const [inline, virtual] |
Get a vector dataset according to its name.
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.