MeVisLabToolboxReference
MeVisLab/Standard/Sources/Inventor/SoView2D/extensions/SoView2DEnlargeOnClick.h
Go to the documentation of this file.
00001 #ifndef __SoView2DEnlargeOnClick_H
00002 #define __SoView2DEnlargeOnClick_H
00003 //----------------------------------------------------------------------------------
00004 // **InsertLicense** code
00005 //----------------------------------------------------------------------------------
00007 
00013 //----------------------------------------------------------------------------------
00014 
00015 #ifndef __SoView2DExtension_H
00016 #include "SoView2DExtension.h"
00017 #endif
00018 #include <Inventor/fields/SoSFString.h>
00019 
00021 class SOVIEW2D_API SoView2DEnlargeOnClick : public SoView2DExtension {
00022 
00023   SO_NODE_HEADER(SoView2DEnlargeOnClick);
00024 
00025 public:
00027   SoSFBool actOnDoubleClick;
00028 
00030   SoSFTrigger clicked;
00031 
00034   SoSFString viewName;
00035 
00037   static void   initClass();
00038 
00040   SoView2DEnlargeOnClick();
00041 
00043   bool   evalEvent(SoView2D* view2d, View2DSliceList* slicelist,
00044     View2DEvent* ec, View2DEventPhase phase);
00045 
00046 protected:
00047 };
00048 
00049 #endif