OTB
9.0.0
Orfeo Toolbox
|
#include <otbWrapperOutputImageParameter.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::SmartPointer< Self > | Pointer |
typedef OutputImageParameter | Self |
typedef Parameter | Superclass |
Public Types inherited from otb::Wrapper::Parameter | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::SmartPointer< Self > | Pointer |
typedef Parameter | Self |
typedef itk::Object | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
ImageBaseType * | GetValue (void) |
itkGetObjectMacro (Image, ImageBaseType) | |
virtual void | SetImage (ImageBaseType *_arg) |
void | SetValue (ImageBaseType *image) |
Public Member Functions inherited from otb::Wrapper::Parameter | |
virtual void | SetName (const std::string &) |
virtual const char * | GetName () const |
virtual void | SetDescription (const std::string &) |
virtual const std::string & | GetDescription () const |
virtual void | SetKey (const std::string &) |
virtual const char * | GetKey () const |
virtual void | SetActive (bool flag) |
bool | GetActive (bool recurseParents=false) const |
virtual void | SetMandatory (bool flag) |
virtual bool | GetMandatory () const |
virtual void | MandatoryOn () |
virtual void | MandatoryOff () |
virtual void | SetAutomaticValue (bool flag) |
virtual bool | GetAutomaticValue () const |
void | AutomaticValueOn () |
void | AutomaticValueOff () |
virtual void | SetUserLevel (const UserLevel level) |
virtual UserLevel | GetUserLevel () const |
virtual void | SetRole (const Role role) |
virtual Role | GetRole () const |
virtual bool | HasUserValue () const |
virtual void | SetUserValue (bool isUserValue) |
virtual void | ClearValue () |
virtual void | SetRoot (const Parameter::Pointer root) |
virtual const Parameter::Pointer | GetRoot () const |
virtual bool | IsRoot () const |
virtual void | AddChild (Parameter::Pointer child) |
virtual std::vector< Parameter::Pointer > | GetChildrenList () |
void | TypeError (const std::string &target_type) const |
virtual int | ToInt () const |
virtual float | ToFloat () const |
virtual double | ToDouble () const |
virtual std::vector< std::string > | ToStringList () const |
virtual void | FromInt (int) |
virtual void | FromFloat (float) |
virtual void | FromDouble (double) |
virtual void | FromStringList (const std::vector< std::string > &) |
Static Public Member Functions | |
static Pointer | New () |
ImageBaseType::Pointer | m_Image |
itk::ProcessObject::Pointer | m_InputCaster |
itk::ProcessObject::Pointer | m_OutputCaster |
itk::ProcessObject::Pointer | m_Writer |
std::string | m_FileName |
ImagePixelType | m_PixelType |
ImagePixelType | m_DefaultPixelType |
unsigned int | m_RAMValue |
otb::MultiImageFileWriter::Pointer | m_MultiWriter |
static std::string | ConvertPixelTypeToString (ImagePixelType type) |
static bool | ConvertStringToPixelType (const std::string &value, ImagePixelType &type) |
virtual void | SetPixelType (ImagePixelType _arg) |
virtual ImagePixelType | GetPixelType () |
virtual void | SetDefaultPixelType (ImagePixelType _arg) |
virtual ImagePixelType | GetDefaultPixelType () |
virtual void | SetRAMValue (unsigned int _arg) |
virtual unsigned int | GetRAMValue () |
bool | IsMultiWritingEnabled () |
void | Reset () override |
bool | HasValue () const override |
void | SetFileName (const char *filename) |
void | SetFileName (const std::string &filename) |
virtual const char * | GetFileName () const |
void | Write () |
itk::ProcessObject * | GetWriter () |
void | InitializeWriters (otb::MultiImageFileWriter::Pointer multi=otb::MultiImageFileWriter::Pointer()) |
std::string | CheckFileName (bool fixMissingExtension=false) |
ParameterType | GetType () const override |
std::string | ToString () const override |
void | FromString (const std::string &value) override |
OutputImageParameter () | |
~OutputImageParameter () override | |
OutputImageParameter (const Parameter &)=delete | |
void | operator= (const Parameter &)=delete |
template<typename TInputImage > | |
void | SwitchInput (TInputImage *) |
template<typename TOutputImage , typename TInputImage > | |
void | ClampAndWriteVectorImage (TInputImage *) |
Additional Inherited Members | |
Protected Member Functions inherited from otb::Wrapper::Parameter | |
Parameter () | |
Protected Attributes inherited from otb::Wrapper::Parameter | |
std::string | m_Name |
std::string | m_Description |
std::string | m_Key |
bool | m_Mandatory |
bool | m_Active |
bool | m_UserValue |
UserLevel | m_UserLevel |
Role | m_Role |
itk::WeakPointer< Parameter > | m_Root |
std::vector< Parameter::Pointer > | m_ChildrenList |
This class represents a OutputImage parameter.
Definition at line 41 of file otbWrapperOutputImageParameter.h.
typedef itk::SmartPointer<const Self> otb::Wrapper::OutputImageParameter::ConstPointer |
Definition at line 48 of file otbWrapperOutputImageParameter.h.
typedef itk::SmartPointer<Self> otb::Wrapper::OutputImageParameter::Pointer |
Definition at line 47 of file otbWrapperOutputImageParameter.h.
Standard class typedef
Definition at line 45 of file otbWrapperOutputImageParameter.h.
Definition at line 46 of file otbWrapperOutputImageParameter.h.
|
protected |
Constructor
|
overrideprotected |
Destructor
|
privatedelete |
Multi-writer, used in case several OutputImageParameter are written at once
std::string otb::Wrapper::OutputImageParameter::CheckFileName | ( | bool | fixMissingExtension = false | ) |
Multi-writer, used in case several OutputImageParameter are written at once
|
private |
Multi-writer, used in case several OutputImageParameter are written at once
|
static |
Static method to convert pixel type into string
|
static |
Converts a string into a pixel type (returns false if the conversion fails)
virtual::itk::LightObject::Pointer otb::Wrapper::OutputImageParameter::CreateAnother | ( | void | ) | const |
|
inlineoverridevirtual |
Multi-writer, used in case several OutputImageParameter are written at once
Reimplemented from otb::Wrapper::Parameter.
Definition at line 126 of file otbWrapperOutputImageParameter.h.
|
virtual |
Multi-writer, used in case several OutputImageParameter are written at once
|
virtual |
Multi-writer, used in case several OutputImageParameter are written at once
|
virtual |
RTTI support
Reimplemented from otb::Wrapper::Parameter.
|
virtual |
Multi-writer, used in case several OutputImageParameter are written at once
|
virtual |
Multi-writer, used in case several OutputImageParameter are written at once
|
inlineoverridevirtual |
Multi-writer, used in case several OutputImageParameter are written at once
Implements otb::Wrapper::Parameter.
Definition at line 116 of file otbWrapperOutputImageParameter.h.
References otb::Wrapper::ParameterType_OutputImage.
ImageBaseType* otb::Wrapper::OutputImageParameter::GetValue | ( | void | ) |
Return any value
itk::ProcessObject* otb::Wrapper::OutputImageParameter::GetWriter | ( | ) |
Multi-writer, used in case several OutputImageParameter are written at once
|
overridevirtual |
Return true if a filename is set
Implements otb::Wrapper::Parameter.
void otb::Wrapper::OutputImageParameter::InitializeWriters | ( | otb::MultiImageFileWriter::Pointer | multi = otb::MultiImageFileWriter::Pointer() | ) |
Initialize internal writers, plus the multi-writer
bool otb::Wrapper::OutputImageParameter::IsMultiWritingEnabled | ( | ) |
Check if multi-writing is enabled (several output images written together)
otb::Wrapper::OutputImageParameter::itkGetObjectMacro | ( | Image | , |
ImageBaseType | |||
) |
Get the value
|
static |
Defining ::New() static method
|
privatedelete |
Multi-writer, used in case several OutputImageParameter are written at once
|
inlineoverridevirtual |
Implement the reset method (replace pixel type by default type)
Reimplemented from otb::Wrapper::Parameter.
Definition at line 87 of file otbWrapperOutputImageParameter.h.
|
virtual |
Set/Get DefaultPixelType
void otb::Wrapper::OutputImageParameter::SetFileName | ( | const char * | filename | ) |
Multi-writer, used in case several OutputImageParameter are written at once
void otb::Wrapper::OutputImageParameter::SetFileName | ( | const std::string & | filename | ) |
Multi-writer, used in case several OutputImageParameter are written at once
|
virtual |
Set the value
|
virtual |
Set/Get PixelType to be used when saving
|
virtual |
Set/Get available RAM value
void otb::Wrapper::OutputImageParameter::SetValue | ( | ImageBaseType * | image | ) |
Return any value
Referenced by otb::Wrapper::Application::SetParameterOutputImage().
|
private |
Switch TInputImage according to expected output type.
|
inlineoverridevirtual |
Multi-writer, used in case several OutputImageParameter are written at once
Reimplemented from otb::Wrapper::Parameter.
Definition at line 121 of file otbWrapperOutputImageParameter.h.
void otb::Wrapper::OutputImageParameter::Write | ( | ) |
Multi-writer, used in case several OutputImageParameter are written at once
|
private |
Multi-writer, used in case several OutputImageParameter are written at once
Definition at line 161 of file otbWrapperOutputImageParameter.h.
|
private |
Multi-writer, used in case several OutputImageParameter are written at once
Definition at line 158 of file otbWrapperOutputImageParameter.h.
|
private |
Multi-writer, used in case several OutputImageParameter are written at once
Definition at line 151 of file otbWrapperOutputImageParameter.h.
|
private |
Multi-writer, used in case several OutputImageParameter are written at once
Definition at line 153 of file otbWrapperOutputImageParameter.h.
|
private |
Multi-writer, used in case several OutputImageParameter are written at once
Definition at line 166 of file otbWrapperOutputImageParameter.h.
|
private |
Multi-writer, used in case several OutputImageParameter are written at once
Definition at line 154 of file otbWrapperOutputImageParameter.h.
|
private |
Multi-writer, used in case several OutputImageParameter are written at once
Definition at line 160 of file otbWrapperOutputImageParameter.h.
|
private |
Multi-writer, used in case several OutputImageParameter are written at once
Definition at line 163 of file otbWrapperOutputImageParameter.h.
|
private |
Multi-writer, used in case several OutputImageParameter are written at once
Definition at line 156 of file otbWrapperOutputImageParameter.h.