#include <Medical/Input/medicalMPRViewer/MyRenderAreaInteractive.h>
Public Member Functions | |
MyRenderAreaInteractive (QWidget *parent=NULL) | |
void | addSceneInteractor (SceneInteractor *sceneInteractor) |
virtual void | setSceneGraph (SoSeparator *sceneGraph) |
SoSeparator * | getRootSceneGraph () const |
virtual void | viewAll (const SbViewportRegion &viewport) |
virtual void | viewAxis (const SbVec3f &direction, const SbVec3f &up) |
virtual bool | isStereoSupported () const |
MyRenderAreaInteractive::MyRenderAreaInteractive | ( | QWidget * | parent = NULL |
) | [inline] |
void MyRenderAreaInteractive::addSceneInteractor | ( | SceneInteractor * | sceneInteractor | ) |
Add a scene interactor to the list of scene interactors used by this render area.
SoSeparator* MyRenderAreaInteractive::getRootSceneGraph | ( | ) | const [inline] |
Override getRootSceneGraph of SoRenderAreaInteractive to return a SoSeparator instead of a SceneInteractor.
Reimplemented from RenderAreaInteractive.
virtual bool MyRenderAreaInteractive::isStereoSupported | ( | ) | const [virtual] |
Returns true if stereo can be activated.
Reimplemented from RenderAreaInteractive.
virtual void MyRenderAreaInteractive::setSceneGraph | ( | SoSeparator * | sceneGraph | ) | [virtual] |
Override setSceneGraph of RenderAreaInteractive to avoid construction of SceneInteractor root node.
virtual void MyRenderAreaInteractive::viewAll | ( | const SbViewportRegion & | viewport | ) | [virtual] |
Perform a viewAll on each SceneInteractor.
Reimplemented from RenderAreaInteractive.
virtual void MyRenderAreaInteractive::viewAxis | ( | const SbVec3f & | direction, | |
const SbVec3f & | up | |||
) | [virtual] |
Perform a viewAxis on each SceneInteractor.
Reimplemented from RenderAreaInteractive.