Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

amire::component::MREngine Class Reference

List of all members.

Public Member Functions

 MREngine (int &argc, char **&argv, const char *cameraConfigFile)
virtual ~MREngine ()
int init (int &argc, char **&argv, const char *cameraConfigFile)
virtual bool run ()
void addPluginLibrary (const std::string &filename)
const std::vector< std::string > & getPluginLibraries ()
void setConfig (const std::string &name, const osg::ref_ptr< const amire::property::Property > &value)
osg::ref_ptr< const amire::property::PropertygetConfig (const std::string &name) const
const amire::property::StringToConstPropertyMap & getConfig () const
int getExitCode () const
void setComponentManager (ComponentManager *componentManager)
const osg::ref_ptr< amire::common::ProjectionVideoImage > & getVideoImage ()
const osg::ref_ptr< amire::common::MarkerDetector > & getMarkerDetector ()
const osg::ref_ptr< amire::common::Tracker > & getCameraTracker ()
void setFreeze (bool freeze=true)
bool isFreezed ()
void setLogWriter (const osg::ref_ptr< amire::common::LogWriter > &logWriter)
osg::ref_ptr< amire::common::LogWritergetLogWriter () const
void setFullScreen (bool fullScreen=true)
bool getFullScreen () const
void setLighting (bool lighting=true)
bool getLighting () const
void setMouseBroadcast (bool mouseBroadcast=true)
bool getMouseBroadcast () const
void reinitializeEngine ()
amire::common::Viewport getViewport (const osg::ref_ptr< Component > &component=NULL)
void exit (int exitCode=0)
bool directionPointerPickingHandlerAvailable (long pickingMode) const
bool position2DPickingHandlerAvailable (long pickingMode) const
bool position3DPickingHandlerAvailable (long pickingMode) const
bool fireAction (long modifier, int key, const osg::ref_ptr< Action > &action=NULL)
bool fireAction (double x, double y, long pickingMode=NORMAL_PICK, bool broadcast=false, const osg::ref_ptr< Action > &action=NULL, const SelectionHandler *selectionHandler=NULL)
bool fireAction (const amire::common::Vector &point, long pickingMode=NORMAL_PICK, bool broadcast=false, const osg::ref_ptr< Action > &action=NULL, const SelectionHandler *selectionHandler=NULL)
bool fireAction (const amire::common::Vector &point, const amire::common::Vector &direction, long pickingMode=NORMAL_PICK, bool broadcast=false, const osg::ref_ptr< Action > &action=NULL, const SelectionHandler *selectionHandler=NULL)
osg::ref_ptr< Componentpick (double x, double y, long pickingMode=NORMAL_PICK, const SelectionHandler *selectionHandler=NULL)
osg::ref_ptr< Componentpick (const amire::common::Vector &point, long pickingMode=NORMAL_PICK, const SelectionHandler *selectionHandler=NULL)
osg::ref_ptr< Componentpick (const amire::common::Vector &point, const amire::common::Vector &direction, long pickingMode=NORMAL_PICK, const SelectionHandler *selectionHandler=NULL)
std::vector< osg::ref_ptr<
Component > > 
select (double x, double y, std::vector< double > &distance, long pickingMode=NORMAL_PICK)
std::vector< osg::ref_ptr<
Component > > 
select (const amire::common::Vector &point, std::vector< double > &distance, long pickingMode=NORMAL_PICK)
std::vector< osg::ref_ptr<
Component > > 
select (const amire::common::Vector &point, const amire::common::Vector &direction, std::vector< double > &distance, long pickingMode=NORMAL_PICK)
void addOccluderHandler (const osg::ref_ptr< OccluderHandler > &handler)
void addDisplayHandler (const osg::ref_ptr< DisplayHandler > &handler)
void addKeyHandler (const osg::ref_ptr< KeyHandler > &handler)
void addMouseHandler (const osg::ref_ptr< MouseHandler > &handler)
void addPosition2DPickingHandler (const osg::ref_ptr< Position2DPickingHandler > &handler, long pickingMask=PICK_EVERYTHING)
void addPosition3DPickingHandler (const osg::ref_ptr< Position3DPickingHandler > &handler, long pickingMask=PICK_EVERYTHING)
void addDirectionPointerPickingHandler (const osg::ref_ptr< DirectionPointerPickingHandler > &handler, long pickingMask=PICK_EVERYTHING)
void setPosition2DPickingMask (const osg::ref_ptr< Position2DPickingHandler > &handler, long pickingMask)
void setPosition3DPickingMask (const osg::ref_ptr< Position3DPickingHandler > &handler, long pickingMask)
void setDirectionPointerPickingMask (const osg::ref_ptr< DirectionPointerPickingHandler > &handler, long pickingMask)
void removeOccluderHandler (const osg::ref_ptr< OccluderHandler > &handler)
void removeDisplayHandler (const osg::ref_ptr< DisplayHandler > &handler)
void removeKeyHandler (const osg::ref_ptr< KeyHandler > &handler)
void removeMouseHandler (const osg::ref_ptr< MouseHandler > &handler)
void removePosition2DPickingHandler (const osg::ref_ptr< Position2DPickingHandler > &handler)
void removePosition3DPickingHandler (const osg::ref_ptr< Position3DPickingHandler > &handler)
void removeDirectionPointerPickingHandler (const osg::ref_ptr< DirectionPointerPickingHandler > &handler)
void setVideoImage (const osg::ref_ptr< amire::common::ProjectionVideoImage > &videoImage)
void setCameraTracker (const osg::ref_ptr< amire::common::Tracker > &tracker)
void setMarkerDetector (const osg::ref_ptr< amire::common::MarkerDetector > &markerDetector)
ComponentManagergetComponentManager ()
bool isRunning () const
virtual void display ()
virtual void reshape (GLint w, GLint h)
virtual void mouseMotion (int x, int y)
virtual void mousePassiveMotion (int x, int y)
virtual void mouse (int button, int state, int x, int y)
virtual void keyboard (unsigned char key, int x, int y)

