Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
#include <mitkNrrdTbssImageReader.h>
Public Member Functions | |
mitkClassMacro (NrrdTbssImageReader, TbssVolSourceType) static Pointer New() | |
Pointer | Clone () const |
const char * | GetFileName () const override |
void | SetFileName (const char *aFileName) override |
Specify the file to load. More... | |
const char * | GetFilePrefix () const override |
Get the specified file prefix for the file(s) to load. More... | |
void | SetFilePrefix (const char *aFilePrefix) override |
Specify file prefix for the file(s) to load. More... | |
const char * | GetFilePattern () const override |
Get the specified file pattern for the file(s) to load. The sprintf format used to build filename from FilePrefix and number. More... | |
void | SetFilePattern (const char *aFilePattern) override |
Specified file pattern for the file(s) to load. The sprintf format used to build filename from FilePrefix and number. More... | |
Public Member Functions inherited from mitk::TbssImageSource | |
mitkClassMacro (TbssImageSource, BaseDataSource) static Pointer New() | |
Pointer | Clone () const |
virtual itk::DataObject::Pointer | MakeOutput (DataObjectPointerArraySizeType idx) override |
virtual itk::DataObject::Pointer | MakeOutput (const DataObjectIdentifierType &name) override |
OutputType * | GetOutput () |
OutputType * | GetOutput (unsigned int idx) |
Public Member Functions inherited from mitk::ImageSource | |
virtual std::vector< std::string > | GetClassHierarchy () const override |
virtual const char * | GetClassName () const |
Pointer | Clone () const |
OutputType * | GetOutput () |
Get the output data of this image source object. More... | |
const OutputType * | GetOutput () const |
OutputType * | GetOutput (DataObjectPointerArraySizeType idx) |
const OutputType * | GetOutput (DataObjectPointerArraySizeType idx) const |
virtual vtkImageData * | GetVtkImageData () |
virtual const vtkImageData * | GetVtkImageData () const |
Public Member Functions inherited from mitk::BaseDataSource | |
OutputType * | GetOutput () |
const OutputType * | GetOutput () const |
OutputType * | GetOutput (DataObjectPointerArraySizeType idx) |
const OutputType * | GetOutput (DataObjectPointerArraySizeType idx) const |
virtual void | GraftOutput (OutputType *output) |
Graft the specified BaseData onto this BaseDataSource's output. More... | |
virtual void | GraftOutput (const DataObjectIdentifierType &key, OutputType *output) |
virtual void | GraftNthOutput (unsigned int idx, OutputType *output) |
Graft the specified base data object onto this BaseDataSource's idx'th output. More... | |
bool | Updating () const |
Access itk::ProcessObject::m_Updating. More... | |
Public Member Functions inherited from mitk::FileReader | |
virtual std::vector< std::string > | GetClassHierarchy () const |
itkTypeMacroNoParent (FileReader) virtual const char *GetFileName() const =0 | |
Get the specified the file to load. More... | |
virtual bool | CanReadFromMemory () |
Specifies, whether the file reader also can read a file from a memory buffer. More... | |
virtual void | SetReadFromMemory (bool read) |
Set/Get functions to advise the file reader to use a memory array for reading a file. More... | |
virtual bool | GetReadFromMemory () |
virtual void | SetMemoryBuffer (const char *dataArray, unsigned int size) |
To be used along with a call of SetReadFromMemory(true). This sets the memory buffer and the size from which the reader will read. More... | |
Static Public Member Functions | |
static bool | CanReadFile (const std::string filename, const std::string filePrefix, const std::string filePattern) |
Static Public Member Functions inherited from mitk::ImageSource | |
static const char * | GetStaticNameOfClass () |
static Pointer | New () |
Method for creation through the object factory. More... | |
Static Public Member Functions inherited from mitk::BaseDataSource | |
static const char * | GetStaticNameOfClass () |
Static Public Member Functions inherited from mitk::FileReader | |
static const char * | GetStaticNameOfClass () |
Protected Member Functions | |
virtual void | GenerateData () override |
virtual void | GenerateOutputInformation () override |
void | Tokenize (const std::string &str, std::vector< std::string > &tokens, const std::string &delimiters=" ") |
Protected Member Functions inherited from mitk::TbssImageSource | |
TbssImageSource () | |
virtual | ~TbssImageSource () |
Protected Member Functions inherited from mitk::ImageSource | |
ImageSource () | |
virtual | ~ImageSource () |
virtual void | ThreadedGenerateData (const OutputImageRegionType &outputRegionForThread, itk::ThreadIdType threadId) |
If an imaging filter can be implemented as a multithreaded algorithm, the filter will provide an implementation of ThreadedGenerateData(). More... | |
virtual void | PrepareOutputs () override |
This method is intentionally left blank. More... | |
virtual void | AllocateOutputs () |
The GenerateData method normally allocates the buffers for all of the outputs of a filter. More... | |
virtual void | BeforeThreadedGenerateData () |
If an imaging filter needs to perform processing after the buffer has been allocated but before threads are spawned, the filter can can provide an implementation for BeforeThreadedGenerateData(). More... | |
virtual void | AfterThreadedGenerateData () |
If an imaging filter needs to perform processing after all processing threads have completed, the filter can can provide an implementation for AfterThreadedGenerateData(). More... | |
virtual unsigned int | SplitRequestedRegion (unsigned int i, unsigned int num, OutputImageRegionType &splitRegion) |
Split the output's RequestedRegion into "num" pieces, returning region "i" as "splitRegion". More... | |
Protected Member Functions inherited from mitk::BaseDataSource | |
BaseDataSource () | |
virtual | ~BaseDataSource () |
Protected Member Functions inherited from mitk::FileReader | |
FileReader () | |
virtual | ~FileReader () |
Protected Attributes | |
std::string | m_FileName |
std::string | m_FilePrefix |
std::string | m_FilePattern |
std::vector< std::pair< std::string, int > > | m_GroupInfo |
OutputType::Pointer | m_OutputCache |
itk::TimeStamp | m_CacheTime |
Protected Attributes inherited from mitk::FileReader | |
bool | m_CanReadFromMemory |
bool | m_ReadFromMemory |
const char * | m_MemoryBuffer |
unsigned int | m_MemorySize |
Additional Inherited Members | |
Static Protected Member Functions inherited from mitk::ImageSource | |
static ITK_THREAD_RETURN_TYPE | ThreaderCallback (void *arg) |
Static function used as a "callback" by the MultiThreader. More... | |
Static Protected Member Functions inherited from mitk::BaseDataSource | |
static Pointer | New () |
Definition at line 34 of file mitkNrrdTbssImageReader.h.
typedef itk::VectorImage<float,3> mitk::NrrdTbssImageReader::ImageType |
Definition at line 39 of file mitkNrrdTbssImageReader.h.
Definition at line 38 of file mitkNrrdTbssImageReader.h.
Definition at line 40 of file mitkNrrdTbssImageReader.h.
|
static |
Definition at line 253 of file mitkNrrdTbssImageReader.cpp.
References MITK_INFO, and mitk::New().
Pointer mitk::NrrdTbssImageReader::Clone | ( | ) | const |
|
overrideprotectedvirtual |
Does the real work.
Reimplemented from mitk::ImageSource.
Definition at line 38 of file mitkNrrdTbssImageReader.cpp.
|
overrideprotectedvirtual |
Definition at line 70 of file mitkNrrdTbssImageReader.cpp.
References MITK_INFO, and mitk::New().
|
override |
Definition at line 217 of file mitkNrrdTbssImageReader.cpp.
|
overridevirtual |
Get the specified file pattern for the file(s) to load. The sprintf format used to build filename from FilePrefix and number.
You should specify either a FileName or FilePrefix. Use FilePrefix if the data is stored in multiple files.
Implements mitk::FileReader.
Definition at line 241 of file mitkNrrdTbssImageReader.cpp.
|
overridevirtual |
Get the specified file prefix for the file(s) to load.
You should specify either a FileName or FilePrefix. Use FilePrefix if the data is stored in multiple files.
Implements mitk::FileReader.
Definition at line 229 of file mitkNrrdTbssImageReader.cpp.
mitk::NrrdTbssImageReader::mitkClassMacro | ( | NrrdTbssImageReader | , |
TbssVolSourceType | |||
) |
|
overridevirtual |
Specify the file to load.
Either the FileName or FilePrefix plus FilePattern are used to read.
Implements mitk::FileReader.
Definition at line 223 of file mitkNrrdTbssImageReader.cpp.
|
overridevirtual |
Specified file pattern for the file(s) to load. The sprintf format used to build filename from FilePrefix and number.
You should specify either a FileName or FilePrefix. Use FilePrefix if the data is stored in multiple files.
Implements mitk::FileReader.
Definition at line 247 of file mitkNrrdTbssImageReader.cpp.
|
overridevirtual |
Specify file prefix for the file(s) to load.
You should specify either a FileName or FilePrefix. Use FilePrefix if the data is stored in multiple files.
Implements mitk::FileReader.
Definition at line 235 of file mitkNrrdTbssImageReader.cpp.
|
inlineprotected |
Definition at line 74 of file mitkNrrdTbssImageReader.h.
|
protected |
Definition at line 71 of file mitkNrrdTbssImageReader.h.
|
protected |
Definition at line 64 of file mitkNrrdTbssImageReader.h.
|
protected |
Definition at line 66 of file mitkNrrdTbssImageReader.h.
|
protected |
Definition at line 65 of file mitkNrrdTbssImageReader.h.
|
protected |
Definition at line 68 of file mitkNrrdTbssImageReader.h.
|
protected |
Definition at line 70 of file mitkNrrdTbssImageReader.h.