Open Inventor Release 2024.1.3
 
Loading...
Searching...
No Matches
RenderAreaExaminer.h
1#ifndef RenderAreaExaminer_H
2#define RenderAreaExaminer_H
3
4#include <Inventor/ViewerComponents/Qt/RenderAreaInteractive.h>
5#include <Inventor/ViewerComponents/nodes/SceneExaminer.h>
6#include <Inventor/ViewerComponents/nodes/SiInteractionModeListener.h>
7#include <qcursor.h>
8
19class QTVIEWERCOMPONENTS_API RenderAreaExaminer : public RenderAreaInteractive, public SiInteractionModeListener
20{
21 public:
22 static QCursor* s_seekCursor;
23 static QCursor* s_viewingCursor;
25 RenderAreaExaminer( QWidget* parent );
26SoDEPRECATED
33
38 virtual SceneExaminer* getSceneInteractor() const override;
39
44
49
53 void seekModeChanged( const bool onOrOff );
54
59
60private:
61 SceneExaminer* m_examinerRootSceneGraph;
62 void updateInteractionCursor();
63
64};
65
66#endif // RenderAreaExaminer_H
Class to render an OpenInventor scene graph in a Qt OpenGL window.
RenderAreaExaminer(QWidget *parent)
Constructor.
virtual void setNavigationMode(SceneExaminer::NavigationMode mode)
Sets navigation mode.
SoDEPRECATED SceneExaminer * getSceneExaminer()
Returns the scene examiner.
virtual SceneExaminer * getSceneInteractor() const override
Returns the scene examiner.
void interactionModeChanged(SceneExaminer::InteractionMode mode)
This method is called when the interaction has changed.
static QCursor * s_seekCursor
void seekModeChanged(const bool onOrOff)
This method is called when the seek mode is activated and deactivated.
virtual SceneExaminer::NavigationMode getNavigationMode()
Returns the current navigation mode.
static QCursor * s_viewingCursor
Class to render an OpenInventor scene in a Qt OpenGL window.
Tool class for building a basic interactive OpenInventor application with scene "examiner" viewing be...
NavigationMode
Navigation Mode.
InteractionMode
Interaction Mode (navigation or selection)
This interface provides the list of interaction methods that subclasses must define.