Detailed Description

The MR engine integrates the high level graphics API OpenSceneGraph, which uses a scene graph and runs the main loop of the rendering process. It allows the component developer to develop his components by using the scene graph or native OpenGL for displaying the visible augmented objects and for rendering the models of real occluder objects. You only have to implement the corresponding handler interfaces for the OpenGL rendering or use the scene graph registration methods of the MR engine. Any OpenGL display functionality that is done in the functional callback will be discarded by the MR engine to ensure the correctness of the functional callback behavior that is only allowed to do functional or logical operations and the registration of scene graphs for a component. Further you can register a transformation for the scene graph of a component and you are also able to assign a component as the scene graph parent of another component. This assignment enables relative positioning and orientation of components to other components. The last important feature of the MR engine is the interface to the underlying marker detection system, tracking system and video system.

The render pipeline processes the following steps in the given order: 1) Update the video image. 2) Process the functional call-backs for each component. 3) Clear the colour-buffer and depth-buffer. 4) Display OpenGL based OccluderHandlers (renders all phantom object that are implemented by OpenGL based components). 5) Display OpenSceneGraph based occluder nodes (renders all phantom object that are implemented by OpenSceneGraph based components). 6) Render the video image as background (the colour buffer is automatically overwriten by the video image). 7) Display OpenSceneGraph based display nodes (renders all virtual object that are implemented by OpenSceneGraph based components). 8) Display OpenGL based DisplayHandlers in several passes (renders all virtual object that are implemented by OpenGL based components).

The rendering of OpenGL based components is performed in the following order: 1) Rendering of the SETTING_MODE: in this mode all OpenGL setting must be applied. Setting a light source for example would be a task that has to be performed in this mode. 2) Rendering of the OPAQUE_RENDER_MODE: in this mode all opaque virtual objects have to be rendered (every geometry that is not transparent). 3) Rendering of the BLENDING_RENDER_MODE: in this mode all blended (transparent) virtual objects have to be rendered. 4) The depth-buffer is cleared to enable the next mode. 5) Rendering of the FOREGROUND_RENDER_MODE: All virtual objects that should be in the foreground have to be rendered in this mode. A 2D user interface for example would be such a content that should be in the foreground.


Constructor & Destructor Documentation

amire::component::MREngine::MREngine int &  argc,
char **&  argv,
const char *  cameraConfigFile
 

virtual amire::component::MREngine::~MREngine  )  [virtual]
 


Member Function Documentation

void amire::component::MREngine::addDirectionPointerPickingHandler const osg::ref_ptr< DirectionPointerPickingHandler > &  handler,
long  pickingMask = PICK_EVERYTHING
 

