|
Peano
|
This is the vertex writer you have to create to plot the vertices. More...
#include <VTUTextFileWriter.h>


Public Member Functions | |
| virtual | ~VertexWriter () |
| virtual int | plotVertex (const tarch::la::Vector< 2, double > &position) override |
| virtual int | plotVertex (const tarch::la::Vector< 3, double > &position) override |
| virtual void | close () override |
Private Member Functions | |
| VertexWriter (VTUTextFileWriter &writer, std::string datatype) | |
| VertexWriter (const VertexWriter &writer) | |
| Do not copy a vertex writer. | |
Private Attributes | |
| const std::string | _dataType |
| either "float" or "double" depending on _precision | |
| int | _currentVertexNumber |
| Counter for the vertices written. | |
| VTUTextFileWriter & | _myWriter |
| Underlying VTU writer. | |
| std::ostringstream | _out |
| Output stream. | |
Friends | |
| class | VTUTextFileWriter |
| The father class is a friend. | |
This is the vertex writer you have to create to plot the vertices.
Besides the pure syntax management, the writer also provides a number generator which provides you with a unique id for each vertex.
Please ensure that you call close() on the vertex writer before you close the underlying VTUTextFileWriter.
Definition at line 124 of file VTUTextFileWriter.h.
|
private |
|
private |
Do not copy a vertex writer.
Definition at line 156 of file VTUTextFileWriter.h.
References assertion.
|
virtual |
Reimplemented from tarch.plotter::griddata::unstructured::UnstructuredGridWriter::VertexWriter.
|
overridevirtual |
|
overridevirtual |
|
overridevirtual |
|
friend |
The father class is a friend.
There are no other friends.
Definition at line 130 of file VTUTextFileWriter.h.
|
private |
Counter for the vertices written.
Holds the maximum index.
Definition at line 139 of file VTUTextFileWriter.h.
|
private |
either "float" or "double" depending on _precision
Definition at line 134 of file VTUTextFileWriter.h.
|
private |
Underlying VTU writer.
Definition at line 144 of file VTUTextFileWriter.h.
|
private |
Output stream.
Definition at line 149 of file VTUTextFileWriter.h.