last update 20 Sep 2009 |
#include <cvrViewer2D.h>
Public Member Functions | |
parameters () | |
parameters (const parameters &other) | |
virtual | ~parameters () |
parameters & | copy (const parameters &other) |
parameters & | operator= (const parameters &other) |
virtual const std::string & | name () const |
virtual parameters * | clone () const |
virtual parameters * | newInstance () const |
virtual bool | write (ioHandler &handler, const bool complete=true) const |
virtual bool | read (ioHandler &handler, const bool complete=true) |
Public Attributes | |
std::string | filename |
There are other parameters that configure options about the image painting, which depend on the lower classes. The former are inherited from viewerBase::parameters, the latter from viewer2DPainter::parameters.
cvr::viewer2D::viewer2D::parameters::parameters | ( | ) |
cvr::viewer2D::viewer2D::parameters::parameters | ( | const parameters & | other | ) |
virtual cvr::viewer2D::viewer2D::parameters::~parameters | ( | ) | [virtual] |
virtual parameters* cvr::viewer2D::viewer2D::parameters::clone | ( | ) | const [virtual] |
Returns a pointer to a clone of the parameters.
Reimplemented from cvr::viewer2DPainter::viewer2DPainter::parameters.
parameters& cvr::viewer2D::viewer2D::parameters::copy | ( | const parameters & | other | ) |
virtual const std::string& cvr::viewer2D::viewer2D::parameters::name | ( | ) | const [virtual] |
Returns the name of this class.
Reimplemented from cvr::viewer2DPainter::viewer2DPainter::parameters.
virtual parameters* cvr::viewer2D::viewer2D::parameters::newInstance | ( | ) | const [virtual] |
Returns a pointer to a clone of the parameters.
Reimplemented from cvr::viewer2DPainter::viewer2DPainter::parameters.
parameters& cvr::viewer2D::viewer2D::parameters::operator= | ( | const parameters & | other | ) |
virtual bool cvr::viewer2D::viewer2D::parameters::read | ( | ioHandler & | handler, | |
const bool | complete = true | |||
) | [virtual] |
Read the parameters from the given ioHandler.
handler | the ioHandler to be used | |
complete | if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written. |
Reimplemented from cvr::viewer2DPainter::viewer2DPainter::parameters.
virtual bool cvr::viewer2D::viewer2D::parameters::write | ( | ioHandler & | handler, | |
const bool | complete = true | |||
) | const [virtual] |
Write the parameters in the given ioHandler.
handler | the ioHandler to be used | |
complete | if true (the default) the enclosing begin/end will be also written, otherwise only the data block will be written. |
Reimplemented from cvr::viewer2DPainter::viewer2DPainter::parameters.
std::string cvr::viewer2D::viewer2D::parameters::filename |
Filename used to save the images.
Default value: tux.png