Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <mitkNrrdTbssImageWriter.h>
Public Types | |
typedef mitk::TbssImage | InputType |
Public Types inherited from mitk::FileWriterWithInformation | |
typedef FileWriterWithInformation | Self |
typedef FileWriter | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Public Types inherited from mitk::FileWriter | |
typedef FileWriter | Self |
typedef itk::ProcessObject | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Public Member Functions | |
mitkClassMacro (NrrdTbssImageWriter, mitk::FileWriterWithInformation) mitkWriterMacro static Pointer New() | |
Pointer | Clone () const |
virtual void | SetFileName (const char *_arg) |
virtual const char * | GetFileName () const |
virtual void | SetFilePrefix (const char *_arg) |
virtual const char * | GetFilePrefix () const |
virtual void | SetFilePattern (const char *_arg) |
virtual const char * | GetFilePattern () const |
void | SetInput (InputType *input) |
InputType * | GetInput () |
virtual bool | GetSuccess () |
virtual std::vector< std::string > | GetPossibleFileExtensions () override |
std::string | GetSupportedBaseData () const override |
virtual const char * | GetDefaultFilename () override |
virtual const char * | GetFileDialogPattern () override |
virtual const char * | GetDefaultExtension () override |
virtual bool | CanWriteBaseDataType (BaseData::Pointer data) override |
virtual void | DoWrite (BaseData::Pointer data) override |
Public Member Functions inherited from mitk::FileWriterWithInformation | |
virtual std::vector< std::string > | GetClassHierarchy () const override |
virtual const char * | GetClassName () const |
Public Member Functions inherited from mitk::FileWriter | |
virtual std::string | GetFileExtension () |
Return the extension to be added to the filename. More... | |
bool | IsExtensionValid (std::string extension) |
Checks if given extension is valid for file writer. More... | |
virtual std::string | GetPossibleFileExtensionsAsString () |
possible file extensions for the data type associated with the writer as string More... | |
virtual bool | CanWriteDataType (DataNode *) |
Check if the Writer can write this type of data of the DataTreenode. More... | |
virtual std::string | GetWritenMIMEType () |
Return the MimeType of the saved File. More... | |
void | SetInput (BaseData *data) |
virtual void | Write ()=0 |
virtual bool | CanWriteToMemory () |
Specifies, whether the file writer also can write a file to a memory buffer. More... | |
virtual void | SetWriteToMemory (bool write) |
Set/Get functions to advise the file writer to use tis internal memory array as file writing destination. More... | |
virtual bool | GetWriteToMemory () |
virtual const char * | GetMemoryPointer () |
To be used along with a call of SetWriteToMemory(true). This returns the memory buffer where the file was written. More... | |
virtual unsigned int | GetMemorySize () |
To be used along with a call of SetWriteToMemory(true). This returns the size of the memory buffer where the file was written. More... | |
virtual void | ReleaseMemory () |
CAUTION: It's up to the user to call this function to release the memory buffer after use in case the file writer has written to its memory array. More... | |
Protected Member Functions | |
NrrdTbssImageWriter () | |
virtual | ~NrrdTbssImageWriter () |
virtual void | GenerateData () override |
Protected Member Functions inherited from mitk::FileWriter | |
FileWriter () | |
virtual | ~FileWriter () |
Protected Attributes | |
std::string | m_FileName |
std::string | m_FilePrefix |
std::string | m_FilePattern |
bool | m_Success |
Protected Attributes inherited from mitk::FileWriter | |
bool | m_CanWriteToMemory |
bool | m_WriteToMemory |
char * | m_MemoryBuffer |
unsigned int | m_MemoryBufferSize |
Additional Inherited Members | |
Static Public Member Functions inherited from mitk::FileWriterWithInformation | |
static const char * | GetStaticNameOfClass () |
Static Public Member Functions inherited from mitk::FileWriter | |
static const char * | GetStaticNameOfClass () |
Writes diffusion volumes to a file
Definition at line 33 of file mitkNrrdTbssImageWriter.h.
Definition at line 44 of file mitkNrrdTbssImageWriter.h.
|
protected |
Definition at line 33 of file mitkNrrdTbssImageWriter.cpp.
|
protectedvirtual |
Definition at line 39 of file mitkNrrdTbssImageWriter.cpp.
|
inlineoverridevirtual |
Implements mitk::FileWriterWithInformation.
Definition at line 104 of file mitkNrrdTbssImageWriter.h.
Pointer mitk::NrrdTbssImageWriter::Clone | ( | ) | const |
|
inlineoverridevirtual |
Implements mitk::FileWriterWithInformation.
Definition at line 110 of file mitkNrrdTbssImageWriter.h.
References Update().
|
overrideprotectedvirtual |
Definition at line 43 of file mitkNrrdTbssImageWriter.cpp.
References mitk::TbssImage::GetGroupInfo(), mitk::TbssImage::GetImage(), mitk::TbssImage::GetMeasurementInfo(), and mitk::New().
|
inlineoverridevirtual |
Implements mitk::FileWriterWithInformation.
Definition at line 103 of file mitkNrrdTbssImageWriter.h.
|
inlineoverridevirtual |
Implements mitk::FileWriterWithInformation.
Definition at line 101 of file mitkNrrdTbssImageWriter.h.
|
inlineoverridevirtual |
Implements mitk::FileWriterWithInformation.
Definition at line 102 of file mitkNrrdTbssImageWriter.h.
|
virtual |
Implements mitk::FileWriter.
|
virtual |
Implements mitk::FileWriter.
|
virtual |
Implements mitk::FileWriter.
mitk::TbssImage * mitk::NrrdTbssImageWriter::GetInput | ( | void | ) |
itk::VectorImage<TPixelType, 3>
Definition at line 140 of file mitkNrrdTbssImageWriter.cpp.
|
overridevirtual |
Implements mitk::FileWriter.
Definition at line 153 of file mitkNrrdTbssImageWriter.cpp.
|
virtual |
Returns false if an error happened during writing
|
overridevirtual |
Implements mitk::FileWriter.
Definition at line 160 of file mitkNrrdTbssImageWriter.cpp.
References mitk::Image::GetStaticNameOfClass().
mitk::NrrdTbssImageWriter::mitkClassMacro | ( | NrrdTbssImageWriter | , |
mitk::FileWriterWithInformation | |||
) |
|
virtual |
Sets the filename of the file to write.
FileName | the nameInputType of the file to write. |
Implements mitk::FileWriter.
|
virtual |
Implements mitk::FileWriter.
|
virtual |
Implements mitk::FileWriter.
void mitk::NrrdTbssImageWriter::SetInput | ( | InputType * | input | ) |
Definition at line 134 of file mitkNrrdTbssImageWriter.cpp.
|
protected |
Definition at line 125 of file mitkNrrdTbssImageWriter.h.
|
protected |
Definition at line 129 of file mitkNrrdTbssImageWriter.h.
|
protected |
Definition at line 127 of file mitkNrrdTbssImageWriter.h.
|
protected |
Definition at line 131 of file mitkNrrdTbssImageWriter.h.