ITK
4.6.0
Insight Segmentation and Registration Toolkit
|
#include <itkMetaArrayWriter.h>
Definition at line 30 of file itkMetaArrayWriter.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef MetaArrayWriter | Self |
typedef LightProcessObject | Superclass |
Public Types inherited from itk::LightProcessObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightProcessObject | Self |
typedef Object | Superclass |
Public Types inherited from itk::Object | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
Public Types inherited from itk::LightObject | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Public Member Functions | |
void | ConvertTo (MET_ValueEnumType _metaElementType) |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual bool | GetBinary () const |
virtual const char * | GetDataFileName () const |
virtual const char * | GetFileName () const |
virtual const char * | GetNameOfClass () const |
virtual void | SetBinary (bool _arg) |
virtual void | SetDataFileName (const char *_arg) |
virtual void | SetFileName (const char *_arg) |
void | Update () |
template<typename TValue > | |
void | SetInput (MET_ValueEnumType _metaElementType, const Array< TValue > *_array) |
template<typename TValue , unsigned int VLength> | |
void | SetInput (MET_ValueEnumType _metaElementType, const FixedArray< TValue, VLength > *_array) |
template<typename TValue , unsigned int VLength> | |
void | SetInput (MET_ValueEnumType _metaElementType, const Vector< TValue, VLength > *_vector) |
template<typename TValue , unsigned int VLength> | |
void | SetInput (MET_ValueEnumType _metaElementType, const CovariantVector< TValue, VLength > *_vector) |
template<typename TValue > | |
void | SetInput (MET_ValueEnumType _metaElementType, const VariableLengthVector< TValue > *_vector) |
template<typename TValue > | |
void | SetMultiChannelInput (MET_ValueEnumType _metaElementType, int, const Array< TValue > *_array) |
virtual void | SetPrecision (unsigned int _arg) |
virtual unsigned int | GetPrecision () const |
Public Member Functions inherited from itk::LightProcessObject | |
virtual void | AbortGenerateDataOff () |
virtual void | AbortGenerateDataOn () |
virtual const bool & | GetAbortGenerateData () const |
virtual void | SetAbortGenerateData (bool _arg) |
virtual void | UpdateOutputData () |
void | UpdateProgress (float amount) |
virtual void | SetProgress (float _arg) |
virtual const float & | GetProgress () const |
Public Member Functions inherited from itk::Object | |
unsigned long | AddObserver (const EventObject &event, Command *) |
unsigned long | AddObserver (const EventObject &event, Command *) const |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary (void) |
const MetaDataDictionary & | GetMetaDataDictionary (void) const |
virtual ModifiedTimeType | GetMTime () const |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
virtual void | Register () const ITK_OVERRIDE |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) ITK_OVERRIDE |
virtual void | UnRegister () const ITK_OVERRIDE |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
Public Member Functions inherited from itk::LightObject | |
virtual void | Delete () |
virtual int | GetReferenceCount () const |
itkCloneMacro (Self) | |
void | Print (std::ostream &os, Indent indent=0) const |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from itk::LightProcessObject | |
static Pointer | New () |
Static Public Member Functions inherited from itk::Object | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Protected Member Functions | |
MetaArrayWriter () | |
virtual void | PrintSelf (std::ostream &os, Indent indent) const ITK_OVERRIDE |
virtual | ~MetaArrayWriter () |
Protected Member Functions inherited from itk::LightProcessObject | |
virtual void | GenerateData () |
LightProcessObject () | |
~LightProcessObject () | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Private Attributes | |
bool | m_Binary |
const void * | m_Buffer |
std::string | m_DataFileName |
std::string | m_FileName |
MetaArray | m_MetaArray |
unsigned int | m_Precision |
Additional Inherited Members | |
Protected Types inherited from itk::LightObject | |
typedef int | InternalReferenceCountType |
Protected Attributes inherited from itk::LightObject | |
InternalReferenceCountType | m_ReferenceCount |
SimpleFastMutexLock | m_ReferenceCountLock |
typedef SmartPointer< const Self > itk::MetaArrayWriter::ConstPointer |
Definition at line 39 of file itkMetaArrayWriter.h.
typedef SmartPointer< Self > itk::MetaArrayWriter::Pointer |
Definition at line 38 of file itkMetaArrayWriter.h.
SmartPointer typedef support
Definition at line 35 of file itkMetaArrayWriter.h.
Definition at line 36 of file itkMetaArrayWriter.h.
|
protected |
|
protectedvirtual |
void itk::MetaArrayWriter::ConvertTo | ( | MET_ValueEnumType | _metaElementType | ) |
Set the data type written to the file
|
virtual |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::LightProcessObject.
|
virtual |
Returns true if the file to be produced will store the data in binary (instead of ascii) format
|
virtual |
Get the filename to which the data will be written
|
virtual |
Get the filename
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::LightProcessObject.
|
virtual |
Copies the elements from an array of arrays into the output buffer. Requires all sub-arrays to have the same length. length of the major array is the "length" of the array, while the length of the sub-arrays is the "number of channels" at each array position. Expected form itk::Array< itk::Array< * > >. May work for other sub-array-types that define the [] operator and the GetSize() function.
|
static |
Method for creation through the object factory
|
protectedvirtual |
Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from itk::LightProcessObject.
|
virtual |
Set the writer to store the array as binary data
|
virtual |
Set the filename to which the data is written Optional param - use if header and data should be in separate files.
|
virtual |
Set the filename
|
inline |
Set the input itk Array to write
Definition at line 70 of file itkMetaArrayWriter.h.
References itk::Array< TValue >::Size().
|
inline |
Set the input itk FixedArray to write
Definition at line 81 of file itkMetaArrayWriter.h.
References itk::FixedArray< TValue, VLength >::GetDataPointer().
|
inline |
Set the input itk Vector to write
Definition at line 92 of file itkMetaArrayWriter.h.
References itk::FixedArray< T, NVectorDimension >::GetDataPointer().
|
inline |
Set the input itk CovariantVector to write
Definition at line 103 of file itkMetaArrayWriter.h.
References itk::FixedArray< T, NVectorDimension >::GetDataPointer().
|
inline |
Set the input itk VariableLengthVector to write
Definition at line 114 of file itkMetaArrayWriter.h.
References itk::VariableLengthVector< TValue >::GetDataPointer(), and itk::VariableLengthVector< TValue >::Size().
|
inline |
Copies the elements from an array of arrays into the output buffer. Requires all sub-arrays to have the same length. length of the major array is the "length" of the array, while the length of the sub-arrays is the "number of channels" at each array position. Expected form itk::Array< itk::Array< * > >. May work for other sub-array-types that define the [] operator and the GetSize() function.
Definition at line 131 of file itkMetaArrayWriter.h.
References itk::Array< TValue >::GetSize().
|
virtual |
Set/Get the precision of the writing
void itk::MetaArrayWriter::Update | ( | ) |
Write out the array
|
private |
Definition at line 174 of file itkMetaArrayWriter.h.
|
private |
Definition at line 183 of file itkMetaArrayWriter.h.
|
private |
Definition at line 179 of file itkMetaArrayWriter.h.
|
private |
Definition at line 178 of file itkMetaArrayWriter.h.
|
private |
Definition at line 181 of file itkMetaArrayWriter.h.
|
private |
Definition at line 176 of file itkMetaArrayWriter.h.