00001 #ifndef IGUANA_GL_BROWSERS_IG_RPHI_BROWSER_H 00002 # define IGUANA_GL_BROWSERS_IG_RPHI_BROWSER_H 00003 00004 //<<<<<< INCLUDES >>>>>> 00005 00006 # include "Iguana/GLBrowsers/interface/config.h" 00007 # include "Iguana/GLBrowsers/interface/Ig3DBaseBrowser.h" 00008 00009 //<<<<<< PUBLIC DEFINES >>>>>> 00010 //<<<<<< PUBLIC CONSTANTS >>>>>> 00011 //<<<<<< PUBLIC TYPES >>>>>> 00012 00013 class IgRPhiModel; 00014 00015 //<<<<<< PUBLIC VARIABLES >>>>>> 00016 //<<<<<< PUBLIC FUNCTIONS >>>>>> 00017 //<<<<<< CLASS DECLARATIONS >>>>>> 00018 00019 class IGUANA_GL_BROWSERS_API IgRPhiBrowser : public Ig3DBaseBrowser 00020 { 00021 Q_OBJECT 00022 public: 00023 IgRPhiBrowser (IgState *state, IgSite *site, IgRPhiModel *model = 0); 00024 00025 static const char * catalogLabel (void); 00026 bool isGridVisible (void); 00027 00028 public slots: 00029 virtual void setGridVisibility (bool enable); 00030 virtual void viewPlaneX (void); 00031 virtual void viewPlaneY (void); 00032 virtual void viewPlaneZ (void); 00033 virtual void toggleCameraType (void); 00034 virtual void invertCamera (void); 00035 00036 protected: 00037 static SbBool eventCallback (void *closure, QEvent *event); 00038 00039 virtual void buildDecoration (QWidget *parent); 00040 virtual QWidget *buildLeftTrim (QWidget *parent); 00041 virtual QWidget *buildBottomTrim (QWidget *parent); 00042 virtual QWidget *buildRightTrim (QWidget *parent); 00043 00044 private: 00045 virtual void drawGrid (const bool enable); 00046 virtual void init (void); 00047 bool m_grid; 00048 }; 00049 00050 //<<<<<< INLINE PUBLIC FUNCTIONS >>>>>> 00051 //<<<<<< INLINE MEMBER FUNCTIONS >>>>>> 00052 00053 #endif // IGUANA_GL_BROWSERS_IG_RPHI_BROWSER_H