00001 #ifndef COIN_SOPOINTLIGHTDRAGGER_H
00002 #define COIN_SOPOINTLIGHTDRAGGER_H
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #include <Inventor/draggers/SoDragger.h>
00028 #include <Inventor/fields/SoSFVec3f.h>
00029
00030 class SoSensor;
00031 class SoFieldSensor;
00032
00033
00034 class COIN_DLL_API SoPointLightDragger : public SoDragger {
00035 typedef SoDragger inherited;
00036
00037 SO_KIT_HEADER(SoPointLightDragger);
00038
00039 SO_KIT_CATALOG_ENTRY_HEADER(material);
00040 SO_KIT_CATALOG_ENTRY_HEADER(translator);
00041
00042
00043 public:
00044 static void initClass(void);
00045 SoPointLightDragger(void);
00046
00047 SoSFVec3f translation;
00048
00049 protected:
00050 ~SoPointLightDragger();
00051 virtual SbBool setUpConnections(SbBool onoff, SbBool doitalways = FALSE);
00052 virtual void setDefaultOnNonWritingFields(void);
00053
00054 static void fieldSensorCB(void * f, SoSensor * s);
00055 static void valueChangedCB(void * f, SoDragger * d);
00056
00057 SoFieldSensor * fieldSensor;
00058 };
00059
00060 #endif // !COIN_SOPOINTLIGHTDRAGGER_H