Registers a new direction picking handler for the given picking mask (only picks that are included in the mask will be performed for this handler). The dircetion picking handler will be called when a direction pick is performed (call of the fireAction method or pick method).

void amire::component::MREngine::addDisplayHandler const osg::ref_ptr< DisplayHandler > &  handler  ) 
 

Registers a new display call-back handler. The display call-back handler will be called to display virtual content. This is done in several steps as mentioned in the MREngine class description.

void amire::component::MREngine::addKeyHandler const osg::ref_ptr< KeyHandler > &  handler  ) 
 

Registers a new keyboard event handler. The keyboard handler will be called when a key is pressed/released.

void amire::component::MREngine::addMouseHandler const osg::ref_ptr< MouseHandler > &  handler  ) 
 

Registers a new mouse event handler. The mouse handler will be called when a mouse event occures.

void amire::component::MREngine::addOccluderHandler const osg::ref_ptr< OccluderHandler > &  handler  ) 
 

Registers a new occluder call-back handler. The occluder call-back handler will be called to display phantom objects based on OpenGL. These phantom objects represents real objects, which may occlude virtual content. Therefore the depth buffer must be initialized with the phantom objects.

void amire::component::MREngine::addPluginLibrary const std::string &  filename  ) 
 

Loads a new plug-in library and registers all plug-ins. The plug-in mechanism is a convention for a exported function, which is called by the MREngine to load new plug-ins from a dynamically linked library. The name of this function must be exactly like this: void AMIRE_EXPORT_API amire::registerPlugins(amire::component::MREngine *engine). This naming conventions will only work for libraries that are compiled with the Microsoft Visual Studio .NET. Libraries of other compilers must use the “.DEF”-file to export the function with the following name: registerAMIREPlugins

void amire::component::MREngine::addPosition2DPickingHandler const osg::ref_ptr< Position2DPickingHandler > &  handler,
long  pickingMask = PICK_EVERYTHING
 

Registers a new 2D picking handler for the given picking mask (only picks that are included in the mask will be performed for this handler). The 2D picking handler will be called when a 2D pick is performed (call of the fireAction method or pick method).

void amire::component::MREngine::addPosition3DPickingHandler const osg::ref_ptr< Position3DPickingHandler > &  handler,
long  pickingMask = PICK_EVERYTHING
 

Registers a new 3D picking handler for the given picking mask (only picks that are included in the mask will be performed for this handler). The 3D picking handler will be called when a 3D pick is performed (call of the fireAction method or pick method).

bool amire::component::MREngine::directionPointerPickingHandlerAvailable long  pickingMode  )  const
 

Returns true is a handler for a direction picking device is available. Otherwise, false is returned.

virtual void amire::component::MREngine::display  )  [virtual]
 

This method have to be called to initiate the frame rendering process of an application. It must be called for each frame. No additional cleaning operation or buffer swapping operation have to be called. By default this method is called by the MREngine itself, after the application has been started by calling the run method.

void amire::component::MREngine::exit int  exitCode = 0  ) 
 

Forces the MREngine to terminate the main loop. This method should be used instead of the system exit function, because the system function terminates the whole programm and this exit method forces the main loop method "run" to return with the given exit code.

bool amire::component::MREngine::fireAction const amire::common::Vector point,
const amire::common::Vector direction,
long  pickingMode = NORMAL_PICK,
bool  broadcast = false,
const osg::ref_ptr< Action > &  action = NULL,
const SelectionHandler selectionHandler = NULL
 

Fires a DirectionPointerAction to the direction picking handler, which has accepted the pick and is selected by the selection handler. If the broadcast is enabled the selection handler is ignored and the action is fired for all 2D picking handler, which have accepted the pick. An alternative action will be fired, if it is provided by the caller. The default selection handler is used (select nearest distance), if no selection handler is provided by the caller.

bool amire::component::MREngine::fireAction const amire::common::Vector point,
long  pickingMode = NORMAL_PICK,
bool  broadcast = false,
const osg::ref_ptr< Action > &  action = NULL,
const SelectionHandler selectionHandler = NULL
 

Fires a Position3DAction to the 3D picking handler, which has accepted the pick and is selected by the selection handler. If the broadcast is enabled the selection handler is ignored and the action is fired for all 3D picking handler, which have accepted the pick. An alternative action will be fired, if it is provided by the caller. The default selection handler is used (select nearest distance), if no selection handler is provided by the caller.

