Peano
Loading...
Searching...
No Matches
tarch.plotter::pointdata::PointWriter::PointDataWriter Class Referenceabstract

A writer to assign points a value. More...

#include <PointWriter.h>

Inheritance diagram for tarch.plotter::pointdata::PointWriter::PointDataWriter:

Public Member Functions

virtual ~PointDataWriter ()
 
virtual void plot (int index, double value)=0
 Write data for one point.
 
virtual void plot (int index, const tarch::la::Vector< 1, double > &value)=0
 
virtual void plot (int index, const tarch::la::Vector< 2, double > &value)=0
 
virtual void plot (int index, const tarch::la::Vector< 3, double > &value)=0
 
virtual void plot (int index, double *values, int numberOfValues)=0
 
virtual void close ()=0
 If you close your writer, each point has to be assigned a value, i.e.
 
virtual void assignRemainingPointsDefaultValues ()=0
 

Detailed Description

A writer to assign points a value.

Definition at line 50 of file PointWriter.h.

Constructor & Destructor Documentation

◆ ~PointDataWriter()

virtual tarch.plotter::pointdata::PointWriter::PointDataWriter::~PointDataWriter ( )
virtual

Reimplemented in tarch.plotter::pointdata::vtk::VTKWriter::PointDataWriter.

Definition at line 52 of file PointWriter.h.

Member Function Documentation

◆ assignRemainingPointsDefaultValues()

virtual void tarch.plotter::pointdata::PointWriter::PointDataWriter::assignRemainingPointsDefaultValues ( )
pure virtual

◆ close()

virtual void tarch.plotter::pointdata::PointWriter::PointDataWriter::close ( )
pure virtual

If you close your writer, each point has to be assigned a value, i.e.

you may not add less data than you have points.

Implemented in tarch.plotter::pointdata::vtk::VTKWriter::PointDataWriter.

◆ plot() [1/5]

virtual void tarch.plotter::pointdata::PointWriter::PointDataWriter::plot ( int  index,
const tarch::la::Vector< 1, double > &  value 
)
pure virtual

◆ plot() [2/5]

virtual void tarch.plotter::pointdata::PointWriter::PointDataWriter::plot ( int  index,
const tarch::la::Vector< 2, double > &  value 
)
pure virtual

◆ plot() [3/5]

virtual void tarch.plotter::pointdata::PointWriter::PointDataWriter::plot ( int  index,
const tarch::la::Vector< 3, double > &  value 
)
pure virtual

◆ plot() [4/5]

virtual void tarch.plotter::pointdata::PointWriter::PointDataWriter::plot ( int  index,
double *  values,
int  numberOfValues 
)
pure virtual

◆ plot() [5/5]

virtual void tarch.plotter::pointdata::PointWriter::PointDataWriter::plot ( int  index,
double  value 
)
pure virtual

Write data for one point.

Parameters
indexIndex of the point. This index has to equal the index used for the point.
valueValue for the point.

Implemented in tarch.plotter::pointdata::vtk::VTKWriter::PointDataWriter.


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