OptionsFileHandler Class Reference

#include <OptionsFileHandler.h>

List of all members.

Public Member Functions

 OptionsFileHandler (Camera *_camera, int *_backgroundIndex, int *_integrationIndex, int *_modusIndex, int *_seedPoints, float *_dsep, float *_dtest, float *_dt, int *_enableStreamlines)
 ~OptionsFileHandler ()
void update (Arrowplot *_arrowplot, TransferFunction **_transferFunction, StreamlineSet *_streamlineSet)
void load (std::string filename)
void save (std::string filename)
 OptionsFileHandler (Camera *_camera, int *_backgroundIndex, int *_integrationIndex, int *_modusIndex, int *_seedPoints, float *_dsep, float *_dtest, float *_dt, int *_enableStreamlines)
 ~OptionsFileHandler ()
void update (Arrowplot *_arrowplot, TransferFunction **_transferFunction, StreamlineSet *_streamlineSet)
void load (std::string filename)
void save (std::string filename)

Private Attributes

Cameracamera
Arrowplotarrowplot
TransferFunction ** transferFunction
int * backgroundIndex
StreamlineSetstreamlineSet
int * integrationIndex
int * modusIndex
int * seedPoints
float * dsep
float * dtest
float * dt
int * enableStreamlines


Detailed Description

The class for saving the options

Constructor & Destructor Documentation

OptionsFileHandler::OptionsFileHandler ( Camera _camera,
int *  _backgroundIndex,
int *  _integrationIndex,
int *  _modusIndex,
int *  _seedPoints,
float *  _dsep,
float *  _dtest,
float *  _dt,
int *  _enableStreamlines 
)

Constructs a new OptionsFileHandler object

Parameters:
_camera New pointer to the camera
_backgroundIndex Pointer to the backgroundIndex (GUI)
_integrationIndex Pointer to the integrationIndex (GUI)
_modusIndex Pointer to the modusIndex (GUI)
_seedPoints Pointer to the seedPoints (GUI)
_dsep Pointer to dsep (GUI)
_dtest Pointer to dtest (GUI)
_dt Pointer to dt (GUI)
_enableStreamlines Pointer to enableStreamlines (GUI

OptionsFileHandler::~OptionsFileHandler (  ) 

Destroys the object

OptionsFileHandler::OptionsFileHandler ( Camera _camera,
int *  _backgroundIndex,
int *  _integrationIndex,
int *  _modusIndex,
int *  _seedPoints,
float *  _dsep,
float *  _dtest,
float *  _dt,
int *  _enableStreamlines 
)

OptionsFileHandler::~OptionsFileHandler (  ) 


Member Function Documentation

void OptionsFileHandler::load ( std::string  filename  ) 

void OptionsFileHandler::load ( std::string  filename  ) 

Loads the given XML-config file

Parameters:
filename Filename of the XML-config file

void OptionsFileHandler::save ( std::string  filename  ) 

void OptionsFileHandler::save ( std::string  filename  ) 

Saves the current config to a XML-file

Parameters:
filename Filename of the new XML-file

void OptionsFileHandler::update ( Arrowplot _arrowplot,
TransferFunction **  _transferFunction,
StreamlineSet _streamlineSet 
)

void OptionsFileHandler::update ( Arrowplot _arrowplot,
TransferFunction **  _transferFunction,
StreamlineSet _streamlineSet 
)

Updates the pointer to the camera, arrowplot and transferfunctions.

Parameters:
_arrowplot New pointer to the arrowplot object
_transferFunction New pointer to the transferfunctions object
_streamlineSet New pointer to the streamlineset


Member Data Documentation

Pointer to the arrowplot object

Pointer to which background should be drawn

Pointer to the camera object

float * OptionsFileHandler::dsep [private]

pointer to dsep (GUI)

float * OptionsFileHandler::dt [private]

pointer to dt (GUI)

float * OptionsFileHandler::dtest [private]

pointer to dtest (GUI)

pointer to enableStreamlines (GUI)

Pointer to the integrationIndex (GUI)

Pointer to the modusIndex (GUI)

pointer to the number of seedPoints (GUI)

Pointer to the Streamline object

Pointer to the transfer function object


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

Generated on Tue Jan 20 23:44:14 2009 for FlowVis by  doxygen 1.5.7.1