bool amire::component::MREngine::fireAction double  x,
double  y,
long  pickingMode = NORMAL_PICK,
bool  broadcast = false,
const osg::ref_ptr< Action > &  action = NULL,
const SelectionHandler selectionHandler = NULL
 

Fires a Position2DAction to the 2D picking handler, which has accepted the pick and is selected by the selection handler. If the broadcast is enabled the selection handler is ignored and the action is fired for all 2D picking handler, which have accepted the pick. An alternative action will be fired, if it is provided by the caller. The default selection handler is used (select nearest distance), if no selection handler is provided by the caller.

bool amire::component::MREngine::fireAction long  modifier,
int  key,
const osg::ref_ptr< Action > &  action = NULL
 

Fires an action to all all registered keyboard handlers.

const osg::ref_ptr<amire::common::Tracker>& amire::component::MREngine::getCameraTracker  ) 
 

The getCameraTracker method returns the interface for the default camera tracking system of this MR engine.

ComponentManager* amire::component::MREngine::getComponentManager  ) 
 

Returns the component manager that currently active.

const amire::property::StringToConstPropertyMap& amire::component::MREngine::getConfig  )  const
 

Returns the plug-in configuration hash-map.

osg::ref_ptr<const amire::property::Property> amire::component::MREngine::getConfig const std::string &  name  )  const
 

Returns the specified plug-in configuration property.

int amire::component::MREngine::getExitCode  )  const
 

Returns the exit code of the application. This information is available after the run method has been finished.

bool amire::component::MREngine::getFullScreen  )  const
 

Returns true is the fullscreen mode is activated. Otherwise, false is returned.

bool amire::component::MREngine::getLighting  )  const
 

Returns true is the lighting is enabled. Otherwise, false is returned.

osg::ref_ptr<amire::common::LogWriter> amire::component::MREngine::getLogWriter  )  const
 

Returns the log-writer for the application.

const osg::ref_ptr<amire::common::MarkerDetector>& amire::component::MREngine::getMarkerDetector  ) 
 

The getMarkerDetector method returns the interface for the default marker detection system of this MR engine.

bool amire::component::MREngine::getMouseBroadcast  )  const
 

Returns the setting of the broadcast option for the default mouse picking device. The pick action id forwarded to each handler, which has acceped the pick, if the boracast option is enabled. Otherwise, only the handler, which is selected by the selection handler, gets the pick action.

const std::vector<std::string>& amire::component::MREngine::getPluginLibraries  ) 
 

Returns the set of all currently loaded plugin libraries.

const osg::ref_ptr<amire::common::ProjectionVideoImage>& amire::component::MREngine::getVideoImage  ) 
 

The getVideoImage method returns the interface for the default video system of this MR engine.

amire::common::Viewport amire::component::MREngine::getViewport const osg::ref_ptr< Component > &  component = NULL  ) 
 

Returns the viewport for the given component.

int amire::component::MREngine::init int &  argc,
char **&  argv,
const char *  cameraConfigFile
 

The init method initializes the MR engine. It returns an error code when a failure occurs.

bool amire::component::MREngine::isFreezed  ) 
 

The isFreezed method true when the video and tracking system are frozen and false otherwise.

bool amire::component::MREngine::isRunning  )  const
 

Returns true if the application is currently running.

virtual void amire::component::MREngine::keyboard unsigned char  key,
int  x,
int  y
[virtual]
 

This method have to be called for every keyboard event (key press/release). By default this method is called by the MREngine itself, after the application has been started by calling the run method.

virtual void amire::component::MREngine::mouse int  button,
int  state,
int  x,
int  y
[virtual]
 

This method have to be called for every mouse button event (button press/release). By default this method is called by the MREngine itself, after the application has been started by calling the run method.

virtual void amire::component::MREngine::mouseMotion int  x,
int  y
[virtual]
 

This method have to be called for every mouse movement event whereas at least one button is pressed. By default this method is called by the MREngine itself, after the application has been started by calling the run method.

virtual void amire::component::MREngine::mousePassiveMotion int  x,
int  y
[virtual]
 

This method have to be called for every mouse movement event whereas no button is pressed. By default this method is called by the MREngine itself, after the application has been started by calling the run method.

