#include <itkMetaArrayWriter.h>
|
static Pointer | New () |
|
static Pointer | New () |
|
static bool | GetGlobalWarningDisplay () |
|
static void | GlobalWarningDisplayOff () |
|
static void | GlobalWarningDisplayOn () |
|
static Pointer | New () |
|
static void | SetGlobalWarningDisplay (bool val) |
|
static void | BreakOnError () |
|
static Pointer | New () |
|
bool | m_Binary { false } |
|
unsigned int | m_Precision { 6 } |
|
std::string | m_FileName |
|
std::string | m_DataFileName |
|
MetaArray | m_MetaArray |
|
const void * | m_Buffer { nullptr } |
|
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 | BinaryOff () |
|
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 |
|
void | ConvertTo (MET_ValueEnumType _metaElementType) |
|
void | Update () |
|
| MetaArrayWriter () |
|
| ~MetaArrayWriter () override |
|
void | PrintSelf (std::ostream &os, Indent indent) const override |
|
Definition at line 30 of file itkMetaArrayWriter.h.
◆ ConstPointer
◆ Pointer
◆ Self
◆ Superclass
◆ MetaArrayWriter()
itk::MetaArrayWriter::MetaArrayWriter |
( |
| ) |
|
|
protected |
◆ ~MetaArrayWriter()
itk::MetaArrayWriter::~MetaArrayWriter |
( |
| ) |
|
|
overrideprotected |
◆ BinaryOff()
virtual void itk::MetaArrayWriter::BinaryOff |
( |
| ) |
|
|
virtual |
◆ BinaryOn()
virtual void itk::MetaArrayWriter::BinaryOn |
( |
| ) |
|
|
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 ascci format. Default is Off.
◆ ConvertTo()
void itk::MetaArrayWriter::ConvertTo |
( |
MET_ValueEnumType |
_metaElementType | ) |
|
Set the data type written to the file.
◆ CreateAnother()
virtual::itk::LightObject::Pointer itk::MetaArrayWriter::CreateAnother |
( |
| ) |
const |
|
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.
◆ GetBinary()
virtual bool itk::MetaArrayWriter::GetBinary |
( |
| ) |
const |
|
virtual |
◆ GetDataFileName()
virtual const char* itk::MetaArrayWriter::GetDataFileName |
( |
| ) |
const |
|
virtual |
◆ GetFileName()
virtual const char* itk::MetaArrayWriter::GetFileName |
( |
| ) |
const |
|
virtual |
◆ GetNameOfClass()
virtual const char* itk::MetaArrayWriter::GetNameOfClass |
( |
| ) |
const |
|
virtual |
◆ GetPrecision()
virtual unsigned int itk::MetaArrayWriter::GetPrecision |
( |
| ) |
const |
|
virtual |
◆ New()
static Pointer itk::MetaArrayWriter::New |
( |
| ) |
|
|
static |
Method for creation through the object factory.
◆ PrintSelf()
void itk::MetaArrayWriter::PrintSelf |
( |
std::ostream & |
os, |
|
|
Indent |
indent |
|
) |
| const |
|
overrideprotectedvirtual |
◆ SetBinary()
virtual void itk::MetaArrayWriter::SetBinary |
( |
bool |
_arg | ) |
|
|
virtual |
◆ SetDataFileName()
virtual void itk::MetaArrayWriter::SetDataFileName |
( |
const char * |
_arg | ) |
|
|
virtual |
Set/Get the filename to which the data is written. Optional: use if header and data should be in separate files.
◆ SetFileName()
virtual void itk::MetaArrayWriter::SetFileName |
( |
const char * |
_arg | ) |
|
|
virtual |
◆ SetInput() [1/5]
template<typename TValue >
void itk::MetaArrayWriter::SetInput |
( |
MET_ValueEnumType |
_metaElementType, |
|
|
const Array< TValue > * |
_array |
|
) |
| |
|
inline |
◆ SetInput() [2/5]
template<typename TValue , unsigned int VLength>
void itk::MetaArrayWriter::SetInput |
( |
MET_ValueEnumType |
_metaElementType, |
|
|
const CovariantVector< TValue, VLength > * |
_vector |
|
) |
| |
|
inline |
◆ SetInput() [3/5]
template<typename TValue , unsigned int VLength>
void itk::MetaArrayWriter::SetInput |
( |
MET_ValueEnumType |
_metaElementType, |
|
|
const FixedArray< TValue, VLength > * |
_array |
|
) |
| |
|
inline |
◆ SetInput() [4/5]
template<typename TValue >
void itk::MetaArrayWriter::SetInput |
( |
MET_ValueEnumType |
_metaElementType, |
|
|
const VariableLengthVector< TValue > * |
_vector |
|
) |
| |
|
inline |
◆ SetInput() [5/5]
template<typename TValue , unsigned int VLength>
void itk::MetaArrayWriter::SetInput |
( |
MET_ValueEnumType |
_metaElementType, |
|
|
const Vector< TValue, VLength > * |
_vector |
|
) |
| |
|
inline |
◆ SetMultiChannelInput()
template<typename TValue >
void itk::MetaArrayWriter::SetMultiChannelInput |
( |
MET_ValueEnumType |
_metaElementType, |
|
|
int |
, |
|
|
const Array< TValue > * |
_array |
|
) |
| |
|
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 othesub-array-types that define the [] operator and the GetSize() function.
Definition at line 125 of file itkMetaArrayWriter.h.
References itk::Array< TValue >::GetSize().
◆ SetPrecision()
virtual void itk::MetaArrayWriter::SetPrecision |
( |
unsigned int |
_arg | ) |
|
|
virtual |
Set/Get the precision of the writing.
◆ Update()
void itk::MetaArrayWriter::Update |
( |
| ) |
|
◆ m_Binary
bool itk::MetaArrayWriter::m_Binary { false } |
|
private |
◆ m_Buffer
const void* itk::MetaArrayWriter::m_Buffer { nullptr } |
|
private |
◆ m_DataFileName
std::string itk::MetaArrayWriter::m_DataFileName |
|
private |
◆ m_FileName
std::string itk::MetaArrayWriter::m_FileName |
|
private |
◆ m_MetaArray
MetaArray itk::MetaArrayWriter::m_MetaArray |
|
private |
◆ m_Precision
unsigned int itk::MetaArrayWriter::m_Precision { 6 } |
|
private |
The documentation for this class was generated from the following file: