ESyS-Particle  2.3.2
esys::lsm::vtk::Piece< TmplPointType, TmplPointDataTypeTuple > Class Template Reference

#include <VtkPiece.h>

Inheritance diagram for esys::lsm::vtk::Piece< TmplPointType, TmplPointDataTypeTuple >:
Collaboration diagram for esys::lsm::vtk::Piece< TmplPointType, TmplPointDataTypeTuple >:

Public Types

typedef TmplPointType PointType
typedef PointType::value_type PointValue
typedef TmplPointDataTypeTuple PointDataTypeTuple
typedef
PointDataTypeTuple::DataValueTuple 
PointData

Public Member Functions

 Piece (const PointType &pointType, const PointDataTypeTuple &pointDataType)
virtual ~Piece ()
int getIndex (const PointValue &point) const
void setPoint (const PointValue &point, const PointData &data)
int getNumPoints () const
int getNumCells () const
virtual void writeXml (std::ostream &oStream)=0
virtual void writePointsXml (std::ostream &oStream)
virtual void writePointDataXml (std::ostream &oStream)
virtual void writeCellsXml (std::ostream &oStream)
virtual void writeCellDataXml (std::ostream &oStream)

Private Types

typedef DataArray< PointTypePointValueArray
typedef std::map< PointValue, int > PointIndexMap

Private Attributes

PointDataTypeTuple m_pointData
PointValueArray m_pointValueArray
PointIndexMap m_pointIndexMap

Member Typedef Documentation

template<typename TmplPointType , typename TmplPointDataTypeTuple >
typedef PointDataTypeTuple::DataValueTuple esys::lsm::vtk::Piece< TmplPointType, TmplPointDataTypeTuple >::PointData
template<typename TmplPointType , typename TmplPointDataTypeTuple >
typedef TmplPointDataTypeTuple esys::lsm::vtk::Piece< TmplPointType, TmplPointDataTypeTuple >::PointDataTypeTuple
template<typename TmplPointType , typename TmplPointDataTypeTuple >
typedef std::map<PointValue, int> esys::lsm::vtk::Piece< TmplPointType, TmplPointDataTypeTuple >::PointIndexMap
private
template<typename TmplPointType , typename TmplPointDataTypeTuple >
typedef TmplPointType esys::lsm::vtk::Piece< TmplPointType, TmplPointDataTypeTuple >::PointType
template<typename TmplPointType , typename TmplPointDataTypeTuple >
typedef PointType::value_type esys::lsm::vtk::Piece< TmplPointType, TmplPointDataTypeTuple >::PointValue
template<typename TmplPointType , typename TmplPointDataTypeTuple >
typedef DataArray<PointType> esys::lsm::vtk::Piece< TmplPointType, TmplPointDataTypeTuple >::PointValueArray
private

Constructor & Destructor Documentation

template<typename TmplPointType , typename TmplPointDataTypeTuple >
esys::lsm::vtk::Piece< TmplPointType, TmplPointDataTypeTuple >::Piece ( const PointType pointType,
const PointDataTypeTuple pointDataType 
)
inline
template<typename TmplPointType , typename TmplPointDataTypeTuple >
virtual esys::lsm::vtk::Piece< TmplPointType, TmplPointDataTypeTuple >::~Piece ( )
inlinevirtual

Member Function Documentation

template<typename TmplPointType , typename TmplPointDataTypeTuple >
int esys::lsm::vtk::Piece< TmplPointType, TmplPointDataTypeTuple >::getIndex ( const PointValue point) const
inline
template<typename TmplPointType , typename TmplPointDataTypeTuple >
int esys::lsm::vtk::Piece< TmplPointType, TmplPointDataTypeTuple >::getNumCells ( ) const
inline

Referenced by esys::lsm::vtk::UnstructuredPiece< TmplPointType, TmplPointDataTypeTuple >::writeXml().

Here is the caller graph for this function:

template<typename TmplPointType , typename TmplPointDataTypeTuple >
int esys::lsm::vtk::Piece< TmplPointType, TmplPointDataTypeTuple >::getNumPoints ( ) const
inline
template<typename TmplPointType , typename TmplPointDataTypeTuple >
virtual void esys::lsm::vtk::Piece< TmplPointType, TmplPointDataTypeTuple >::writeCellDataXml ( std::ostream &  oStream)
inlinevirtual
template<typename TmplPointType , typename TmplPointDataTypeTuple >
virtual void esys::lsm::vtk::Piece< TmplPointType, TmplPointDataTypeTuple >::writeCellsXml ( std::ostream &  oStream)
inlinevirtual

References esys::lsm::vtk::DataArray< TmplDataType >::writeXml().

Referenced by esys::lsm::vtk::UnstructuredPiece< TmplPointType, TmplPointDataTypeTuple >::writeXml().

Here is the call graph for this function:

Here is the caller graph for this function:

template<typename TmplPointType , typename TmplPointDataTypeTuple >
virtual void esys::lsm::vtk::Piece< TmplPointType, TmplPointDataTypeTuple >::writePointDataXml ( std::ostream &  oStream)
inlinevirtual
template<typename TmplPointType , typename TmplPointDataTypeTuple >
virtual void esys::lsm::vtk::Piece< TmplPointType, TmplPointDataTypeTuple >::writePointsXml ( std::ostream &  oStream)
inlinevirtual
template<typename TmplPointType , typename TmplPointDataTypeTuple >
virtual void esys::lsm::vtk::Piece< TmplPointType, TmplPointDataTypeTuple >::writeXml ( std::ostream &  oStream)
pure virtual

Member Data Documentation

template<typename TmplPointType , typename TmplPointDataTypeTuple >
PointDataTypeTuple esys::lsm::vtk::Piece< TmplPointType, TmplPointDataTypeTuple >::m_pointData
private
template<typename TmplPointType , typename TmplPointDataTypeTuple >
PointIndexMap esys::lsm::vtk::Piece< TmplPointType, TmplPointDataTypeTuple >::m_pointIndexMap
private

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