OTB
9.0.0
Orfeo Toolbox
|
#include <otbStatisticsXMLFileWriter.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef std::map< std::string, GenericMapType > | GenericMapContainer |
typedef std::map< std::string, std::string > | GenericMapType |
typedef std::pair< std::string, MeasurementVectorType > | InputDataType |
typedef MeasurementVectorType::ValueType | InputValueType |
typedef std::vector< InputDataType > | MeasurementVectorContainer |
typedef TMeasurementVector | MeasurementVectorType |
typedef itk::SmartPointer< Self > | Pointer |
typedef StatisticsXMLFileWriter | Self |
typedef itk::Object | Superclass |
Public Member Functions | |
void | AddInput (const char *name, const MeasurementVectorType &inputVector) |
template<typename MapType > | |
void | AddInputMap (const char *name, const MapType &map) |
void | CleanInputs () |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
void | Update () |
Static Public Member Functions | |
static Pointer | New () |
std::string | m_FileName |
MeasurementVectorContainer | m_MeasurementVectorContainer |
GenericMapContainer | m_GenericMapContainer |
virtual void | SetFileName (const char *_arg) |
virtual const char * | GetFileName () const |
virtual void | GenerateData () |
StatisticsXMLFileWriter () | |
~StatisticsXMLFileWriter () override | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
StatisticsXMLFileWriter (const Self &)=delete | |
void | operator= (const Self &)=delete |
Write in a xml file the values stored in a MeasurementVector set as input.
The vector can be set as input via AddInput(name, vector) where name is the name of the statistic, and vector the values. Supported vector types are those implementing the method GetElement(idx) and defining the type ValueType.
Definition at line 44 of file otbStatisticsXMLFileWriter.h.
typedef itk::SmartPointer<const Self> otb::StatisticsXMLFileWriter< TMeasurementVector >::ConstPointer |
Definition at line 51 of file otbStatisticsXMLFileWriter.h.
typedef std::map<std::string, GenericMapType> otb::StatisticsXMLFileWriter< TMeasurementVector >::GenericMapContainer |
Definition at line 68 of file otbStatisticsXMLFileWriter.h.
typedef std::map<std::string, std::string> otb::StatisticsXMLFileWriter< TMeasurementVector >::GenericMapType |
Definition at line 67 of file otbStatisticsXMLFileWriter.h.
typedef std::pair<std::string, MeasurementVectorType> otb::StatisticsXMLFileWriter< TMeasurementVector >::InputDataType |
Convenient typedef
Definition at line 64 of file otbStatisticsXMLFileWriter.h.
typedef MeasurementVectorType::ValueType otb::StatisticsXMLFileWriter< TMeasurementVector >::InputValueType |
Definition at line 61 of file otbStatisticsXMLFileWriter.h.
typedef std::vector<InputDataType> otb::StatisticsXMLFileWriter< TMeasurementVector >::MeasurementVectorContainer |
Definition at line 65 of file otbStatisticsXMLFileWriter.h.
typedef TMeasurementVector otb::StatisticsXMLFileWriter< TMeasurementVector >::MeasurementVectorType |
InputSampleList typedefs
Definition at line 57 of file otbStatisticsXMLFileWriter.h.
typedef itk::SmartPointer<Self> otb::StatisticsXMLFileWriter< TMeasurementVector >::Pointer |
Definition at line 50 of file otbStatisticsXMLFileWriter.h.
typedef StatisticsXMLFileWriter otb::StatisticsXMLFileWriter< TMeasurementVector >::Self |
Standard class typedefs
Definition at line 48 of file otbStatisticsXMLFileWriter.h.
typedef itk::Object otb::StatisticsXMLFileWriter< TMeasurementVector >::Superclass |
Definition at line 49 of file otbStatisticsXMLFileWriter.h.
|
protected |
Set the output filename
Definition at line 35 of file otbStatisticsXMLFileWriter.hxx.
|
inlineoverrideprotected |
Set the output filename
Definition at line 95 of file otbStatisticsXMLFileWriter.h.
|
privatedelete |
Set the output filename
void otb::StatisticsXMLFileWriter< TMeasurementVector >::AddInput | ( | const char * | name, |
const MeasurementVectorType & | inputVector | ||
) |
Method to set/get the input list sample
Definition at line 41 of file otbStatisticsXMLFileWriter.hxx.
void otb::StatisticsXMLFileWriter< TMeasurementVector >::AddInputMap | ( | const char * | name, |
const MapType & | map | ||
) |
Method to add a map statistic with a given type
Definition at line 152 of file otbStatisticsXMLFileWriter.hxx.
void otb::StatisticsXMLFileWriter< TMeasurementVector >::CleanInputs |
Remove previously added inputs (vectors and maps)
Definition at line 175 of file otbStatisticsXMLFileWriter.hxx.
virtual::itk::LightObject::Pointer otb::StatisticsXMLFileWriter< TMeasurementVector >::CreateAnother | ( | void | ) | const |
|
protectedvirtual |
Set the output filename
Definition at line 60 of file otbStatisticsXMLFileWriter.hxx.
Referenced by otb::StatisticsXMLFileWriter< TMeasurementVector >::Update().
|
virtual |
Set the output filename
|
virtual |
Run-time type information (and related methods).
|
static |
Method for creation through the object factory.
|
privatedelete |
Set the output filename
|
overrideprotected |
Set the output filename
Definition at line 183 of file otbStatisticsXMLFileWriter.hxx.
|
virtual |
Set the output filename
|
inline |
Trigger the processing
Definition at line 81 of file otbStatisticsXMLFileWriter.h.
References otb::StatisticsXMLFileWriter< TMeasurementVector >::GenerateData().
|
private |
Set the output filename
Definition at line 104 of file otbStatisticsXMLFileWriter.h.
|
private |
Set the output filename
Definition at line 106 of file otbStatisticsXMLFileWriter.h.
|
private |
Set the output filename
Definition at line 105 of file otbStatisticsXMLFileWriter.h.