14 #ifndef ESYS_LSM_VTKUNSTRUCTUREDGRID_H
15 #define ESYS_LSM_VTKUNSTRUCTUREDGRID_H
33 template <
typename TmplPo
intType,
typename TmplPo
intDataTypeTuple>
44 : Inherited(pointType, pointDataType)
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>";
virtual void writeXml(std::ostream &oStream)
Definition: VtkUnstructuredGrid.h:84
int getNumPoints() const
Definition: VtkPiece.h:77
virtual void writeCellsXml(std::ostream &oStream)
Definition: VtkPiece.h:103
virtual void writeXml(std::ostream &oStream)
Definition: VtkUnstructuredGrid.h:48
int getNumCells() const
Definition: VtkPiece.h:82
TmplPointType PointType
Definition: VtkPiece.h:42
Inherited::PointDataTypeTuple PointDataTypeTuple
Definition: VtkUnstructuredGrid.h:40
Definition: CheckPointable.cpp:16
PointDataTypeTuple::DataValueTuple PointData
Definition: VtkPiece.h:45
virtual void writeCellDataXml(std::ostream &oStream)
Definition: VtkPiece.h:117
void addPiece(XmlPiece &piece)
Definition: VtkUnstructuredGrid.h:79
Definition: VtkUnstructuredGrid.h:64
virtual void writePointDataXml(std::ostream &oStream)
Definition: VtkPiece.h:96
Piece< TmplPointType, TmplPointDataTypeTuple > Inherited
Definition: VtkUnstructuredGrid.h:37
Definition: VtkPiece.h:39
std::string quote(const TmplType &thing)
Definition: VtkDataType.h:49
virtual void writePointsXml(std::ostream &oStream)
Definition: VtkPiece.h:89
Definition: VtkUnstructuredGrid.h:34
Definition: VtkPiece.h:32
Inherited::PointValue PointValue
Definition: VtkUnstructuredGrid.h:39
TmplPointDataTypeTuple PointDataTypeTuple
Definition: VtkPiece.h:44
std::vector< XmlPiece * > PiecePtrVector
Definition: VtkUnstructuredGrid.h:67
Inherited::PointType PointType
Definition: VtkUnstructuredGrid.h:38
UnstructuredPiece(const PointType &pointType, const PointDataTypeTuple &pointDataType)
Definition: VtkUnstructuredGrid.h:43
Inherited::PointData PointData
Definition: VtkUnstructuredGrid.h:41
virtual ~UnstructuredGrid()
Definition: VtkUnstructuredGrid.h:75
PiecePtrVector m_pieceVector
Definition: VtkUnstructuredGrid.h:102
UnstructuredGrid()
Definition: VtkUnstructuredGrid.h:70