latest version v1.9 - last update 10 Apr 2010 |
Base class for all lti parameter objects. More...
#include <ltiViewerBase.h>
Public Member Functions | |
parameters () | |
parameters (const parameters &other) | |
virtual | ~parameters () |
parameters & | copy (const parameters &other) |
parameters & | operator= (const parameters &other) |
virtual functor::parameters * | clone () const |
const char * | getTypeName () const |
virtual bool | write (ioHandler &handler, const bool complete=true) const |
virtual bool | read (ioHandler &handler, const bool complete=true) |
Public Attributes | |
std::string | title |
Base class for all lti parameter objects.
lti::viewerBase::parameters::parameters | ( | ) |
default constructor
Reimplemented from lti::functor::parameters.
Reimplemented in lti::externViewer::parameters, lti::histogramViewer::parameters, lti::scene3DViewer::parameters, lti::viewer::parameters, and lti::viewerBase3D::parameters.
lti::viewerBase::parameters::parameters | ( | const parameters & | other | ) |
copy constructor
Reimplemented from lti::functor::parameters.
Reimplemented in lti::externViewer::parameters, lti::histogramViewer::parameters, lti::scene3DViewer::parameters, and lti::viewer::parameters.
virtual lti::viewerBase::parameters::~parameters | ( | ) | [virtual] |
destructor
Reimplemented from lti::functor::parameters.
Reimplemented in lti::externViewer::parameters, lti::histogramViewer::parameters, lti::scene3DViewer::parameters, lti::viewer::parameters, and lti::viewerBase3D::parameters.
virtual functor::parameters* lti::viewerBase::parameters::clone | ( | ) | const [virtual] |
returns a pointer to a clone of the parameters.
Implements lti::functor::parameters.
Reimplemented in lti::externViewer::parameters, lti::histogramViewer::parameters, lti::scene3DViewer::parameters, lti::viewer::parameters, and lti::viewerBase3D::parameters.
parameters& lti::viewerBase::parameters::copy | ( | const parameters & | other | ) |
copy data of "other" parameters
Reimplemented from lti::functor::parameters.
Reimplemented in lti::externViewer::parameters, lti::histogramViewer::parameters, lti::scene3DViewer::parameters, and lti::viewer::parameters.
const char* lti::viewerBase::parameters::getTypeName | ( | ) | const [virtual] |
return the name of this type
Reimplemented from lti::functor::parameters.
Reimplemented in lti::externViewer::parameters, lti::histogramViewer::parameters, lti::scene3DViewer::parameters, lti::viewer::parameters, and lti::viewerBase3D::parameters.
parameters& lti::viewerBase::parameters::operator= | ( | const parameters & | other | ) |
copy data of "other" parameters
Reimplemented from lti::functor::parameters.
Reimplemented in lti::externViewer::parameters, and lti::viewer::parameters.
virtual bool lti::viewerBase::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 lti::functor::parameters.
Reimplemented in lti::externViewer::parameters, lti::histogramViewer::parameters, lti::scene3DViewer::parameters, lti::viewer::parameters, and lti::viewerBase3D::parameters.
virtual bool lti::viewerBase::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 lti::functor::parameters.
Reimplemented in lti::externViewer::parameters, lti::histogramViewer::parameters, lti::scene3DViewer::parameters, lti::viewer::parameters, and lti::viewerBase3D::parameters.
std::string lti::viewerBase::parameters::title |
title of the viewer window.
Default value: value returned by getTypeName()