Version: 6.3.1
Public Types | Public Member Functions | Protected Attributes

VISU.TTMeshValueHolder< TValueType, TContainerType > Class Template Reference

Define a container to get access to data assigned to mesh.

#include <VISU_MeshValue.hxx>

Inheritance diagram for VISU.TTMeshValueHolder< TValueType, TContainerType >:
Inheritance graph

Public Types

typedef MED::TSlice< TValueType > TValueSlice
typedef MED::TCSlice< TValueType > TCValueSlice
typedef TVector< TCValueSliceTCValueSliceArr
typedef TVector< TValueSliceTValueSliceArr

Public Member Functions

void Init (vtkIdType theNbElem, vtkIdType theNbGauss, vtkIdType theNbComp, const TContainerType &theContainer)
 To initilize the class instance.
virtual const TValueType * GetPointer () const =0
virtual TValueType * GetPointer ()=0
TCValueSliceArr GetGaussValueSliceArr (vtkIdType theElemId) const
 To get assigned values first by Gauss Points and then by components (constant version)
TValueSliceArr GetGaussValueSliceArr (vtkIdType theElemId)
 To get assigned values first by Gauss Points and then by components.
TCValueSliceArr GetCompValueSliceArr (vtkIdType theElemId) const
 To get assigned values first by components and then by Gauss Points (constant version)
TValueSliceArr GetCompValueSliceArr (vtkIdType theElemId)
 To get assigned values first by components and then by Gauss Points.
virtual unsigned long int GetMemorySize () const
 Gets memory size used by the instance (bytes).
void Init (vtkIdType theNbElem, vtkIdType theNbGauss, vtkIdType theNbComp)
 To intitilize the data strucutre.
vtkIdType GetNbElem () const
 Gets number of mesh elements where the data assigned to.
vtkIdType GetNbComp () const
 Gets number of components of corresponding MED FIELD.
vtkIdType GetNbGauss () const
 Gets number of Gauss Points.
size_t size () const

Protected Attributes

TContainerType myContainer
 Keeps the mesh values container itself.
vtkIdType myNbElem
 Defines number of mesh elements where the data assigned to.
vtkIdType myNbComp
 Keeps number of components of corresponding MED FIELD.
vtkIdType myNbGauss
 Defines number of Gauss Points.
vtkIdType myStep
 Internal variable.

template<class TValueType, class TContainerType>
class VISU::TTMeshValueHolder< TValueType, TContainerType >


Member Typedef Documentation

template<class TValueType >
typedef MED::TSlice<TValueType> VISU.TTMeshValue< TValueType >.TValueSlice [inherited]
template<class TValueType >
typedef MED::TCSlice<TValueType> VISU.TTMeshValue< TValueType >.TCValueSlice [inherited]
template<class TValueType >
typedef TVector<TCValueSlice> VISU.TTMeshValue< TValueType >.TCValueSliceArr [inherited]
template<class TValueType >
typedef TVector<TValueSlice> VISU.TTMeshValue< TValueType >.TValueSliceArr [inherited]

Member Function Documentation

template<class TValueType, class TContainerType>
void VISU.TTMeshValueHolder< TValueType, TContainerType >.Init ( vtkIdType  theNbElem,
vtkIdType  theNbGauss,
vtkIdType  theNbComp,
const TContainerType &  theContainer 
)
template<class TValueType >
virtual const TValueType* VISU.TTMeshValue< TValueType >.GetPointer ( ) const [pure virtual, inherited]
template<class TValueType >
virtual TValueType* VISU.TTMeshValue< TValueType >.GetPointer ( ) [pure virtual, inherited]
template<class TValueType >
TCValueSliceArr VISU.TTMeshValue< TValueType >.GetGaussValueSliceArr ( vtkIdType  theElemId) const [inherited]
template<class TValueType >
TValueSliceArr VISU.TTMeshValue< TValueType >.GetGaussValueSliceArr ( vtkIdType  theElemId) [inherited]
template<class TValueType >
TCValueSliceArr VISU.TTMeshValue< TValueType >.GetCompValueSliceArr ( vtkIdType  theElemId) const [inherited]
template<class TValueType >
TValueSliceArr VISU.TTMeshValue< TValueType >.GetCompValueSliceArr ( vtkIdType  theElemId) [inherited]
template<class TValueType >
virtual unsigned long int VISU.TTMeshValue< TValueType >.GetMemorySize ( ) const [virtual, inherited]

Implements VISU.TMeshValueBase.

void VISU.TMeshValueBase::Init ( vtkIdType  theNbElem,
vtkIdType  theNbGauss,
vtkIdType  theNbComp 
) [inherited]
vtkIdType VISU.TMeshValueBase::GetNbElem ( ) const [inherited]
vtkIdType VISU.TMeshValueBase::GetNbComp ( ) const [inherited]
vtkIdType VISU.TMeshValueBase::GetNbGauss ( ) const [inherited]
size_t VISU.TMeshValueBase::size ( ) const [inherited]

Field Documentation

template<class TValueType, class TContainerType>
TContainerType VISU.TTMeshValueHolder< TValueType, TContainerType >.myContainer [mutable, protected]
vtkIdType VISU.TMeshValueBase.myNbElem [protected, inherited]
vtkIdType VISU.TMeshValueBase.myNbComp [protected, inherited]
vtkIdType VISU.TMeshValueBase.myNbGauss [protected, inherited]
vtkIdType VISU.TMeshValueBase.myStep [protected, inherited]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS