Programming tasks to Scientific Computing I
|
#include <legacyVtkWriter.h>
Classes | |
struct | ScalarData |
struct | VectorData |
Public Types | |
typedef MeshType::RealType | RealType |
typedef MeshType::Point3DType | Point3DType |
typedef MeshType::Indices3DType | Indices3DType |
typedef MeshType::VectorType | VectorType |
Public Member Functions | |
LegacyVtkWriter (const MeshType &mesh) | |
LegacyVtkWriter (const MeshType &mesh, int precision) | |
LegacyVtkWriter & | addScalarData (const VectorType &data, string dataDescr, DataSupp supp) |
LegacyVtkWriter & | addVectorData (const VectorType &data, const int numComponents, string dataDescr, DataSupp supp, VectorSpec vSpec=VECTORS) |
void | setPrecisionTo (int prec) |
set precision in saving methods More... | |
void | save (string filename) const |
Protected Attributes | |
std::vector< ScalarData > | _scalarVertexData |
std::vector< VectorData > | _vectorVertexData |
std::vector< ScalarData > | _scalarFaceData |
std::vector< VectorData > | _vectorFaceData |
const MeshType | _mesh |
int | _precision |
Use this class like: aol::LegacyVtkWriter<> ( mesh ) -> .addData ( result, "color", VERTEX_DATA ) -> .saveAsLegacyVTK ( "result.vtk" ); This class is a container for a mesh plus data vectors on vertices and faces. We will not store any of the data vectors here, but only keep pointers to them.
Definition at line 14 of file legacyVtkWriter.h.
typedef MeshType::Indices3DType shellFE::LegacyVtkWriter< MeshType >::Indices3DType |
Definition at line 18 of file legacyVtkWriter.h.
typedef MeshType::Point3DType shellFE::LegacyVtkWriter< MeshType >::Point3DType |
Definition at line 17 of file legacyVtkWriter.h.
typedef MeshType::RealType shellFE::LegacyVtkWriter< MeshType >::RealType |
Definition at line 16 of file legacyVtkWriter.h.
typedef MeshType::VectorType shellFE::LegacyVtkWriter< MeshType >::VectorType |
Definition at line 19 of file legacyVtkWriter.h.
|
inline |
Definition at line 21 of file legacyVtkWriter.h.
|
inline |
Definition at line 22 of file legacyVtkWriter.h.
|
inline |
Definition at line 24 of file legacyVtkWriter.h.
|
inline |
Definition at line 45 of file legacyVtkWriter.h.
|
inline |
Definition at line 65 of file legacyVtkWriter.h.
|
inline |
|
protected |
Definition at line 146 of file legacyVtkWriter.h.
|
protected |
Definition at line 147 of file legacyVtkWriter.h.
|
protected |
Definition at line 143 of file legacyVtkWriter.h.
|
protected |
Definition at line 141 of file legacyVtkWriter.h.
|
protected |
Definition at line 144 of file legacyVtkWriter.h.
|
protected |
Definition at line 142 of file legacyVtkWriter.h.