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