17 #ifndef _MITK_NRRDTBSSVOL_WRITER__H_
18 #define _MITK_NRRDTBSSVOL_WRITER__H_
20 #include <itkProcessObject.h>
23 #include "MitkQuantificationExports.h"
41 itkFactorylessNewMacro(
Self)
50 itkSetStringMacro( FileName )
55 itkGetStringMacro( FileName )
60 itkSetStringMacro( FilePrefix )
65 itkGetStringMacro( FilePrefix )
70 itkSetStringMacro( FilePattern )
75 itkGetStringMacro( FilePattern )
81 using ProcessObject::SetInput;
82 void SetInput( InputType* input );
86 InputType* GetInput();
91 itkGetMacro( Success,
bool )
96 virtual
std::vector<
std::
string> GetPossibleFileExtensions() override;
98 std::
string GetSupportedBaseData() const override;
101 virtual const
char * GetDefaultFilename()
override {
return "TbssImage.tbss"; }
106 return (dynamic_cast<mitk::TbssImage*>(data.GetPointer()) !=
nullptr);
111 if (CanWriteBaseDataType(data)) {
112 this->SetInput(dynamic_cast<mitk::TbssImage*>(data.GetPointer()));
123 virtual void GenerateData()
override;
std::string m_FilePattern
static void Update(vtkPolyData *)
DataCollection - Class to facilitate loading/accessing structured data.
virtual bool CanWriteBaseDataType(BaseData::Pointer data) override
#define mitkClassMacro(className, SuperClassName)
virtual const char * GetFileDialogPattern() override
Interface class of writers that write data to files.
virtual void DoWrite(BaseData::Pointer data) override
virtual const char * GetDefaultExtension() override
this class encapsulates diffusion volumes (vectorimages not yet supported by mitkImage) ...