OTB
9.0.0
Orfeo Toolbox
|
#include <otbWrapperInputImageParameter.h>
Classes | |
struct | Connector |
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::SmartPointer< Self > | Pointer |
typedef InputImageParameter | 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 |
template<> | |
OTBApplicationEngine_EXPORT ImageBaseType * | GetImage () |
virtual const char * | GetNameOfClass () const |
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 void | Reset () |
virtual bool | HasUserValue () const |
virtual void | SetUserValue (bool isUserValue) |
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 > &) |
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 InputImage parameter.
Definition at line 43 of file otbWrapperInputImageParameter.h.
typedef itk::SmartPointer<const Self> otb::Wrapper::InputImageParameter::ConstPointer |
Definition at line 50 of file otbWrapperInputImageParameter.h.
typedef itk::SmartPointer<Self> otb::Wrapper::InputImageParameter::Pointer |
Definition at line 49 of file otbWrapperInputImageParameter.h.
Standard class typedef
Definition at line 47 of file otbWrapperInputImageParameter.h.
Definition at line 48 of file otbWrapperInputImageParameter.h.
|
protected |
Constructor
|
overrideprotecteddefault |
Destructor
|
privatedelete |
Store the loaded image filename
|
private |
Store the loaded image filename
Definition at line 82 of file otbWrapperInputImageParameter.hxx.
References otb::clamp(), m_OutputCasted, and m_OutputCaster.
TOutputImage* otb::Wrapper::InputImageParameter::CastImage | ( | ) |
Generic cast method that will be specified for each image type.
|
overridevirtual |
Store the loaded image filename
Reimplemented from otb::Wrapper::Parameter.
virtual::itk::LightObject::Pointer otb::Wrapper::InputImageParameter::CreateAnother | ( | void | ) | const |
|
overridevirtual |
Store the loaded image filename
Reimplemented from otb::Wrapper::Parameter.
ComplexDoubleImageType* otb::Wrapper::InputImageParameter::GetComplexDoubleImage | ( | ) |
Store the loaded image filename
ComplexDoubleVectorImageType* otb::Wrapper::InputImageParameter::GetComplexDoubleVectorImage | ( | ) |
Store the loaded image filename
ComplexFloatImageType* otb::Wrapper::InputImageParameter::GetComplexFloatImage | ( | ) |
Store the loaded image filename
ComplexFloatVectorImageType* otb::Wrapper::InputImageParameter::GetComplexFloatVectorImage | ( | ) |
Store the loaded image filename
ComplexInt16ImageType* otb::Wrapper::InputImageParameter::GetComplexInt16Image | ( | ) |
Store the loaded image filename
ComplexInt16VectorImageType* otb::Wrapper::InputImageParameter::GetComplexInt16VectorImage | ( | ) |
Store the loaded image filename
ComplexInt32ImageType* otb::Wrapper::InputImageParameter::GetComplexInt32Image | ( | ) |
Store the loaded image filename
ComplexInt32VectorImageType* otb::Wrapper::InputImageParameter::GetComplexInt32VectorImage | ( | ) |
Store the loaded image filename
|
inline |
Store the loaded image filename
Definition at line 75 of file otbWrapperInputImageParameter.h.
DoubleImageType* otb::Wrapper::InputImageParameter::GetDoubleImage | ( | ) |
Store the loaded image filename
DoubleVectorImageType* otb::Wrapper::InputImageParameter::GetDoubleVectorImage | ( | ) |
Store the loaded image filename
|
virtual |
Store the loaded image filename
FloatImageType* otb::Wrapper::InputImageParameter::GetFloatImage | ( | ) |
Store the loaded image filename
FloatVectorImageType* otb::Wrapper::InputImageParameter::GetFloatVectorImage | ( | ) |
Store the loaded image filename
ImageBaseType* otb::Wrapper::InputImageParameter::GetImage | ( | ) |
Store the loaded image filename
TImageType * otb::Wrapper::InputImageParameter::GetImage |
Get the input image as templated image type.
Definition at line 97 of file otbWrapperInputImageParameter.hxx.
References CLAMP_IMAGE_BASE, m_FileName, m_Image, m_OutputCasted, m_OutputCaster, m_PreviousFileName, m_Reader, and m_UseFilename.
OTBApplicationEngine_EXPORT ImageBaseType* otb::Wrapper::InputImageParameter::GetImage | ( | ) |
declare a specialization for ImageBaseType
ImageBaseType const* otb::Wrapper::InputImageParameter::GetImage | ( | ) | const |
Get input-image as ImageBaseType.
Referenced by otb::Wrapper::Application::GetParameterImage().
Int16ImageType* otb::Wrapper::InputImageParameter::GetInt16Image | ( | ) |
Store the loaded image filename
Int16VectorImageType* otb::Wrapper::InputImageParameter::GetInt16VectorImage | ( | ) |
Store the loaded image filename
Int32ImageType* otb::Wrapper::InputImageParameter::GetInt32Image | ( | ) |
Store the loaded image filename
Int32VectorImageType* otb::Wrapper::InputImageParameter::GetInt32VectorImage | ( | ) |
Store the loaded image filename
|
virtual |
RTTI support
Reimplemented from otb::Wrapper::Parameter.
|
overridevirtual |
Store the loaded image filename
Implements otb::Wrapper::Parameter.
UInt16ImageType* otb::Wrapper::InputImageParameter::GetUInt16Image | ( | ) |
Store the loaded image filename
UInt16VectorImageType* otb::Wrapper::InputImageParameter::GetUInt16VectorImage | ( | ) |
Store the loaded image filename
UInt32ImageType* otb::Wrapper::InputImageParameter::GetUInt32Image | ( | ) |
Store the loaded image filename
UInt32VectorImageType* otb::Wrapper::InputImageParameter::GetUInt32VectorImage | ( | ) |
Store the loaded image filename
UInt8ImageType* otb::Wrapper::InputImageParameter::GetUInt8Image | ( | ) |
Get the input image as XXXImageType
UInt8RGBAImageType* otb::Wrapper::InputImageParameter::GetUInt8RGBAImage | ( | ) |
Store the loaded image filename
UInt8RGBImageType* otb::Wrapper::InputImageParameter::GetUInt8RGBImage | ( | ) |
Store the loaded image filename
UInt8VectorImageType* otb::Wrapper::InputImageParameter::GetUInt8VectorImage | ( | ) |
Store the loaded image filename
|
overridevirtual |
Store the loaded image filename
Implements otb::Wrapper::Parameter.
|
static |
Defining ::New() static method
|
privatedelete |
Store the loaded image filename
|
inline |
Store the loaded image filename
Definition at line 70 of file otbWrapperInputImageParameter.h.
|
inline |
Store the loaded image filename
Definition at line 80 of file otbWrapperInputImageParameter.h.
bool otb::Wrapper::InputImageParameter::SetFromFileName | ( | std::string | filename | ) |
Set value from filename
void otb::Wrapper::InputImageParameter::SetImage | ( | ImageBaseType * | image | ) |
Set a templated image.
|
overridevirtual |
Store the loaded image filename
Reimplemented from otb::Wrapper::Parameter.
|
private |
Store the loaded image filename
Definition at line 171 of file otbWrapperInputImageParameter.h.
|
private |
Store the loaded image filename
Definition at line 152 of file otbWrapperInputImageParameter.h.
Referenced by GetImage().
|
private |
Store the loaded image filename
Definition at line 155 of file otbWrapperInputImageParameter.h.
Referenced by GetImage().
|
private |
Store the loaded image filename
Definition at line 158 of file otbWrapperInputImageParameter.h.
Referenced by Cast(), and GetImage().
|
private |
Store the loaded image filename
Definition at line 157 of file otbWrapperInputImageParameter.h.
Referenced by Cast(), and GetImage().
|
private |
Store the loaded image filename
Definition at line 166 of file otbWrapperInputImageParameter.h.
Referenced by GetImage().
|
private |
Store the loaded image filename
Definition at line 153 of file otbWrapperInputImageParameter.h.
Referenced by GetImage().
|
private |
flag : are we using a filename or an image pointer as an input
Definition at line 169 of file otbWrapperInputImageParameter.h.
Referenced by GetImage().