![]() |
Home | Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Data Structures | File List | Namespace Members | Data Fields | Globals | Related Pages |
#include <itkImageFileCastWriter.h>
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::InputImagePixelType | InputImagePixelType |
typedef Superclass::InputImagePointer | InputImagePointer |
typedef Superclass::InputImageRegionType | InputImageRegionType |
typedef Superclass::InputImageType | InputImageType |
typedef SmartPointer< Self > | Pointer |
typedef ImageFileCastWriter | Self |
typedef ImageFileWriter < TInputImage > | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () const |
std::string | GetDefaultOutputComponentType (void) const |
virtual const char * | GetOutputComponentType () const |
itkStaticConstMacro (InputImageDimension, unsigned int, InputImageType::ImageDimension) | |
virtual void | SetOutputComponentType (const char *_arg) |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
template<class OutputComponentType > | |
void * | ConvertScalarImage (const DataObject *inputImage, const OutputComponentType &) |
void | GenerateData (void) |
ImageFileCastWriter () | |
~ImageFileCastWriter () | |
Protected Attributes | |
ProcessObject::Pointer | m_Caster |
Private Member Functions | |
ImageFileCastWriter (const Self &) | |
void | operator= (const Self &) |
Private Attributes | |
std::string | m_OutputComponentType |
Casts pixel type and writes image data.
This filter saves an image and casts the data on the fly, if necessary. This is useful in some cases, to avoid the use of a itk::CastImageFilter (to save memory for example).
Definition at line 38 of file itkImageFileCastWriter.h.
typedef SmartPointer<const Self> itk::ImageFileCastWriter< TInputImage >::ConstPointer |
Definition at line 45 of file itkImageFileCastWriter.h.
typedef Superclass::InputImagePixelType itk::ImageFileCastWriter< TInputImage >::InputImagePixelType |
Definition at line 57 of file itkImageFileCastWriter.h.
typedef Superclass::InputImagePointer itk::ImageFileCastWriter< TInputImage >::InputImagePointer |
Definition at line 55 of file itkImageFileCastWriter.h.
typedef Superclass::InputImageRegionType itk::ImageFileCastWriter< TInputImage >::InputImageRegionType |
Definition at line 56 of file itkImageFileCastWriter.h.
typedef Superclass::InputImageType itk::ImageFileCastWriter< TInputImage >::InputImageType |
Some convenient typedefs.
Definition at line 51 of file itkImageFileCastWriter.h.
typedef SmartPointer<Self> itk::ImageFileCastWriter< TInputImage >::Pointer |
Definition at line 44 of file itkImageFileCastWriter.h.
typedef ImageFileCastWriter itk::ImageFileCastWriter< TInputImage >::Self |
Standard class typedefs.
Definition at line 42 of file itkImageFileCastWriter.h.
typedef ImageFileWriter<TInputImage> itk::ImageFileCastWriter< TInputImage >::Superclass |
Definition at line 43 of file itkImageFileCastWriter.h.
itk::ImageFileCastWriter< TInputImage >::ImageFileCastWriter | ( | ) | [protected] |
itk::ImageFileCastWriter< TInputImage >::~ImageFileCastWriter | ( | ) | [protected] |
itk::ImageFileCastWriter< TInputImage >::ImageFileCastWriter | ( | const Self & | ) | [private] |
void* itk::ImageFileCastWriter< TInputImage >::ConvertScalarImage | ( | const DataObject * | inputImage, |
const OutputComponentType & | |||
) | [inline, protected] |
Templated function that casts the input image and returns a a pointer to the PixelBuffer. Assumes scalar singlecomponent images The buffer data is valid until this->m_Caster is destroyed or assigned a new caster. The ImageIO's PixelType is also adapted by this function
Definition at line 82 of file itkImageFileCastWriter.h.
void itk::ImageFileCastWriter< TInputImage >::GenerateData | ( | void | ) | [protected] |
Does the real work.
virtual const char* itk::ImageFileCastWriter< TInputImage >::GetClassName | ( | ) | const [virtual] |
Run-time type information (and related methods).
std::string itk::ImageFileCastWriter< TInputImage >::GetDefaultOutputComponentType | ( | void | ) | const |
Determine the default outputcomponentType
virtual const char* itk::ImageFileCastWriter< TInputImage >::GetOutputComponentType | ( | ) | const [virtual] |
itk::ImageFileCastWriter< TInputImage >::itkStaticConstMacro | ( | InputImageDimension | , |
unsigned | int, | ||
InputImageType::ImageDimension | |||
) |
static Pointer itk::ImageFileCastWriter< TInputImage >::New | ( | ) | [static] |
Method for creation through the object factory.
void itk::ImageFileCastWriter< TInputImage >::operator= | ( | const Self & | ) | [private] |
virtual void itk::ImageFileCastWriter< TInputImage >::SetOutputComponentType | ( | const char * | _arg | ) | [virtual] |
Set the component type for writing to disk; default: the same as the InputImagePixelType::ComponentType. This setting is ignored when the inputImagePixelType is not a scalar
ProcessObject::Pointer itk::ImageFileCastWriter< TInputImage >::m_Caster [protected] |
Definition at line 107 of file itkImageFileCastWriter.h.
std::string itk::ImageFileCastWriter< TInputImage >::m_OutputComponentType [private] |
Definition at line 113 of file itkImageFileCastWriter.h.
Generated on 11-05-2012 for elastix by ![]() |
![]() |