![]() |
ITK
4.3.0
Insight Segmentation and Registration Toolkit
|
#include <itkMetaArrayReader.h>
Definition at line 29 of file itkMetaArrayReader.h.
Public Types | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef MetaArrayReader | Self |
typedef LightProcessObject | Superclass |
![]() | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightProcessObject | Self |
typedef Object | Superclass |
![]() | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef Object | Self |
typedef LightObject | Superclass |
![]() | |
typedef SmartPointer< const Self > | ConstPointer |
typedef SmartPointer< Self > | Pointer |
typedef LightObject | Self |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
int | GetCovariantVectorDimension (void) const |
MET_ValueEnumType | GetDataType (void) const |
template<typename TValueType > | |
void | GetElement (TValueType &value, unsigned int i, unsigned int channel=0) const |
virtual const char * | GetFileName () const |
MetaArray * | GetMetaArrayPointer (void) |
virtual const char * | GetNameOfClass () const |
int | GetNumberOfComponents (void) const |
int | GetNumberOfElements (void) const |
int | GetVectorDimension (void) const |
void | SetBuffer (void *_buffer) |
virtual void | SetFileName (const char *_arg) |
int | Size (void) const |
void | Update () |
template<typename TValueType > | |
void | GetOutput (MET_ValueEnumType _metaElementType, Array< TValueType > *_array, bool _letArrayManageData=true) |
template<typename TValueType , unsigned int VLength> | |
bool | GetOutput (MET_ValueEnumType, FixedArray< TValueType, VLength > *_array) |
template<typename TValueType , unsigned int VLength> | |
bool | GetOutput (MET_ValueEnumType, Vector< TValueType, VLength > *_vector) |
template<typename TValueType , unsigned int VLength> | |
bool | GetOutput (MET_ValueEnumType, CovariantVector< TValueType, VLength > *_vector) |
template<typename TValueType > | |
void | GetOutput (MET_ValueEnumType _metaElementType, VariableLengthVector< TValueType > *_vector, bool _letVectorManageData=true) |
template<typename TValueType > | |
void | GetMultiChannelOutput (MET_ValueEnumType _metaElementType, Array< TValueType > *_array) |
![]() | |
virtual void | AbortGenerateDataOff () |
virtual void | AbortGenerateDataOn () |
virtual const bool & | GetAbortGenerateData () |
virtual void | SetAbortGenerateData (bool _arg) |
virtual void | UpdateOutputData () |
void | UpdateProgress (float amount) |
virtual void | SetProgress (float _arg) |
virtual const float & | GetProgress () |
![]() | |
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 |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) |
void | SetDebug (bool debugFlag) const |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
virtual void | SetReferenceCount (int) |
virtual void | UnRegister () const |
![]() | |
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 Pointer | New () |
![]() | |
static bool | GetGlobalWarningDisplay () |
static void | GlobalWarningDisplayOff () |
static void | GlobalWarningDisplayOn () |
static Pointer | New () |
static void | SetGlobalWarningDisplay (bool flag) |
![]() | |
static void | BreakOnError () |
static Pointer | New () |
Protected Member Functions | |
MetaArrayReader () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
virtual | ~MetaArrayReader () |
![]() | |
virtual void | GenerateData () |
LightProcessObject () | |
~LightProcessObject () | |
![]() | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () |
![]() | |
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 | |
void * | m_Buffer |
std::string | m_FileName |
MetaArray | m_MetaArray |
Additional Inherited Members | |
![]() | |
typedef int | InternalReferenceCountType |
![]() | |
InternalReferenceCountType | m_ReferenceCount |
SimpleFastMutexLock | m_ReferenceCountLock |
typedef SmartPointer< const Self > itk::MetaArrayReader::ConstPointer |
Definition at line 37 of file itkMetaArrayReader.h.
typedef SmartPointer< Self > itk::MetaArrayReader::Pointer |
Definition at line 36 of file itkMetaArrayReader.h.
SmartPointer typedef support
Definition at line 34 of file itkMetaArrayReader.h.
Definition at line 35 of file itkMetaArrayReader.h.
|
protected |
|
protectedvirtual |
|
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.
|
inline |
GetCovariantVectorDimension is used by itkVector
Definition at line 92 of file itkMetaArrayReader.h.
|
inline |
Return the MetaIO type that corresponds to the element type
Definition at line 62 of file itkMetaArrayReader.h.
|
inline |
GetElement is used by itkArray, itkFixedArray, and VariableLengthVector
Definition at line 99 of file itkMetaArrayReader.h.
|
virtual |
Get the filename
MetaArray* itk::MetaArrayReader::GetMetaArrayPointer | ( | void | ) |
Get a pointer to the metaArray so that you can change metaArray options (e.g., add comments and user-defined fields
|
inline |
Get an itk Array of Arrays, itk::Array< itk::Array<short> >. Assumes all sub-arrays have the same length. Specify the MetaType of the elements of the Array< Array< * > > and provide a pointer to the Array of arrays. Elements are copied into the array of arrays.
Definition at line 226 of file itkMetaArrayReader.h.
References itk::Array< TValueType >::SetSize().
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::LightProcessObject.
|
inline |
GetNumberOfComponents is used by itkVector and itkCovariantVector
Definition at line 86 of file itkMetaArrayReader.h.
|
inline |
GetNumberOfElements is used by itkArray and VariableLengthVector
Definition at line 74 of file itkMetaArrayReader.h.
|
inline |
Get itk Array Specify the MetaType of the elements of the Array and provide a pointer to the Array. The buffer of the Array is replaced by the buffer into which the data was directly read (a copy does not occur). If _letVectorManageData is true, the buffer persists even after this MetaArrayReader is destroyed. Otherwise, the buffer (and therefore the validity of the dat ain the Array) is destroyed when the MetaArrayReader is dstroyed.
Definition at line 115 of file itkMetaArrayReader.h.
References itk::Array< TValueType >::SetData().
|
inline |
Get itk FixedArray
Definition at line 135 of file itkMetaArrayReader.h.
|
inline |
Get itk Vector Specify the MetaType of the elements of the itkVector and provide a pointer to the itkVector into which the data should be copied
Definition at line 155 of file itkMetaArrayReader.h.
|
inline |
Get itk CovariantVector Specify the MetaType of the elements of the itkCovariantVector and provide a pointer to the itkCovariantVector into which the data should be copied
Definition at line 176 of file itkMetaArrayReader.h.
|
inline |
Get itk VariableLengthVector Specify the MetaType of the elements of the VariableLengthVector and provide a pointer to the VariableLengthVector. The buffer of the VariableLengthVector is replaced by the buffer into which the data was directly read (a copy does not occur). If _letVectorManageData is true, the buffer persists even after this MetaArrayReader is destroyed. Otherwise, the buffer (and therefore the validity of the dat ain the VariableLengthVector) is destroyed when the MetaArrayReader is dstroyed.
Definition at line 202 of file itkMetaArrayReader.h.
References itk::VariableLengthVector< TValueType >::SetData().
|
inline |
GetVectorDimension is used by itkVector
Definition at line 80 of file itkMetaArrayReader.h.
|
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.
void itk::MetaArrayReader::SetBuffer | ( | void * | _buffer | ) |
Specify the buffer (already allocated) into which data should be read
|
virtual |
Set the filename
|
inline |
Size is used by itkArray and VariableLengthVector
Definition at line 68 of file itkMetaArrayReader.h.
void itk::MetaArrayReader::Update | ( | ) |
Read the Array in MetaIO format
|
private |
Definition at line 260 of file itkMetaArrayReader.h.
|
private |
Definition at line 258 of file itkMetaArrayReader.h.
|
private |
Definition at line 256 of file itkMetaArrayReader.h.