00001 /* 00002 * 00003 * Program: Slicer Image-Guided Navigator (The SIGN) 00004 * Module: $RCSfile: SignElementCheckpoint.h,v $ 00005 */ 00015 #ifndef _SIGNELEMENTCHECKPOINT_H 00016 #define _SIGNELEMENTCHECKPOINT_H 00017 00018 #include <map> 00019 #include <string> 00020 00021 #include <SignDLL.h> 00022 #include <SignElement.h> 00023 00024 00025 class SIGN_EXPORT SignElementCheckpoint : public SignElement 00026 { 00027 public: 00028 vtkTypeRevisionMacro(SignElementCheckpoint,SignElement); 00029 virtual void PrintSelf(ostream& os, vtkIndent indent); 00030 00031 static SignElementCheckpoint* New(); 00032 00034 bool ActivateElement(); 00036 bool DeActivateElement(); 00037 00039 void SetName(std::string name); 00040 00041 protected: 00042 SignElementCheckpoint(); 00043 ~SignElementCheckpoint(); 00044 00045 SignElementCheckpoint(const SignElementCheckpoint&); // Not implemented. 00046 void operator=(const SignElementCheckpoint&); // Not implemented. 00047 00048 private: 00049 std::string checkpointName; 00050 }; 00051 #endif
1.4.6