Navigation Class Reference
#include <Navigation.h>
Inherits NavigationInterface.
Collaboration diagram for Navigation:

Constructor & Destructor Documentation
| Navigation::Navigation | ( | ) |
| Navigation::~Navigation | ( | ) | [virtual] |
Member Function Documentation
| void Navigation::cleanup | ( | ) | [virtual] |
Instruct the module to free all memory allocated internally.
Reimplemented from ModuleInterface.
| std::string Navigation::getName | ( | ) | [virtual] |
Return the unique name of the module.
Implements ModuleInterface.
| OrientationModel * Navigation::getOrientationModel | ( | std::string | name, | |
| ArgumentVector * | argVec | |||
| ) | [protected] |
| SpeedModel * Navigation::getSpeedModel | ( | std::string | name, | |
| ArgumentVector * | argVec | |||
| ) | [protected] |
| TranslationModel * Navigation::getTranslationModel | ( | std::string | name, | |
| ArgumentVector * | argVec | |||
| ) | [protected] |
| bool Navigation::loadConfig | ( | std::string | configFile | ) | [virtual] |
The loadConfig method parses a passed String, which should contain XML data. The configuration contains the names for speed-, orientation-, and translationmodel, which are subesequently parsed and evaluated.
- Parameters:
-
configFile the XML configuration for the navigation models
- Returns:
- in case the parsing does not detect errors in the configuration true is returned, if errors are detected false is returned
Implements ModuleInterface.
| NavigationInfo Navigation::navigate | ( | float | dt | ) | [virtual] |
Implements NavigationInterface.
| void Navigation::registerOrientationModelFactory | ( | OrientationModelFactory * | factory | ) |
| void Navigation::registerSpeedModelFactory | ( | SpeedModelFactory * | factory | ) |
| void Navigation::registerTranslationModelFactory | ( | TranslationModelFactory * | factory | ) |
Friends And Related Function Documentation
friend class NavigationPauseEvent [friend] |
friend class NavigationResumeEvent [friend] |
Member Data Documentation
ControllerInterface* Navigation::controller [protected] |
EventPipe* Navigation::incomingEvents [protected] |
std::vector<OrientationModelFactory*> Navigation::navProvidedOrientationModelFactories [protected] |
std::vector<SpeedModelFactory*> Navigation::navProvidedSpeedModelFactories [protected] |
std::vector<TranslationModelFactory*> Navigation::navProvidedTranslationModelFactories [protected] |
OrientationModel* Navigation::orientationModel [protected] |
std::vector<OrientationModelFactory*> Navigation::orientationModelFactories [protected] |
SpeedModel* Navigation::speedModel [protected] |
std::vector<SpeedModelFactory*> Navigation::speedModelFactories [protected] |
bool Navigation::suspendNavigation [protected] |
TranslationModel* Navigation::translationModel [protected] |
std::vector<TranslationModelFactory*> Navigation::translationModelFactories [protected] |
XmlConfigurationLoader Navigation::xmlConfigLoader [static, private] |
The documentation for this class was generated from the following files:
- src/inVRs/Modules/Navigation/Navigation.h
- src/inVRs/Modules/Navigation/Navigation.cpp
Generated on Wed Oct 20 16:11:58 2010 for inVRs by
1.5.8