17 #ifndef _MITK_NRRDTBSSROIVOL_WRITER__H_
18 #define _MITK_NRRDTBSSROIVOL_WRITER__H_
20 #include <itkProcessObject.h>
23 #include "MitkQuantificationExports.h"
43 itkFactorylessNewMacro(
Self)
52 itkSetStringMacro( FileName );
57 itkGetStringMacro( FileName );
62 itkSetStringMacro( FilePrefix );
67 itkGetStringMacro( FilePrefix );
72 itkSetStringMacro( FilePattern );
77 itkGetStringMacro( FilePattern );
83 using ProcessObject::SetInput;
84 void SetInput( InputType* input );
89 InputType* GetInput();
94 itkGetMacro( Success,
bool );
99 virtual
std::vector<
std::
string> GetPossibleFileExtensions() override;
101 std::
string GetSupportedBaseData() const override;
104 virtual const
char * GetDefaultFilename()
override {
return "TbssRoiImage.roi"; }
109 return (dynamic_cast<mitk::TbssRoiImage*>(data.GetPointer()) !=
nullptr);
114 if (CanWriteBaseDataType(data)) {
115 this->SetInput(dynamic_cast<mitk::TbssRoiImage*>(data.GetPointer()));
126 virtual void GenerateData()
override;
this class encapsulates diffusion volumes (vectorimages not yet supported by mitkImage) ...
virtual bool CanWriteBaseDataType(BaseData::Pointer data) override
static void Update(vtkPolyData *)
DataCollection - Class to facilitate loading/accessing structured data.
std::string m_FilePattern
virtual const char * GetFileDialogPattern() override
virtual const char * GetDefaultExtension() override
#define mitkClassMacro(className, SuperClassName)
Interface class of writers that write data to files.
virtual void DoWrite(BaseData::Pointer data) override
itk::Image< unsigned char, 3 > ImageType