00001 #ifndef RenderAreaExaminer_H 00002 #define RenderAreaExaminer_H 00003 00004 #include <Inventor/ViewerComponents/Qt/RenderAreaInteractive.h> 00005 #include <Inventor/ViewerComponents/nodes/SceneExaminer.h> 00006 #include <Inventor/ViewerComponents/nodes/SiInteractionModeListener.h> 00007 #include <qcursor.h> 00008 00019 class QTVIEWERCOMPONENTS_API RenderAreaExaminer : public RenderAreaInteractive, public SiInteractionModeListener 00020 { 00021 public: 00022 static QCursor* s_seekCursor; 00023 static QCursor* s_viewingCursor; 00025 RenderAreaExaminer( QWidget* parent ); 00026 SoDEPRECATED 00032 SceneExaminer* getSceneExaminer(); 00033 00038 virtual SceneExaminer* getSceneInteractor() const override; 00039 00043 virtual void setNavigationMode( SceneExaminer::NavigationMode mode ); 00044 00048 virtual SceneExaminer::NavigationMode getNavigationMode(); 00049 00053 void seekModeChanged( const bool onOrOff ); 00054 00058 void interactionModeChanged( SceneExaminer::InteractionMode mode ); 00059 00060 private: 00061 SceneExaminer* m_examinerRootSceneGraph; 00062 void updateInteractionCursor(); 00063 00064 }; 00065 00066 #endif // RenderAreaExaminer_H 00067