Base class for all basic mesh implementation.
More...
#include <MeshVizXLM/mesh/mesh/MbMeshIj.h>
Public Member Functions | |
virtual const MiTopologyIj & | getTopology () const |
void | setDeadCell (size_t i, size_t j, bool isDead=true) |
bool | addScalarSet (const MbScalarSetIj< _ScalarT > *scalarSet) |
bool | addVec3Set (const MbVec3SetIj< _Vec3T > *vectorSet) |
virtual const MbVec3SetIj < _Vec3T > * | getVec3Set (size_t id) const |
virtual const MbVec3SetIj < _Vec3T > * | getVec3Set (std::string name) const |
virtual const MbScalarSetIj < _ScalarT > * | getScalarSet (size_t id) const |
virtual const MbScalarSetIj < _ScalarT > * | getScalarSet (std::string name) const |
| |
virtual size_t | getNumVec3Sets () const |
virtual size_t | getNumScalarSets () const |
virtual size_t | getNumMaterialSets () const |
bool MbMeshIj< _ScalarT, _Vec3T >::addScalarSet | ( | const MbScalarSetIj< _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 MbMeshIj< _ScalarT, _Vec3T >::addVec3Set | ( | const MbVec3SetIj< _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 MbMeshIj< _ScalarT, _Vec3T >::getNumMaterialSets | ( | ) | const [inline, virtual] |
Get the size of data sets.
size_t MbMeshIj< _ScalarT, _Vec3T >::getNumScalarSets | ( | ) | const [inline, virtual] |
Get the size of data sets.
size_t MbMeshIj< _ScalarT, _Vec3T >::getNumVec3Sets | ( | ) | const [inline, virtual] |
Get the size of data sets.
const MbScalarSetIj< _ScalarT > * MbMeshIj< _ScalarT, _Vec3T >::getScalarSet | ( | std::string | name | ) | const [inline, virtual] |
Get a scalar dataset according to its name.
const MbScalarSetIj< _ScalarT > * MbMeshIj< _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 MiTopologyIj & MbMeshIj< _ScalarT, _Vec3T >::getTopology | ( | ) | const [inline, virtual] |
Returns the topology of this mesh.
Implements MiMeshIj.
const MbVec3SetIj< _Vec3T > * MbMeshIj< _ScalarT, _Vec3T >::getVec3Set | ( | std::string | name | ) | const [inline, virtual] |
Get a vector dataset according to its name.
const MbVec3SetIj< _Vec3T > * MbMeshIj< _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.
void MbMeshIj< _ScalarT, _Vec3T >::setDeadCell | ( | size_t | i, | |
size_t | j, | |||
bool | isDead = true | |||
) | [inline] |
Defines dead cells.