VR-Vantage 3.0 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Attributes
ciScenario Class Reference

Public Member Functions

double getMouseVel ()
void setMouseVel (double rate)
bool getLogScale ()
void setLogScale (bool logScale)
double getTime ()
void setTime (double time)
double getMouseFOV ()
void setMouseFOV (double mouseFOV)
bool getSceneWindow ()
void setSceneWindow (bool flag)
int getActiveSensor ()
void setActiveSensor (int sensorID)
void setActiveRGBSensor (int sensorId, int chan)
int getRGBSensor (int chan)
void setForceTextures (bool flag)
bool getForceTextures ()
void setReduceMcm (bool flag)
bool getReduceMcm ()
void setUseMouse (bool flag)
bool getUseMouse ()
void setUpdateTextures (bool flag)
bool getUpdateTextures ()
void setPbuffer32F (bool flag)
bool getPbuffer32F ()
void setUseRGBTexture (bool flag)
bool getUseRGBTexture ()
void setUseShadows (bool flag)
bool getUseShadows ()
void setUseLightSources (bool flag)
bool getUseLightSources ()
void setUseLitWindows (bool flag)
bool getUseLitWindows ()
void setLitWindowStart (double time)
double getLitWindowStart ()
void setLitWindowStop (double time)
double getLitWindowStop ()
bool archive (std::ofstream &outf)
bool serialize (char *filepath)
bool loadXML (clXMLNode *scenarioNode)
bool parseXML (clXML &xmlDocument)
bool loadXMLNode (std::string tag, char *nodeString)
bool loadXMLNode (std::string tag, bool *nodeBool)
bool loadXMLNode (std::string tag, int *nodeBool)
bool loadXMLNode (std::string tag, double *nodeBool)
void saveXML (clXML *xmlDocument)
ciScenario operator= (ciScenario &obj)
 ciScenario ()
 ciScenario (ciScenario &obj)
virtual ~ciScenario ()

Protected Attributes

double m_timeOfDay
double m_mouseVel
bool m_logScale
double m_mouseFOV
bool m_sceneWindow
int m_activeSensor
int m_activeRGBSensor [4]
double m_lightLevel
bool m_forceTextures
bool m_reduceMcm
bool m_useMouse
bool m_updateTextures
bool m_pbuffer32F
bool m_useRGBTextures
bool m_useShadows
bool m_useLightSources
bool m_useLitWindows
double m_litWindowStart
double m_litWindowStop
clXMLNodem_parentNode

Detailed Description

ciTrack class declaration

Constructor & Destructor Documentation

ciScenario::ciScenario ( )
Default constructor.
ciScenario::ciScenario ( ciScenario obj)
Copy constructor.
Parameters
obj- ciTrack object to be copied.
virtual ciScenario::~ciScenario ( )
virtual

Member Function Documentation

double ciScenario::getMouseVel ( )
inline
gets the Mouse Velocity that used in the scenario
Returns
The Mouse Velocity.
void ciScenario::setMouseVel ( double  rate)
inline
sets the Mouse Velocity that used in scenario
Parameters
rate- The Mouse Velocity to be assigned.
Returns
void.
bool ciScenario::getLogScale ( )
inline
gets the status of the log scale
Returns
The save floating point images flag.
void ciScenario::setLogScale ( bool  logScale)
inline
double ciScenario::getTime ( )
inline
void ciScenario::setTime ( double  time)
inline
double ciScenario::getMouseFOV ( )
inline
void ciScenario::setMouseFOV ( double  mouseFOV)
inline
bool ciScenario::getSceneWindow ( )
inline
void ciScenario::setSceneWindow ( bool  flag)
inline
int ciScenario::getActiveSensor ( )
inline
void ciScenario::setActiveSensor ( int  sensorID)
inline
void ciScenario::setActiveRGBSensor ( int  sensorId,
int  chan 
)
inline
int ciScenario::getRGBSensor ( int  chan)
inline
void ciScenario::setForceTextures ( bool  flag)
inline
bool ciScenario::getForceTextures ( )
inline
void ciScenario::setReduceMcm ( bool  flag)
inline
bool ciScenario::getReduceMcm ( )
inline
void ciScenario::setUseMouse ( bool  flag)
inline
bool ciScenario::getUseMouse ( )
inline
void ciScenario::setUpdateTextures ( bool  flag)
inline
bool ciScenario::getUpdateTextures ( )
inline
void ciScenario::setPbuffer32F ( bool  flag)
inline
bool ciScenario::getPbuffer32F ( )
inline
void ciScenario::setUseRGBTexture ( bool  flag)
inline
bool ciScenario::getUseRGBTexture ( )
inline
void ciScenario::setUseShadows ( bool  flag)
inline
bool ciScenario::getUseShadows ( )
inline
void ciScenario::setUseLightSources ( bool  flag)
inline
bool ciScenario::getUseLightSources ( )
inline
void ciScenario::setUseLitWindows ( bool  flag)
inline
bool ciScenario::getUseLitWindows ( )
inline
void ciScenario::setLitWindowStart ( double  time)
inline
double ciScenario::getLitWindowStart ( )
inline
void ciScenario::setLitWindowStop ( double  time)
inline
double ciScenario::getLitWindowStop ( )
inline
bool ciScenario::archive ( std::ofstream &  outf)
Description:
Saves the ciTrack object to file.
Parameters
filepath- complete path and filename to the file
Returns
true if sucessful
bool ciScenario::serialize ( char *  filepath)
Description:
Loads the ciTrack object from file.
Parameters
filepath- complete path and filename to the file
Returns
true if sucessful
bool ciScenario::loadXML ( clXMLNode scenarioNode)
bool ciScenario::parseXML ( clXML xmlDocument)
bool ciScenario::loadXMLNode ( std::string  tag,
char *  nodeString 
)
Parameters
std::stringtag
char*nodeString
Returns
bool
bool ciScenario::loadXMLNode ( std::string  tag,
bool nodeBool 
)
Parameters
std::stringtag
bool*nodeBool
Returns
bool
bool ciScenario::loadXMLNode ( std::string  tag,
int nodeBool 
)
Parameters
std::stringtag
int*nodeBool
Returns
bool
bool ciScenario::loadXMLNode ( std::string  tag,
double *  nodeBool 
)
Parameters
std::stringtag
double*nodeBool
Returns
bool
void ciScenario::saveXML ( clXML xmlDocument)
ciScenario ciScenario::operator= ( ciScenario obj)
Assignment operator.
Parameters
obj- ciTrack object to be assigned.
Returns
The assigned ciTrack object.

Member Data Documentation

double ciScenario::m_timeOfDay
protected

Movie Player file frame rate time

double ciScenario::m_mouseVel
protected
bool ciScenario::m_logScale
protected
double ciScenario::m_mouseFOV
protected
bool ciScenario::m_sceneWindow
protected
int ciScenario::m_activeSensor
protected
int ciScenario::m_activeRGBSensor[4]
protected
double ciScenario::m_lightLevel
protected
bool ciScenario::m_forceTextures
protected
bool ciScenario::m_reduceMcm
protected
bool ciScenario::m_useMouse
protected
bool ciScenario::m_updateTextures
protected
bool ciScenario::m_pbuffer32F
protected
bool ciScenario::m_useRGBTextures
protected
bool ciScenario::m_useShadows
protected
bool ciScenario::m_useLightSources
protected
bool ciScenario::m_useLitWindows
protected
double ciScenario::m_litWindowStart
protected
double ciScenario::m_litWindowStop
protected
clXMLNode* ciScenario::m_parentNode
protected

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


Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)