ITK
6.0.0
Insight Toolkit
|
#include <itkMetaArrayWriter.h>
Definition at line 30 of file itkMetaArrayWriter.h.
Public Types | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = MetaArrayWriter |
using | Superclass = LightProcessObject |
Public Types inherited from itk::LightProcessObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightProcessObject |
using | Superclass = Object |
Public Types inherited from itk::Object | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = Object |
using | Superclass = LightObject |
Public Types inherited from itk::LightObject | |
using | ConstPointer = SmartPointer< const Self > |
using | Pointer = SmartPointer< Self > |
using | Self = LightObject |
Public Member Functions | |
void | ConvertTo (MET_ValueEnumType _metaElementType) |
const char * | GetNameOfClass () const override |
void | Update () |
virtual void | SetFileName (const char *_arg) |
virtual const char * | GetFileName () const |
virtual void | SetDataFileName (const char *_arg) |
virtual const char * | GetDataFileName () const |
virtual void | BinaryOn () |
virtual void | SetBinary (bool _arg) |
virtual bool | GetBinary () const |
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 | AbortGenerateDataOn () |
virtual const bool & | GetAbortGenerateData () const |
const char * | GetNameOfClass () const override |
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 *cmd) const |
unsigned long | AddObserver (const EventObject &event, std::function< void(const EventObject &)> function) const |
LightObject::Pointer | CreateAnother () const override |
virtual void | DebugOff () const |
virtual void | DebugOn () const |
Command * | GetCommand (unsigned long tag) |
bool | GetDebug () const |
MetaDataDictionary & | GetMetaDataDictionary () |
const MetaDataDictionary & | GetMetaDataDictionary () const |
virtual ModifiedTimeType | GetMTime () const |
const char * | GetNameOfClass () const override |
virtual const TimeStamp & | GetTimeStamp () const |
bool | HasObserver (const EventObject &event) const |
void | InvokeEvent (const EventObject &) |
void | InvokeEvent (const EventObject &) const |
virtual void | Modified () const |
void | Register () const override |
void | RemoveAllObservers () |
void | RemoveObserver (unsigned long tag) const |
void | SetDebug (bool debugFlag) const |
void | SetReferenceCount (int) override |
void | UnRegister () const noexcept override |
void | SetMetaDataDictionary (const MetaDataDictionary &rhs) |
void | SetMetaDataDictionary (MetaDataDictionary &&rrhs) |
virtual void | SetObjectName (std::string _arg) |
virtual const std::string & | GetObjectName () const |
Public Member Functions inherited from itk::LightObject | |
Pointer | Clone () const |
virtual Pointer | CreateAnother () const |
virtual void | Delete () |
virtual const char * | GetNameOfClass () const |
virtual int | GetReferenceCount () const |
void | Print (std::ostream &os, Indent indent=0) const |
virtual void | Register () const |
virtual void | SetReferenceCount (int) |
virtual void | UnRegister () const noexcept |
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 val) |
Static Public Member Functions inherited from itk::LightObject | |
static void | BreakOnError () |
static Pointer | New () |
Protected Member Functions | |
MetaArrayWriter () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~MetaArrayWriter () override | |
Protected Member Functions inherited from itk::LightProcessObject | |
virtual void | GenerateData () |
LightProcessObject () | |
void | PrintSelf (std::ostream &os, Indent indent) const override |
~LightProcessObject () override | |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
void | PrintSelf (std::ostream &os, Indent indent) const override |
virtual void | SetTimeStamp (const TimeStamp &timeStamp) |
~Object () override | |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintSelf (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Private Attributes | |
bool | m_Binary { false } |
const void * | m_Buffer { nullptr } |
std::string | m_DataFileName {} |
std::string | m_FileName {} |
MetaArray | m_MetaArray {} |
unsigned int | m_Precision { 6 } |
Additional Inherited Members | |
Protected Attributes inherited from itk::LightObject | |
std::atomic< int > | m_ReferenceCount {} |
using itk::MetaArrayWriter::ConstPointer = SmartPointer<const Self> |
Definition at line 38 of file itkMetaArrayWriter.h.
Definition at line 37 of file itkMetaArrayWriter.h.
SmartPointer type alias support
Definition at line 34 of file itkMetaArrayWriter.h.
Definition at line 35 of file itkMetaArrayWriter.h.
|
protected |
|
overrideprotected |
|
virtual |
Boolean to set binary mode. If set to On, data will be stored in the file in binary format; if set to Off, data will be stored in ascii format. Default is Off.
void itk::MetaArrayWriter::ConvertTo | ( | MET_ValueEnumType | _metaElementType | ) |
Set the data type written to the file.
|
virtual |
Boolean to set binary mode. If set to On, data will be stored in the file in binary format; if set to Off, data will be stored in ascii format. Default is Off.
|
virtual |
Set/Get the filename to which the data is written. Optional: use if header and data should be in separate files.
|
virtual |
Set/Get the filename.
|
overridevirtual |
Reimplemented from itk::LightProcessObject.
|
virtual |
Set/Get the precision of the writing.
|
static |
Method for creation through the object factory.
|
overrideprotectedvirtual |
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 |
Boolean to set binary mode. If set to On, data will be stored in the file in binary format; if set to Off, data will be stored in ascii format. Default is Off.
|
virtual |
Set/Get the filename to which the data is written. Optional: use if header and data should be in separate files.
|
virtual |
Set/Get the filename.
|
inline |
Set the input itk Array to write.
Definition at line 69 of file itkMetaArrayWriter.h.
References itk::Array< TValue >::Size().
|
inline |
Set the input itk CovariantVector to write.
Definition at line 99 of file itkMetaArrayWriter.h.
References itk::FixedArray< TValue, VLength >::GetDataPointer().
|
inline |
Set the input itk FixedArray to write.
Definition at line 79 of file itkMetaArrayWriter.h.
References itk::FixedArray< TValue, VLength >::GetDataPointer().
|
inline |
Set the input itk VariableLengthVector to write.
Definition at line 109 of file itkMetaArrayWriter.h.
|
inline |
Set the input itk Vector to write.
Definition at line 89 of file itkMetaArrayWriter.h.
References itk::FixedArray< TValue, VLength >::GetDataPointer().
|
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 125 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 162 of file itkMetaArrayWriter.h.
|
private |
Definition at line 171 of file itkMetaArrayWriter.h.
|
private |
Definition at line 167 of file itkMetaArrayWriter.h.
|
private |
Definition at line 166 of file itkMetaArrayWriter.h.
|
private |
Definition at line 169 of file itkMetaArrayWriter.h.
|
private |
Definition at line 164 of file itkMetaArrayWriter.h.