CMS 3D CMS Logo

Ig3DFieldControl.h

Go to the documentation of this file.
00001 #ifndef IGUANA_GL_BROWSERS_IG_3DFIELD_CONTROL_H
00002 # define IGUANA_GL_BROWSERS_IG_3DFIELD_CONTROL_H
00003 
00004 //<<<<<< INCLUDES                                                       >>>>>>
00005 
00006 # include "Iguana/GLBrowsers/interface/config.h"
00007 # include "Iguana/GLBrowsers/interface/IgControlBase.h"
00008 
00009 //<<<<<< PUBLIC DEFINES                                                 >>>>>>
00010 //<<<<<< PUBLIC CONSTANTS                                               >>>>>>
00011 //<<<<<< PUBLIC TYPES                                                   >>>>>>
00012 
00013 class SoField;
00014 class SoFieldSensor;
00015 class SoSensor;
00016 
00017 //<<<<<< PUBLIC VARIABLES                                               >>>>>>
00018 //<<<<<< PUBLIC FUNCTIONS                                               >>>>>>
00019 //<<<<<< CLASS DECLARATIONS                                             >>>>>>
00020 
00021 class IGUANA_GL_BROWSERS_API Ig3DFieldControl : public IgControlBase
00022 {
00023     Q_OBJECT
00024 public:
00025     Ig3DFieldControl (IgControlCategory *pane);
00026     ~Ig3DFieldControl (void);
00027     // implicit copy constructor
00028     // implicit assignment operator
00029     // implicit destructor
00030 
00031     void                clearField (void);
00032     virtual void        attach (void);
00033     virtual void        detach (void);
00034 
00035 public slots:
00036     virtual void        fieldSettingsChanged (void);
00037     
00038 signals:
00039     void                settingsChanged (SoField*);
00040     void                settingsChanged (void);
00041     
00042 protected:
00043     virtual bool        hasValue (void) const;
00044 
00045     void                setField (SoField *field);
00046     SoField *           field (void) const;
00047 
00048 protected:
00049     static void         fieldChanged (void *data, SoSensor *sensor);
00050 
00051     SoField             *m_field;
00052     SoFieldSensor       *m_sensor;
00053 };
00054 
00055 //<<<<<< INLINE PUBLIC FUNCTIONS                                        >>>>>>
00056 //<<<<<< INLINE MEMBER FUNCTIONS                                        >>>>>>
00057 
00058 #endif // IGUANA_GL_BROWSERS_IG_3DFIELD_CONTROL_H

Generated on Tue Jun 9 17:38:30 2009 for CMSSW by  doxygen 1.5.4