19 #ifndef itkCSVNumericObjectFileWriter_h 20 #define itkCSVNumericObjectFileWriter_h 25 #include "vnl/vnl_matrix.h" 26 #include "vnl/vnl_matrix_fixed.h" 60 template <
typename TValue,
unsigned int NRows = 0,
unsigned int NColumns = 0>
74 itkTypeMacro(Self,Superclass);
86 itkSetStringMacro(FileName);
87 itkSetMacro(FieldDelimiterCharacter,
char);
90 void SetInput(
const vnlMatrixType* obj);
93 void SetInput(
const vnlFixedMatrixType* obj);
96 void SetInput(
const itkMatrixType* obj);
107 virtual void Write();
117 virtual void PrintSelf(std::ostream &os,
Indent indent)
const ITK_OVERRIDE;
129 void operator=(const Self &) ITK_DELETE_FUNCTION;
134 #ifndef ITK_MANUAL_INSTANTIATION 135 #include "itkCSVNumericObjectFileWriter.hxx" A templated class holding a M x N size Matrix.
StringVectorType m_RowHeaders
itk::SizeValueType SizeValueType
void SetColumnHeaders(const StringVectorType &columnheaders)
itk::Size< 2 >::SizeValueType SizeValueType
vnl_matrix_fixed< TValue, NRows, NColumns > vnlFixedMatrixType
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
void SetInput(const vnlMatrixType *obj)
SmartPointer< Self > Pointer
Writes out numeric itk data objects to a csv file.
itk::Matrix< TValue, NRows, NColumns > itkMatrixType
virtual void PrintSelf(std::ostream &os, Indent indent) const override
SmartPointer< const Self > ConstPointer
StringVectorType m_ColumnHeaders
vnl_matrix< TValue > vnlMatrixType
virtual ~CSVNumericObjectFileWriter()
CSVNumericObjectFileWriter()
LightProcessObject Superclass
CSVNumericObjectFileWriter Self
LightProcessObject is the base class for all process objects (source, filters, mappers) in the Insigh...
Control indentation during Print() invocation.
char m_FieldDelimiterCharacter
std::vector< std::string > StringVectorType
void ColumnHeadersPushBack(const std::string &)
void SetRowHeaders(const StringVectorType &rowheaders)
void RowHeadersPushBack(const std::string &)