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 00015 class QTVIEWERCOMPONENTS_API RenderAreaExaminer : public RenderAreaInteractive, public SiInteractionModeListener 00016 { 00017 public: 00018 static QCursor* s_seekCursor; 00019 static QCursor* s_viewingCursor; 00021 RenderAreaExaminer( QWidget* parent ); 00022 00027 SceneExaminer* getSceneExaminer(); 00028 00032 virtual void setNavigationMode( SceneExaminer::NavigationMode mode ); 00033 00037 virtual SceneExaminer::NavigationMode getNavigationMode(); 00038 00042 void seekModeChanged( const bool onOrOff ); 00043 00047 void interactionModeChanged( SceneExaminer::InteractionMode mode ); 00048 00049 private: 00050 SceneExaminer* m_examinerRootSceneGraph; 00051 void updateInteractionCursor(); 00052 00053 }; 00054 00055 #endif // RenderAreaExaminer_H 00056