OTB
9.0.0
Orfeo Toolbox
|
#include <otbVectorDataProjectionFilter.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef GenericTransformType::Pointer | GenericTransformPointerType |
typedef itk::Transform< double, 2, 2 > | GenericTransformType |
typedef InputVectorDataType::DataNodeType | InputDataNodeType |
typedef InputVectorDataType::DataTreeType::TreeNodeType | InputInternalTreeNodeType |
typedef InputLineType::Pointer | InputLinePointerType |
typedef InputDataNodeType::LineType | InputLineType |
typedef InputDataNodeType::PointType | InputPointType |
typedef InputPolygonListType::Pointer | InputPolygonListPointerType |
typedef InputDataNodeType::PolygonListType | InputPolygonListType |
typedef InputPolygonType::Pointer | InputPolygonPointerType |
typedef InputDataNodeType::PolygonType | InputPolygonType |
typedef TInputVectorData::ConstPointer | InputVectorDataPointer |
typedef TInputVectorData | InputVectorDataType |
typedef InternalTransformType::Pointer | InternalTransformPointerType |
typedef otb::GenericRSTransform< double, 2, 2 > | InternalTransformType |
typedef itk::Point< double, 2 > | OriginType |
typedef OutputVectorDataType::DataNodeType | OutputDataNodeType |
typedef OutputVectorDataType::DataTreeType::TreeNodeType | OutputInternalTreeNodeType |
typedef OutputLineType::Pointer | OutputLinePointerType |
typedef OutputDataNodeType::LineType | OutputLineType |
typedef OutputDataNodeType::PointType | OutputPointType |
typedef OutputPolygonListType::Pointer | OutputPolygonListPointerType |
typedef OutputDataNodeType::PolygonListType | OutputPolygonListType |
typedef OutputPolygonType::Pointer | OutputPolygonPointerType |
typedef OutputDataNodeType::PolygonType | OutputPolygonType |
typedef TOutputVectorData::Pointer | OutputVectorDataPointer |
typedef TOutputVectorData | OutputVectorDataType |
typedef itk::SmartPointer< Self > | Pointer |
typedef VectorDataProjectionFilter | Self |
typedef itk::Vector< double, 2 > | SpacingType |
typedef otb::VectorDataToVectorDataFilter< TInputVectorData, TOutputVectorData > | Superclass |
Public Types inherited from otb::VectorDataToVectorDataFilter< TInputVectorData, TOutputVectorData > | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::DataObject::Pointer | DataObjectPointer |
typedef InputVectorDataType::DataNodeType | InputDataNodeType |
typedef InputVectorDataType::DataTreeType::TreeNodeType | InputInternalTreeNodeType |
typedef InputLineType::Pointer | InputLinePointerType |
typedef InputDataNodeType::LineType | InputLineType |
typedef InputDataNodeType::PointType | InputPointType |
typedef InputPolygonListType::Pointer | InputPolygonListPointerType |
typedef InputDataNodeType::PolygonListType | InputPolygonListType |
typedef InputPolygonType::Pointer | InputPolygonPointerType |
typedef InputDataNodeType::PolygonType | InputPolygonType |
typedef TInputVectorData::ConstPointer | InputVectorDataPointer |
typedef TInputVectorData | InputVectorDataType |
typedef OutputVectorDataType::DataNodeType | OutputDataNodeType |
typedef OutputVectorDataType::DataTreeType::TreeNodeType | OutputInternalTreeNodeType |
typedef OutputLineType::Pointer | OutputLinePointerType |
typedef OutputDataNodeType::LineType | OutputLineType |
typedef OutputDataNodeType::PointType | OutputPointType |
typedef OutputPolygonListType::Pointer | OutputPolygonListPointerType |
typedef OutputDataNodeType::PolygonListType | OutputPolygonListType |
typedef OutputPolygonType::Pointer | OutputPolygonPointerType |
typedef OutputDataNodeType::PolygonType | OutputPolygonType |
typedef TOutputVectorData::Pointer | OutputVectorDataPointer |
typedef TOutputVectorData | OutputVectorDataType |
typedef itk::SmartPointer< Self > | Pointer |
typedef VectorDataToVectorDataFilter | Self |
typedef VectorDataSource< TOutputVectorData > | Superclass |
Public Types inherited from otb::VectorDataSource< TOutputVectorData > | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::ProcessObject::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef TOutputVectorData::Pointer | OutputVectorDataPointer |
typedef TOutputVectorData | OutputVectorDataType |
typedef itk::SmartPointer< Self > | Pointer |
typedef VectorDataSource | Self |
typedef itk::ProcessObject | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
virtual void | SetInputProjectionRef (const char *_arg) |
virtual const char * | GetInputProjectionRef () const |
virtual void | SetOutputProjectionRef (const char *_arg) |
virtual const char * | GetOutputProjectionRef () const |
virtual void | SetInputOrigin (OriginType _arg) |
virtual void | SetInputOrigin (const double origin[2]) |
virtual void | SetInputOrigin (const float origin[2]) |
virtual const OriginType & | GetInputOrigin () const |
virtual void | SetInputSpacing (const SpacingType &spacing) |
virtual void | SetInputSpacing (const double spacing[2]) |
virtual void | SetInputSpacing (const float spacing[2]) |
virtual const SpacingType & | GetInputSpacing () const |
virtual void | SetOutputOrigin (OriginType _arg) |
virtual void | SetOutputOrigin (const double origin[2]) |
virtual void | SetOutputOrigin (const float origin[2]) |
virtual const OriginType & | GetOutputOrigin () const |
virtual void | SetOutputSpacing (const SpacingType &spacing) |
virtual void | SetOutputSpacing (const double spacing[2]) |
virtual void | SetOutputSpacing (const float spacing[2]) |
virtual const SpacingType & | GetOutputSpacing () const |
Public Member Functions inherited from otb::VectorDataToVectorDataFilter< TInputVectorData, TOutputVectorData > | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
const InputVectorDataType * | GetInput (void) |
virtual void | SetInput (const InputVectorDataType *input) |
Public Member Functions inherited from otb::VectorDataSource< TOutputVectorData > | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual void | GraftOutput (itk::DataObject *output) |
virtual void | GraftNthOutput (unsigned int idx, itk::DataObject *output) |
virtual OutputVectorDataType * | GetOutput (void) |
virtual OutputVectorDataType * | GetOutput (DataObjectPointerArraySizeType idx) |
Static Public Member Functions | |
static Pointer | New () |
Static Public Member Functions inherited from otb::VectorDataToVectorDataFilter< TInputVectorData, TOutputVectorData > | |
static Pointer | New () |
Static Public Member Functions inherited from otb::VectorDataSource< TOutputVectorData > | |
static Pointer | New () |
Additional Inherited Members | |
Protected Member Functions inherited from otb::VectorDataToVectorDataFilter< TInputVectorData, TOutputVectorData > | |
void | GenerateOutputInformation (void) override |
VectorDataToVectorDataFilter () | |
~VectorDataToVectorDataFilter () override | |
void | GenerateData (void) override |
virtual void | ProcessNode (InputInternalTreeNodeType *source, OutputInternalTreeNodeType *destination) const |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
Protected Member Functions inherited from otb::VectorDataSource< TOutputVectorData > | |
VectorDataSource () | |
~VectorDataSource () override | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
virtual void | AllocateOutputs () |
Reproject vector data in a different coordinate system.
This class is used to reproject vector data into a different coordinate system. the input and output coordinate system can be a map projection, a raw image from a sensor (the sensor model will be used), or the local coordinate system of an image.
This filter works on otb::VectorData as input and output.
The process goes as follow:
Each of this step is optional and would default to an identity transform if nothing is specified.
The offset/scaling steps are necessary only when working with the local coordinate system of the image (origin on the top left). The value need to be provided by the SetInputSpacing, SetInputOrigin, SetOutputSpacing and SetOutputOrigin methods.
The two transforms derived from itk::Transform and will be instantiated as otb::GenericMapProjection or otb::InverseSensorModel or otb::ForwardSensorModel (according to the available information).
Definition at line 67 of file otbVectorDataProjectionFilter.h.
typedef itk::SmartPointer<const Self> otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::ConstPointer |
Definition at line 75 of file otbVectorDataProjectionFilter.h.
typedef GenericTransformType::Pointer otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::GenericTransformPointerType |
Definition at line 84 of file otbVectorDataProjectionFilter.h.
typedef itk::Transform<double, 2, 2> otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::GenericTransformType |
Some typedefs.
Definition at line 83 of file otbVectorDataProjectionFilter.h.
typedef InputVectorDataType::DataNodeType otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::InputDataNodeType |
Definition at line 93 of file otbVectorDataProjectionFilter.h.
typedef InputVectorDataType::DataTreeType::TreeNodeType otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::InputInternalTreeNodeType |
Definition at line 95 of file otbVectorDataProjectionFilter.h.
typedef InputLineType::Pointer otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::InputLinePointerType |
Definition at line 103 of file otbVectorDataProjectionFilter.h.
typedef InputDataNodeType::LineType otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::InputLineType |
Definition at line 99 of file otbVectorDataProjectionFilter.h.
typedef InputDataNodeType::PointType otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::InputPointType |
Definition at line 98 of file otbVectorDataProjectionFilter.h.
typedef InputPolygonListType::Pointer otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::InputPolygonListPointerType |
Definition at line 105 of file otbVectorDataProjectionFilter.h.
typedef InputDataNodeType::PolygonListType otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::InputPolygonListType |
Definition at line 101 of file otbVectorDataProjectionFilter.h.
typedef InputPolygonType::Pointer otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::InputPolygonPointerType |
Definition at line 104 of file otbVectorDataProjectionFilter.h.
typedef InputDataNodeType::PolygonType otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::InputPolygonType |
Definition at line 100 of file otbVectorDataProjectionFilter.h.
typedef TInputVectorData::ConstPointer otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::InputVectorDataPointer |
Definition at line 79 of file otbVectorDataProjectionFilter.h.
typedef TInputVectorData otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::InputVectorDataType |
Definition at line 77 of file otbVectorDataProjectionFilter.h.
typedef InternalTransformType::Pointer otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::InternalTransformPointerType |
Definition at line 87 of file otbVectorDataProjectionFilter.h.
typedef otb::GenericRSTransform<double, 2, 2> otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::InternalTransformType |
Definition at line 86 of file otbVectorDataProjectionFilter.h.
typedef itk::Point<double, 2> otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::OriginType |
Definition at line 90 of file otbVectorDataProjectionFilter.h.
typedef OutputVectorDataType::DataNodeType otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::OutputDataNodeType |
Definition at line 92 of file otbVectorDataProjectionFilter.h.
typedef OutputVectorDataType::DataTreeType::TreeNodeType otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::OutputInternalTreeNodeType |
Definition at line 96 of file otbVectorDataProjectionFilter.h.
typedef OutputLineType::Pointer otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::OutputLinePointerType |
Definition at line 112 of file otbVectorDataProjectionFilter.h.
typedef OutputDataNodeType::LineType otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::OutputLineType |
Definition at line 108 of file otbVectorDataProjectionFilter.h.
typedef OutputDataNodeType::PointType otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::OutputPointType |
Definition at line 107 of file otbVectorDataProjectionFilter.h.
typedef OutputPolygonListType::Pointer otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::OutputPolygonListPointerType |
Definition at line 114 of file otbVectorDataProjectionFilter.h.
typedef OutputDataNodeType::PolygonListType otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::OutputPolygonListType |
Definition at line 110 of file otbVectorDataProjectionFilter.h.
typedef OutputPolygonType::Pointer otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::OutputPolygonPointerType |
Definition at line 113 of file otbVectorDataProjectionFilter.h.
typedef OutputDataNodeType::PolygonType otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::OutputPolygonType |
Definition at line 109 of file otbVectorDataProjectionFilter.h.
typedef TOutputVectorData::Pointer otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::OutputVectorDataPointer |
Definition at line 80 of file otbVectorDataProjectionFilter.h.
typedef TOutputVectorData otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::OutputVectorDataType |
Definition at line 78 of file otbVectorDataProjectionFilter.h.
typedef itk::SmartPointer<Self> otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::Pointer |
Definition at line 74 of file otbVectorDataProjectionFilter.h.
typedef VectorDataProjectionFilter otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::Self |
Standard class typedefs.
Definition at line 72 of file otbVectorDataProjectionFilter.h.
typedef itk::Vector<double, 2> otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::SpacingType |
Definition at line 89 of file otbVectorDataProjectionFilter.h.
typedef otb::VectorDataToVectorDataFilter<TInputVectorData, TOutputVectorData> otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::Superclass |
Definition at line 73 of file otbVectorDataProjectionFilter.h.
|
protected |
Constructor
Definition at line 36 of file otbVectorDataProjectionFilter.hxx.
|
inlineoverrideprotected |
Constructor
Definition at line 192 of file otbVectorDataProjectionFilter.h.
|
privatedelete |
Constructor
virtual::itk::LightObject::Pointer otb::VectorDataProjectionFilter< TInputVectorData, TOutputVectorData >::CreateAnother | ( | void | ) | const |
|
overrideprotected |
GenerateData Performs the coordinate conversion for each element in the tree
Definition at line 287 of file otbVectorDataProjectionFilter.hxx.
References otb::Stopwatch::GetElapsedMilliseconds(), otbMsgDevMacro, otb::Stopwatch::StartNew(), and otb::Stopwatch::Stop().
|
overrideprotected |
Constructor
Definition at line 144 of file otbVectorDataProjectionFilter.hxx.
References otb::MetaDataKey::ProjectionRefKey.
|
inline |
Constructor
Definition at line 168 of file otbVectorDataProjectionFilter.h.
|
virtual |
Set/Get for input and output projections.
|
virtual |
Set/Get for input and output projections.
|
virtual |
Set/Get for input and output projections.
|
virtual |
Run-time type information (and related methods).
Reimplemented from otb::VectorDataToVectorDataFilter< TInputVectorData, TOutputVectorData >.
|
inline |
Constructor
Definition at line 179 of file otbVectorDataProjectionFilter.h.
|
virtual |
Set/Get for input and output projections.
|
virtual |
Set/Get for input and output projections.
|
virtual |
Set/Get for input and output projections.
|
protectedvirtual |
Instantiate the transformation according to information
Definition at line 243 of file otbVectorDataProjectionFilter.hxx.
References otb::MetaDataKey::ProjectionRefKey.
|
static |
Method for creation through the object factory.
|
privatedelete |
Constructor
|
overrideprotectedvirtual |
Convert line
Reimplemented from otb::VectorDataToVectorDataFilter< TInputVectorData, TOutputVectorData >.
Definition at line 172 of file otbVectorDataProjectionFilter.hxx.
|
overrideprotectedvirtual |
Convert point
Reimplemented from otb::VectorDataToVectorDataFilter< TInputVectorData, TOutputVectorData >.
Definition at line 159 of file otbVectorDataProjectionFilter.hxx.
|
overrideprotectedvirtual |
Convert polygon
Reimplemented from otb::VectorDataToVectorDataFilter< TInputVectorData, TOutputVectorData >.
Definition at line 201 of file otbVectorDataProjectionFilter.hxx.
|
overrideprotectedvirtual |
Convert polygon list
Reimplemented from otb::VectorDataToVectorDataFilter< TInputVectorData, TOutputVectorData >.
Definition at line 228 of file otbVectorDataProjectionFilter.hxx.
|
inline |
Constructor
Definition at line 172 of file otbVectorDataProjectionFilter.h.
|
virtual |
Set/Get for input and output projections.
Definition at line 79 of file otbVectorDataProjectionFilter.hxx.
|
virtual |
Set/Get for input and output projections.
Definition at line 87 of file otbVectorDataProjectionFilter.hxx.
|
virtual |
Set the origin of the vector data.
|
virtual |
Set/Get for input and output projections.
|
virtual |
Set/Get for input and output projections.
Definition at line 61 of file otbVectorDataProjectionFilter.hxx.
|
virtual |
Set/Get for input and output projections.
Definition at line 69 of file otbVectorDataProjectionFilter.hxx.
|
virtual |
Set the spacing (size of a pixel) of the vector data.
Definition at line 49 of file otbVectorDataProjectionFilter.hxx.
|
inline |
Constructor
Definition at line 183 of file otbVectorDataProjectionFilter.h.
|
virtual |
Set/Get for input and output projections.
Definition at line 127 of file otbVectorDataProjectionFilter.hxx.
|
virtual |
Set/Get for input and output projections.
Definition at line 135 of file otbVectorDataProjectionFilter.hxx.
|
virtual |
Set the origin of the vector data.
|
virtual |
Set/Get for input and output projections.
|
virtual |
Set/Get for input and output projections.
Definition at line 109 of file otbVectorDataProjectionFilter.hxx.
|
virtual |
Set/Get for input and output projections.
Definition at line 117 of file otbVectorDataProjectionFilter.hxx.
|
virtual |
Set the spacing (size of a pixel) of the vector data.
Definition at line 97 of file otbVectorDataProjectionFilter.hxx.
|
private |
Constructor
Definition at line 213 of file otbVectorDataProjectionFilter.h.
|
private |
Constructor
Definition at line 217 of file otbVectorDataProjectionFilter.h.
|
private |
Constructor
Definition at line 211 of file otbVectorDataProjectionFilter.h.
|
private |
Constructor
Definition at line 216 of file otbVectorDataProjectionFilter.h.
|
private |
Constructor
Definition at line 214 of file otbVectorDataProjectionFilter.h.
|
private |
Constructor
Definition at line 219 of file otbVectorDataProjectionFilter.h.
|
private |
Constructor
Definition at line 212 of file otbVectorDataProjectionFilter.h.
|
private |
Constructor
Definition at line 218 of file otbVectorDataProjectionFilter.h.
|
private |
Constructor
Definition at line 210 of file otbVectorDataProjectionFilter.h.