osg::ref_ptr<Component> amire::component::MREngine::pick const amire::common::Vector point,
const amire::common::Vector direction,
long  pickingMode = NORMAL_PICK,
const SelectionHandler selectionHandler = NULL
 

Returns the component corresponding to the selected direction picking handler out of the set of handlers, which have accepted the pick. The default selection handler is used (select nearest distance), if no selection handler is provided by the caller.

osg::ref_ptr<Component> amire::component::MREngine::pick const amire::common::Vector point,
long  pickingMode = NORMAL_PICK,
const SelectionHandler selectionHandler = NULL
 

Returns the component corresponding to the selected 3D picking handler out of the set of handlers, which have accepted the pick. The default selection handler is used (select nearest distance), if no selection handler is provided by the caller.

osg::ref_ptr<Component> amire::component::MREngine::pick double  x,
double  y,
long  pickingMode = NORMAL_PICK,
const SelectionHandler selectionHandler = NULL
 

Returns the component corresponding to the selected 2D picking handler out of the set of handlers, which have accepted the pick. The default selection handler is used (select nearest distance), if no selection handler is provided by the caller.

bool amire::component::MREngine::position2DPickingHandlerAvailable long  pickingMode  )  const
 

Returns true is a handler for a 2D picking device is available. Otherwise, false is returned.

bool amire::component::MREngine::position3DPickingHandlerAvailable long  pickingMode  )  const
 

Returns true is a handler for a 3D picking device is available. Otherwise, false is returned.

void amire::component::MREngine::reinitializeEngine  ) 
 

The reinitializeEngine method initiates a callback for all component that should update the registration at the MR engine like the registration of a display scene graphs or a transformation.

void amire::component::MREngine::removeDirectionPointerPickingHandler const osg::ref_ptr< DirectionPointerPickingHandler > &  handler  ) 
 

Removes the given direction picking handler. The direction picking handler will be called when a direction pick is performed (call of the fireAction method or pick method).

void amire::component::MREngine::removeDisplayHandler const osg::ref_ptr< DisplayHandler > &  handler  ) 
 

Removes the given display call-back handler. The display call-back handler will be called to display virtual content. This is done in several steps as mentioned in the MREngine class description.

void amire::component::MREngine::removeKeyHandler const osg::ref_ptr< KeyHandler > &  handler  ) 
 

Removes the given keyboard event handler. The keyboard handler will be called when a key is pressed/released.

void amire::component::MREngine::removeMouseHandler const osg::ref_ptr< MouseHandler > &  handler  ) 
 

Removes the given mouse event handler. The mouse handler will be called when a mouse event occures.

void amire::component::MREngine::removeOccluderHandler const osg::ref_ptr< OccluderHandler > &  handler  ) 
 

Removes the given occluder call-back handler. The occluder call-back handler will be called to display phantom objects based on OpenGL. These phantom objects represents real objects, which may occlude virtual content. Therefore the depth buffer must be initialized with the phantom objects.

void amire::component::MREngine::removePosition2DPickingHandler const osg::ref_ptr< Position2DPickingHandler > &  handler  ) 
 

Removes the given 2D picking handler. The 2D picking handler will be called when a 2D pick is performed (call of the fireAction method or pick method).

void amire::component::MREngine::removePosition3DPickingHandler const osg::ref_ptr< Position3DPickingHandler > &  handler  ) 
 

Removes the given 3D picking handler. The 3D picking handler will be called when a 3D pick is performed (call of the fireAction method or pick method).

virtual void amire::component::MREngine::reshape GLint  w,
GLint  h
[virtual]
 

This method have to be called for every window reshape event. By default this method is called by the MREngine itself, after the application has been started by calling the run method.

virtual bool amire::component::MREngine::run  )  [virtual]
 

The run method starts the MR engine and the main loop of the graphic API. It returns an error code when a failure occurs.

std::vector<osg::ref_ptr<Component> > amire::component::MREngine::select const amire::common::Vector point,
const amire::common::Vector direction,
std::vector< double > &  distance,
long  pickingMode = NORMAL_PICK
 

Returns the component corresponding to the selected direction picking handler out of the set of handlers, which have accepted the pick. The picking mode for this pick is a SELECT_PICK. The default selection handler is used (select nearest distance), if no selection handler is provided by the caller.

std::vector<osg::ref_ptr<Component> > amire::component::MREngine::select const amire::common::Vector point,
std::vector< double > &  distance,
long  pickingMode = NORMAL_PICK
 

