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

MeshViz Base class for all basic mesh implementation. More...

#include <MeshVizXLM/mesh/mesh/MbMeshIj.h>

Inheritance diagram for MbMeshIj< _ScalarT, _Vec3T >:
MiMeshIj MiMesh MbSurfaceMeshCurvilinear< _CoordT, _ScalarT, _Vec3T > MbSurfaceMeshRectilinear< _CoordT, _ScalarT, _Vec3T > MbSurfaceMeshRegular< _CoordT, _ScalarT, _Vec3T >

List of all members.

Public Member Functions

virtual const MiTopologyIjgetTopology () 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

Detailed Description

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

MeshViz Base class for all basic mesh implementation.


Member Function Documentation

template<typename _ScalarT, typename _Vec3T >
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.

Returns:
false if the dataset is not added.
template<typename _ScalarT , typename _Vec3T>
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.

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

Get the size of data sets.

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

Get the size of data sets.

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

Get the size of data sets.

template<typename _ScalarT , typename _Vec3T >
const MbScalarSetIj< _ScalarT > * MbMeshIj< _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 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.

Returns:
NULL if id >= getNumScalarSets().
template<typename _ScalarT , typename _Vec3T >
const MiTopologyIj & MbMeshIj< _ScalarT, _Vec3T >::getTopology (  )  const [inline, virtual]

Returns the topology of this mesh.

Implements MiMeshIj.

template<typename _ScalarT , typename _Vec3T >
const MbVec3SetIj< _Vec3T > * MbMeshIj< _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 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.

Returns:
NULL if id >= getNumVec3Sets().
template<typename _ScalarT, typename _Vec3T>
void MbMeshIj< _ScalarT, _Vec3T >::setDeadCell ( size_t  i,
size_t  j,
bool  isDead = true 
) [inline]

Defines dead cells.


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/