00001 /* 00002 * 00003 * Program: Slicer Image-Guided Navigator (The SIGN) 00004 * Module: $RCSfile: SignElementNextButton.h,v $ 00005 */ 00016 #ifndef _SIGNELEMENTNEXTBUTTON_H 00017 #define _SIGNELEMENTNEXTBUTTON_H 00018 00019 #include <map> 00020 00021 #include <SignDLL.h> 00022 #include <SignElement.h> 00023 00024 class vtkKWPushButton; 00025 00026 00027 class SIGN_EXPORT SignElementNextButton : public SignElement 00028 { 00029 public: 00030 vtkTypeRevisionMacro(SignElementNextButton,SignElement); 00031 virtual void PrintSelf(ostream& os, vtkIndent indent); 00032 00033 static SignElementNextButton* New(); 00034 00036 bool ActivateElement(); 00038 bool DeActivateElement(); 00039 00041 void SetNextButton(vtkKWPushButton* b); 00042 00043 protected: 00044 SignElementNextButton(); 00045 ~SignElementNextButton(); 00046 00047 SignElementNextButton(const SignElementNextButton&); // Not implemented. 00048 void operator=(const SignElementNextButton&); // Not implemented. 00049 00050 private: 00051 unsigned long nbcbid; 00052 vtkKWPushButton* nextButton; 00053 00054 static void NextButtonCallback(vtkObject *caller, unsigned long, void *data, void *calldata); 00055 }; 00056 #endif
1.4.6