Returns the component corresponding to the selected 3D picking handler out of the set of handlers, which have accepted the pick. The picking mode for this pick is a SELECT_PICK. The default selection handler is used (select nearest distance), if no selection handler is provided by the caller.

std::vector<osg::ref_ptr<Component> > amire::component::MREngine::select double  x,
double  y,
std::vector< double > &  distance,
long  pickingMode = NORMAL_PICK
 

Returns the component corresponding to the selected 2D picking handler out of the set of handlers, which have accepted the pick. The picking mode for this pick is a SELECT_PICK. The default selection handler is used (select nearest distance), if no selection handler is provided by the caller.

void amire::component::MREngine::setCameraTracker const osg::ref_ptr< amire::common::Tracker > &  tracker  ) 
 

Sets the camera tracker plug-in for the application. This method should be used to change the camera position and orientation provider.

void amire::component::MREngine::setComponentManager ComponentManager componentManager  ) 
 

The setComponentManager method sets the component manager of the MR engine. For each frame the functional, occluder and display callback of this component manager will be called. An assert exception is thrown when the given component manager is null.

void amire::component::MREngine::setConfig const std::string &  name,
const osg::ref_ptr< const amire::property::Property > &  value
 

Set a plug-in configuration property, which is used by a plug-in for its initialization. The default plug-in library uses the string-property "cameraConfigFileProperty" to setup the filename of the ARToolKit camera calibration.

void amire::component::MREngine::setDirectionPointerPickingMask const osg::ref_ptr< DirectionPointerPickingHandler > &  handler,
long  pickingMask
 

Sets the picking mask for the given direction picking handler (only picks that are included in the mask will be performed for this handler). The direction picking handler will be called when a direction pick is performed (call of the fireAction method or pick method).

void amire::component::MREngine::setFreeze bool  freeze = true  ) 
 

The setFreeze method sets the freeze mode of the MR engine. When the freeze mode is enabled the video and tracking system will be frozen. Therefore also the marker detection will be frozen.

void amire::component::MREngine::setFullScreen bool  fullScreen = true  ) 
 

Sets the fullscreen mode. The application will be shown fullscreen, if the mode is set to true. Otherwise a normal window is used. The window size is restored when the application swithes from the fullscreen mode to the window mode.

void amire::component::MREngine::setLighting bool  lighting = true  ) 
 

Enables/disables the lighting for the application. This setting is direct forwarded to the OpenGL GL_LIGHTING setting.

void amire::component::MREngine::setLogWriter const osg::ref_ptr< amire::common::LogWriter > &  logWriter  ) 
 

Sets the log-writer for the application. Each component should use this log-writer to write any kind of loginformation.

void amire::component::MREngine::setMarkerDetector const osg::ref_ptr< amire::common::MarkerDetector > &  markerDetector  ) 
 

Sets the marker detector plug-in for the application. This method should be used to change the merker detection system (like ARToolKit).

void amire::component::MREngine::setMouseBroadcast bool  mouseBroadcast = true  ) 
 

Sets the broadcast option for the default mouse picking device. The pick action id forwarded to each handler, which has acceped the pick, if the boracast option is enabled. Otherwise, only the handler, which is selected by the selection handler, gets the pick action.

void amire::component::MREngine::setPosition2DPickingMask const osg::ref_ptr< Position2DPickingHandler > &  handler,
long  pickingMask
 

Sets the picking mask for the given 2D picking handler (only picks that are included in the mask will be performed for this handler). The 2D picking handler will be called when a 2D pick is performed (call of the fireAction method or pick method).

void amire::component::MREngine::setPosition3DPickingMask const osg::ref_ptr< Position3DPickingHandler > &  handler,
long  pickingMask
 

Sets the picking mask for the given 3D picking handler (only picks that are included in the mask will be performed for this handler). The 3D picking handler will be called when a 3D pick is performed (call of the fireAction method or pick method).

void amire::component::MREngine::setVideoImage const osg::ref_ptr< amire::common::ProjectionVideoImage > &  videoImage  ) 
 

Sets the video image plug-in for the application. This method should be used to change the background image provider (like a web-cam or a movie).


The documentation for this class was generated from the following file:
Generated on Tue May 20 17:23:57 2003 for AMIRE-Framework by doxygen1.3