Go to the documentation of this file.
14 #ifndef ESYS_LSM_VTKUNSTRUCTUREDGRID_H
15 #define ESYS_LSM_VTKUNSTRUCTUREDGRID_H
33 template <
typename TmplPo
intType,
typename TmplPo
intDataTypeTuple>
58 oStream <<
"</Piece>";
87 <<
"<VTKFile type=\"UnstructuredGrid\" version=\"0.1\">\n"
88 <<
"<UnstructuredGrid>" << std::endl;
95 (*it)->writeXml(oStream);
98 oStream <<
"</UnstructuredGrid>\n";
99 oStream <<
"</VTKFile>";
std::string quote(const TmplType &thing)
Definition: VtkDataType.h:49
virtual void writeCellsXml(std::ostream &oStream)
Definition: VtkPiece.h:103
std::vector< XmlPiece * > PiecePtrVector
Definition: VtkUnstructuredGrid.h:67
TmplPointDataTypeTuple PointDataTypeTuple
Definition: VtkPiece.h:44
Inherited::PointType PointType
Definition: VtkUnstructuredGrid.h:38
Definition: VtkUnstructuredGrid.h:65
UnstructuredPiece(const PointType &pointType, const PointDataTypeTuple &pointDataType)
Definition: VtkUnstructuredGrid.h:43
Definition: VtkUnstructuredGrid.h:35
void addPiece(XmlPiece &piece)
Definition: VtkUnstructuredGrid.h:79
int getNumPoints() const
Definition: VtkPiece.h:77
Definition: CheckPointable.cpp:17
virtual void writeXml(std::ostream &oStream)
Definition: VtkUnstructuredGrid.h:48
Definition: VtkPiece.h:40
virtual void writePointsXml(std::ostream &oStream)
Definition: VtkPiece.h:89
virtual ~UnstructuredGrid()
Definition: VtkUnstructuredGrid.h:75
TmplPointType PointType
Definition: VtkPiece.h:42
Piece< TmplPointType, TmplPointDataTypeTuple > Inherited
Definition: VtkUnstructuredGrid.h:37
PointDataTypeTuple::DataValueTuple PointData
Definition: VtkPiece.h:45
UnstructuredGrid()
Definition: VtkUnstructuredGrid.h:70
virtual void writePointDataXml(std::ostream &oStream)
Definition: VtkPiece.h:96
virtual void writeCellDataXml(std::ostream &oStream)
Definition: VtkPiece.h:117
int getNumCells() const
Definition: VtkPiece.h:82
Inherited::PointValue PointValue
Definition: VtkUnstructuredGrid.h:39
virtual void writeXml(std::ostream &oStream)
Definition: VtkUnstructuredGrid.h:84
PiecePtrVector m_pieceVector
Definition: VtkUnstructuredGrid.h:102
Inherited::PointDataTypeTuple PointDataTypeTuple
Definition: VtkUnstructuredGrid.h:40
Inherited::PointData PointData
Definition: VtkUnstructuredGrid.h:41
Definition: VtkPiece.h:33