OTB  6.7.0
Orfeo Toolbox
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
otb::VectorDataExtractROI< TVectorData > Class Template Reference

#include <otbVectorDataExtractROI.h>

+ Inheritance diagram for otb::VectorDataExtractROI< TVectorData >:
+ Collaboration diagram for otb::VectorDataExtractROI< TVectorData >:

Public Types

typedef
InternalTreeNodeType::ChildrenListType 
ChildrenListType
 
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef DataNodeType::Pointer DataNodePointerType
 
typedef
VectorDataType::DataNodeType 
DataNodeType
 
typedef
VectorDataType::DataTreeType 
DataTreeType
 
typedef RegionType::IndexType IndexType
 
typedef
itk::PreOrderTreeIterator
< typename
VectorDataType::DataTreeType > 
InputTreeIteratorType
 
typedef
VectorDataType::DataTreeType::TreeNodeType 
InternalTreeNodeType
 
typedef
DataNodeType::LinePointerType 
LinePointerType
 
typedef DataNodeType::LineType LineType
 
typedef itk::SmartPointer< SelfPointer
 
typedef DataNodeType::PointType PointType
 
typedef
DataNodeType::PolygonPointerType 
PolygonPointerType
 
typedef DataNodeType::PolygonType PolygonType
 
typedef itk::Point< typename
VertexType::CoordRepType,
IndexType::IndexDimension
ProjPointType
 
typedef
otb::RemoteSensingRegion
< typename
VertexType::CoordRepType > 
RegionType
 
typedef VectorDataExtractROI Self
 
typedef RegionType::SizeType SizeType
 
typedef
VectorDataToVectorDataFilter
< TVectorData, TVectorData > 
Superclass
 
typedef TVectorData VectorDataType
 
typedef
PolygonType::VertexListPointer 
VertexListPointer
 
typedef PolygonType::VertexListType VertexListType
 
typedef PolygonType::VertexType VertexType
 
- Public Types inherited from otb::VectorDataToVectorDataFilter< TVectorData, TVectorData >
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 TVectorData::ConstPointer InputVectorDataPointer
 
typedef TVectorData 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 TVectorData::Pointer OutputVectorDataPointer
 
typedef TVectorData OutputVectorDataType
 
typedef itk::SmartPointer< SelfPointer
 
typedef
VectorDataToVectorDataFilter 
Self
 
typedef VectorDataSource
< TVectorData > 
Superclass
 
- Public Types inherited from otb::VectorDataSource< TVectorData >
typedef itk::SmartPointer
< const Self
ConstPointer
 
typedef
itk::ProcessObject::DataObjectPointerArraySizeType 
DataObjectPointerArraySizeType
 
typedef TVectorData::Pointer OutputVectorDataPointer
 
typedef TVectorData OutputVectorDataType
 
typedef itk::SmartPointer< SelfPointer
 
typedef VectorDataSource Self
 
typedef itk::ProcessObject Superclass
 
- Public Types inherited from itk::ProcessObject
typedef SmartPointer< const SelfConstPointer
 
typedef
DataObject::DataObjectIdentifierType 
DataObjectIdentifierType
 
typedef DataObject::Pointer DataObjectPointer
 
typedef std::vector
< DataObjectPointer
DataObjectPointerArray
 
typedef
DataObjectPointerArray::size_type 
DataObjectPointerArraySizeType
 
typedef std::vector
< DataObjectIdentifierType
NameArray
 
typedef SmartPointer< SelfPointer
 
typedef ProcessObject Self
 
typedef Object Superclass
 
- Public Types inherited from itk::Object
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef Object Self
 
typedef LightObject Superclass
 
- Public Types inherited from itk::LightObject
typedef SmartPointer< const SelfConstPointer
 
typedef SmartPointer< SelfPointer
 
typedef LightObject Self
 

Public Member Functions

virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
virtual const char * GetNameOfClass () const
 
const RegionTypeGetRegion ()
 
void SetRegion (const RegionType &region)
 
- Public Member Functions inherited from otb::VectorDataToVectorDataFilter< TVectorData, TVectorData >
virtual ::itk::LightObject::Pointer CreateAnother (void) const
 
const InputVectorDataTypeGetInput (void)
 
virtual void SetInput (const InputVectorDataType *input)
 
- Public Member Functions inherited from otb::VectorDataSource< TVectorData >
virtual void GraftNthOutput (unsigned int idx, itk::DataObject *output)
 
virtual void GraftOutput (itk::DataObject *output)
 
virtual OutputVectorDataTypeGetOutput (void)
 
virtual OutputVectorDataTypeGetOutput (DataObjectPointerArraySizeType idx)
 
- Public Member Functions inherited from itk::ProcessObject
virtual void AbortGenerateDataOff ()
 
virtual void AbortGenerateDataOn ()
 
virtual void EnlargeOutputRequestedRegion (DataObject *)
 
virtual const bool & GetAbortGenerateData () const
 
DataObjectPointerArray GetIndexedInputs ()
 
DataObjectPointerArray GetIndexedOutputs ()
 
NameArray GetInputNames () const
 
DataObjectPointerArray GetInputs ()
 
MultiThreader * GetMultiThreader () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedInputs () const
 
DataObjectPointerArraySizeType GetNumberOfIndexedOutputs () const
 
DataObjectPointerArraySizeType GetNumberOfInputs () const
 
DataObjectPointerArraySizeType GetNumberOfOutputs () const
 
virtual const ThreadIdTypeGetNumberOfThreads () const
 
virtual
DataObjectPointerArraySizeType 
GetNumberOfValidRequiredInputs () const
 
NameArray GetOutputNames () const
 
DataObjectPointerArray GetOutputs ()
 
virtual const float & GetProgress () const
 
virtual const bool & GetReleaseDataBeforeUpdateFlag () const
 
virtual bool GetReleaseDataFlag () const
 
NameArray GetRequiredInputNames () const
 
bool HasInput (const DataObjectIdentifierType &key) const
 
bool HasOutput (const DataObjectIdentifierType &key) const
 
virtual DataObjectPointer MakeOutput (const DataObjectIdentifierType &)
 
virtual DataObjectPointer MakeOutput (DataObjectPointerArraySizeType idx)
 
virtual void PrepareOutputs ()
 
virtual void PropagateRequestedRegion (DataObject *output)
 
virtual void ReleaseDataBeforeUpdateFlagOff ()
 
virtual void ReleaseDataBeforeUpdateFlagOn ()
 
void ReleaseDataFlagOff ()
 
void ReleaseDataFlagOn ()
 
virtual void ResetPipeline ()
 
virtual void SetAbortGenerateData (bool _arg)
 
virtual void SetNumberOfThreads (ThreadIdType _arg)
 
void SetProgress (float progress)
 
virtual void SetReleaseDataBeforeUpdateFlag (bool _arg)
 
virtual void SetReleaseDataFlag (bool flag)
 
virtual void Update ()
 
virtual void UpdateLargestPossibleRegion ()
 
virtual void UpdateOutputData (DataObject *output)
 
virtual void UpdateOutputInformation ()
 
void UpdateProgress (float progress)
 
- Public Member Functions inherited from itk::Object
unsigned long AddObserver (const EventObject &event, Command *)
 
unsigned long AddObserver (const EventObject &event, Command *) const
 
virtual void DebugOff () const
 
virtual void DebugOn () const
 
CommandGetCommand (unsigned long tag)
 
bool GetDebug () const
 
const MetaDataDictionaryGetMetaDataDictionary () const
 
MetaDataDictionaryGetMetaDataDictionary ()
 
virtual ModifiedTimeType GetMTime () const
 
virtual const std::string & GetObjectName () const
 
virtual const TimeStampGetTimeStamp () const
 
bool HasObserver (const EventObject &event) const
 
void InvokeEvent (const EventObject &)
 
void InvokeEvent (const EventObject &) const
 
virtual void Modified () const
 
virtual void Register () const override
 
void RemoveAllObservers ()
 
void RemoveObserver (unsigned long tag)
 
void SetDebug (bool debugFlag) const
 
void SetMetaDataDictionary (const MetaDataDictionary &rhs)
 
virtual void SetObjectName (std::string _arg)
 
virtual void SetReferenceCount (int) override
 
virtual void UnRegister () const noexceptoverride
 
- Public Member Functions inherited from itk::LightObject
virtual void Delete ()
 
virtual int GetReferenceCount () const
 
 itkCloneMacro (Self)
 
void Print (std::ostream &os, Indent indent=0) const
 

Static Public Member Functions

static Pointer New ()
 
- Static Public Member Functions inherited from otb::VectorDataToVectorDataFilter< TVectorData, TVectorData >
static Pointer New ()
 
- Static Public Member Functions inherited from otb::VectorDataSource< TVectorData >
static Pointer New ()
 
- Static Public Member Functions inherited from itk::Object
static bool GetGlobalWarningDisplay ()
 
static void GlobalWarningDisplayOff ()
 
static void GlobalWarningDisplayOn ()
 
static Pointer New ()
 
static void SetGlobalWarningDisplay (bool flag)
 
- Static Public Member Functions inherited from itk::LightObject
static void BreakOnError ()
 
static Pointer New ()
 

Protected Member Functions

void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
 VectorDataExtractROI ()
 
 ~VectorDataExtractROI () override
 
- Protected Member Functions inherited from otb::VectorDataToVectorDataFilter< TVectorData, TVectorData >
void GenerateData (void) override
 
void GenerateOutputInformation (void) override
 
void PrintSelf (std::ostream &os, itk::Indent indent) const override
 
virtual OutputLinePointerType ProcessLine (InputLinePointerType) const
 
virtual void ProcessNode (InputInternalTreeNodeType *source, OutputInternalTreeNodeType *destination) const
 
virtual OutputPointType ProcessPoint (InputPointType) const
 
virtual OutputPolygonPointerType ProcessPolygon (InputPolygonPointerType) const
 
virtual
OutputPolygonListPointerType 
ProcessPolygonList (InputPolygonListPointerType) const
 
 VectorDataToVectorDataFilter ()
 
 ~VectorDataToVectorDataFilter () override
 
- Protected Member Functions inherited from otb::VectorDataSource< TVectorData >
virtual void AllocateOutputs ()
 
 VectorDataSource ()
 
 ~VectorDataSource () override
 
- Protected Member Functions inherited from itk::ProcessObject
virtual void AddInput (DataObject *input)
 
virtual void AddOutput (DataObject *output)
 
bool AddRequiredInputName (const DataObjectIdentifierType &, DataObjectPointerArraySizeType idx)
 
bool AddRequiredInputName (const DataObjectIdentifierType &)
 
virtual void CacheInputReleaseDataFlags ()
 
virtual void GenerateInputRequestedRegion ()
 
virtual void GenerateOutputRequestedRegion (DataObject *output)
 
const DataObjectGetInput (const DataObjectIdentifierType &key) const
 
DataObjectGetInput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetInput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetInput (const DataObjectIdentifierType &key)
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredInputs () const
 
virtual const
DataObjectPointerArraySizeType
GetNumberOfRequiredOutputs () const
 
DataObjectGetOutput (const DataObjectIdentifierType &key)
 
const DataObjectGetOutput (const DataObjectIdentifierType &key) const
 
DataObjectGetOutput (DataObjectPointerArraySizeType idx)
 
const DataObjectGetOutput (DataObjectPointerArraySizeType idx) const
 
DataObjectGetPrimaryInput ()
 
const DataObjectGetPrimaryInput () const
 
virtual const char * GetPrimaryInputName (void) const
 
DataObjectGetPrimaryOutput ()
 
const DataObjectGetPrimaryOutput () const
 
virtual const char * GetPrimaryOutputName (void) const
 
bool IsIndexedInputName (const DataObjectIdentifierType &) const
 
bool IsIndexedOutputName (const DataObjectIdentifierType &) const
 
bool IsRequiredInputName (const DataObjectIdentifierType &) const
 
 itkLegacyMacro (virtual void RemoveInput(DataObject *input))
 
 itkLegacyMacro (void SetNumberOfInputs(DataObjectPointerArraySizeType num))
 
 itkLegacyMacro (virtual void RemoveOutput(DataObject *output))
 
 itkLegacyMacro (void SetNumberOfOutputs(DataObjectPointerArraySizeType num))
 
DataObjectPointerArraySizeType MakeIndexFromInputName (const DataObjectIdentifierType &name) const
 
DataObjectPointerArraySizeType MakeIndexFromOutputName (const DataObjectIdentifierType &name) const
 
DataObjectIdentifierType MakeNameFromInputIndex (DataObjectPointerArraySizeType idx) const
 
DataObjectIdentifierType MakeNameFromOutputIndex (DataObjectPointerArraySizeType idx) const
 
virtual void PopBackInput ()
 
virtual void PopFrontInput ()
 
 ProcessObject ()
 
virtual void PropagateResetPipeline ()
 
virtual void PushBackInput (const DataObject *input)
 
virtual void PushFrontInput (const DataObject *input)
 
virtual void ReleaseInputs ()
 
virtual void RemoveInput (const DataObjectIdentifierType &key)
 
virtual void RemoveInput (DataObjectPointerArraySizeType)
 
virtual void RemoveOutput (const DataObjectIdentifierType &key)
 
virtual void RemoveOutput (DataObjectPointerArraySizeType idx)
 
bool RemoveRequiredInputName (const DataObjectIdentifierType &)
 
virtual void RestoreInputReleaseDataFlags ()
 
virtual void SetInput (const DataObjectIdentifierType &key, DataObject *input)
 
virtual void SetNthInput (DataObjectPointerArraySizeType num, DataObject *input)
 
virtual void SetNthOutput (DataObjectPointerArraySizeType num, DataObject *output)
 
void SetNumberOfIndexedInputs (DataObjectPointerArraySizeType num)
 
void SetNumberOfIndexedOutputs (DataObjectPointerArraySizeType num)
 
virtual void SetNumberOfRequiredInputs (DataObjectPointerArraySizeType)
 
virtual void SetNumberOfRequiredOutputs (DataObjectPointerArraySizeType _arg)
 
virtual void SetOutput (const DataObjectIdentifierType &key, DataObject *output)
 
virtual void SetPrimaryInput (DataObject *input)
 
virtual void SetPrimaryInputName (const DataObjectIdentifierType &key)
 
virtual void SetPrimaryOutput (DataObject *output)
 
virtual void SetPrimaryOutputName (const DataObjectIdentifierType &key)
 
void SetRequiredInputNames (const NameArray &)
 
virtual void VerifyInputInformation ()
 
virtual void VerifyPreconditions ()
 
 ~ProcessObject ()
 
- Protected Member Functions inherited from itk::Object
 Object ()
 
bool PrintObservers (std::ostream &os, Indent indent) const
 
virtual void SetTimeStamp (const TimeStamp &time)
 
virtual ~Object ()
 
- Protected Member Functions inherited from itk::LightObject
virtual LightObject::Pointer InternalClone () const
 
 LightObject ()
 
virtual void PrintHeader (std::ostream &os, Indent indent) const
 
virtual void PrintTrailer (std::ostream &os, Indent indent) const
 
virtual ~LightObject ()
 

Private Member Functions

void operator= (const Self &)=delete
 
 VectorDataExtractROI (const Self &)=delete
 

Private Attributes

RegionType m_GeoROI
 
unsigned int m_Kept
 
bool m_ProjectionNeeded
 
RegionType m_ROI
 
virtual void CompareInputAndRegionProjection ()
 
virtual void ProjectRegionToInputVectorProjection ()
 
virtual RegionType ComputeVertexListBoundingRegion (typename VertexListType::ConstPointer vertexlist)
 
virtual VertexType PointToContinuousIndex (ProjPointType point)
 
void GenerateData (void) override
 
virtual bool IsPolygonIntersectionNotNull (PolygonPointerType polygon)
 
virtual bool IsLineIntersectionNotNull (LinePointerType line)
 
virtual void ProcessNode (InternalTreeNodeType *source, InternalTreeNodeType *destination)
 
int CounterClockWise (PointType firstPoint, PointType secondPoint, PointType thirdPoint)
 
bool IsSegmentIntersectSegment (LinePointerType segmentLineAB, LinePointerType segmentLineCD)
 

Additional Inherited Members

- Protected Attributes inherited from itk::ProcessObject
TimeStamp m_OutputInformationMTime
 
bool m_Updating
 
- Protected Attributes inherited from itk::LightObject
AtomicInt< int > m_ReferenceCount
 

Detailed Description

template<class TVectorData>
class otb::VectorDataExtractROI< TVectorData >

Extract a subset of a Vector Data based on location.

The region to extract is specified by a otb::RemoteSensingRegion object. This region contains its own projection reference that may be different from the projection of the vector data.

The projection of the vector data will not be modified by this filter if you need to change the projection, refer to otb::VectorDataProjectionFilter

Note
Parameter to this class for input and outputs are vectorData
See Also
RemoteSensingRegion
VectorDataProjectionFilter
Examples:
Projections/VectorDataExtractROIExample.cxx.

Definition at line 55 of file otbVectorDataExtractROI.h.

Member Typedef Documentation

template<class TVectorData>
typedef InternalTreeNodeType::ChildrenListType otb::VectorDataExtractROI< TVectorData >::ChildrenListType

Definition at line 96 of file otbVectorDataExtractROI.h.

template<class TVectorData>
typedef itk::SmartPointer<const Self> otb::VectorDataExtractROI< TVectorData >::ConstPointer

Definition at line 63 of file otbVectorDataExtractROI.h.

template<class TVectorData>
typedef DataNodeType::Pointer otb::VectorDataExtractROI< TVectorData >::DataNodePointerType

Definition at line 74 of file otbVectorDataExtractROI.h.

template<class TVectorData>
typedef VectorDataType::DataNodeType otb::VectorDataExtractROI< TVectorData >::DataNodeType

Definition at line 73 of file otbVectorDataExtractROI.h.

template<class TVectorData>
typedef VectorDataType::DataTreeType otb::VectorDataExtractROI< TVectorData >::DataTreeType

Definition at line 75 of file otbVectorDataExtractROI.h.

template<class TVectorData>
typedef RegionType::IndexType otb::VectorDataExtractROI< TVectorData >::IndexType

Definition at line 89 of file otbVectorDataExtractROI.h.

template<class TVectorData>
typedef itk::PreOrderTreeIterator<typename VectorDataType::DataTreeType> otb::VectorDataExtractROI< TVectorData >::InputTreeIteratorType

Definition at line 94 of file otbVectorDataExtractROI.h.

template<class TVectorData>
typedef VectorDataType::DataTreeType::TreeNodeType otb::VectorDataExtractROI< TVectorData >::InternalTreeNodeType

Definition at line 95 of file otbVectorDataExtractROI.h.

template<class TVectorData>
typedef DataNodeType::LinePointerType otb::VectorDataExtractROI< TVectorData >::LinePointerType

Definition at line 79 of file otbVectorDataExtractROI.h.

template<class TVectorData>
typedef DataNodeType::LineType otb::VectorDataExtractROI< TVectorData >::LineType

Definition at line 78 of file otbVectorDataExtractROI.h.

template<class TVectorData>
typedef itk::SmartPointer<Self> otb::VectorDataExtractROI< TVectorData >::Pointer

Definition at line 62 of file otbVectorDataExtractROI.h.

template<class TVectorData>
typedef DataNodeType::PointType otb::VectorDataExtractROI< TVectorData >::PointType

Definition at line 80 of file otbVectorDataExtractROI.h.

template<class TVectorData>
typedef DataNodeType::PolygonPointerType otb::VectorDataExtractROI< TVectorData >::PolygonPointerType

Definition at line 76 of file otbVectorDataExtractROI.h.

template<class TVectorData>
typedef DataNodeType::PolygonType otb::VectorDataExtractROI< TVectorData >::PolygonType

Definition at line 77 of file otbVectorDataExtractROI.h.

template<class TVectorData>
typedef itk::Point<typename VertexType::CoordRepType, IndexType::IndexDimension> otb::VectorDataExtractROI< TVectorData >::ProjPointType

Definition at line 92 of file otbVectorDataExtractROI.h.

template<class TVectorData>
typedef otb::RemoteSensingRegion<typename VertexType::CoordRepType> otb::VectorDataExtractROI< TVectorData >::RegionType

TODO : automate the dimension of the region

Definition at line 88 of file otbVectorDataExtractROI.h.

template<class TVectorData>
typedef VectorDataExtractROI otb::VectorDataExtractROI< TVectorData >::Self

Standard class typedefs.

Definition at line 60 of file otbVectorDataExtractROI.h.

template<class TVectorData>
typedef RegionType::SizeType otb::VectorDataExtractROI< TVectorData >::SizeType

Definition at line 90 of file otbVectorDataExtractROI.h.

template<class TVectorData>
typedef VectorDataToVectorDataFilter<TVectorData, TVectorData> otb::VectorDataExtractROI< TVectorData >::Superclass

Definition at line 61 of file otbVectorDataExtractROI.h.

template<class TVectorData>
typedef TVectorData otb::VectorDataExtractROI< TVectorData >::VectorDataType

Image type information

Definition at line 69 of file otbVectorDataExtractROI.h.

template<class TVectorData>
typedef PolygonType::VertexListPointer otb::VectorDataExtractROI< TVectorData >::VertexListPointer

Definition at line 85 of file otbVectorDataExtractROI.h.

template<class TVectorData>
typedef PolygonType::VertexListType otb::VectorDataExtractROI< TVectorData >::VertexListType

Definition at line 84 of file otbVectorDataExtractROI.h.

template<class TVectorData>
typedef PolygonType::VertexType otb::VectorDataExtractROI< TVectorData >::VertexType

Need Vertex and Vertex List Type

Definition at line 83 of file otbVectorDataExtractROI.h.

Constructor & Destructor Documentation

template<class TVectorData >
otb::VectorDataExtractROI< TVectorData >::VectorDataExtractROI ( )
protected

Definition at line 44 of file otbVectorDataExtractROI.hxx.

template<class TVectorData>
otb::VectorDataExtractROI< TVectorData >::~VectorDataExtractROI ( )
inlineoverrideprotected

Definition at line 109 of file otbVectorDataExtractROI.h.

template<class TVectorData>
otb::VectorDataExtractROI< TVectorData >::VectorDataExtractROI ( const Self )
privatedelete

Member Function Documentation

template<class TVectorData >
void otb::VectorDataExtractROI< TVectorData >::CompareInputAndRegionProjection ( )
protectedvirtual

Method to compare the projection embedded in the cartoRegion And the the InputVectorData

CompareInputAndRegionProjection

Definition at line 433 of file otbVectorDataExtractROI.hxx.

template<class TVectorData >
VectorDataExtractROI< TVectorData >::RegionType otb::VectorDataExtractROI< TVectorData >::ComputeVertexListBoundingRegion ( typename VertexListType::ConstPointer  vertexlist)
protectedvirtual

Improve the Projected roi

ComputeVertexListBoundingRegion

Definition at line 529 of file otbVectorDataExtractROI.hxx.

References itk::FixedArray< TValue, VLength >::Fill(), otb::RemoteSensingRegion< TType >::SetOrigin(), and otb::RemoteSensingRegion< TType >::SetSize().

template<class TVectorData >
int otb::VectorDataExtractROI< TVectorData >::CounterClockWise ( PointType  firstPoint,
PointType  secondPoint,
PointType  thirdPoint 
)
private

Method to compare the projection embedded in the cartoRegion And the the InputVectorData

CompareInputAndRegionProjection

Definition at line 383 of file otbVectorDataExtractROI.hxx.

template<class TVectorData>
virtual::itk::LightObject::Pointer otb::VectorDataExtractROI< TVectorData >::CreateAnother ( void  ) const
virtual

Reimplemented from itk::Object.

template<class TVectorData >
void otb::VectorDataExtractROI< TVectorData >::GenerateData ( void  )
overrideprotectedvirtual

Prototype of the generate data method

Need to check if it is necessary to project the roi

If Projection of the region is needed, we project on the vectorData coordinate axis

Reimplemented from itk::ProcessObject.

Definition at line 68 of file otbVectorDataExtractROI.hxx.

References otb::Stopwatch::GetElapsedMilliseconds(), otbMsgDevMacro, otb::Stopwatch::StartNew(), and otb::Stopwatch::Stop().

template<class TVectorData>
virtual const char* otb::VectorDataExtractROI< TVectorData >::GetNameOfClass ( ) const
virtual

Run-time type information (and related methods).

Reimplemented from otb::VectorDataToVectorDataFilter< TVectorData, TVectorData >.

template<class TVectorData>
const RegionType& otb::VectorDataExtractROI< TVectorData >::GetRegion ( )
inline

Definition at line 104 of file otbVectorDataExtractROI.h.

template<class TVectorData >
bool otb::VectorDataExtractROI< TVectorData >::IsLineIntersectionNotNull ( LinePointerType  line)
protectedvirtual

Method to check if the line Bounding Box ha ve a non-null intersection with the ROI

Definition at line 283 of file otbVectorDataExtractROI.hxx.

template<class TVectorData >
bool otb::VectorDataExtractROI< TVectorData >::IsPolygonIntersectionNotNull ( PolygonPointerType  polygon)
protectedvirtual

Method to check if the polygon Bounding Box ha ve a non-null intersection with the ROI

Definition at line 252 of file otbVectorDataExtractROI.hxx.

template<class TVectorData >
bool otb::VectorDataExtractROI< TVectorData >::IsSegmentIntersectSegment ( LinePointerType  segmentLineAB,
LinePointerType  segmentLineCD 
)
private

Method to compare the projection embedded in the cartoRegion And the the InputVectorData

CompareInputAndRegionProjection

Definition at line 351 of file otbVectorDataExtractROI.hxx.

template<class TVectorData>
static Pointer otb::VectorDataExtractROI< TVectorData >::New ( )
static

Method for creation through the object factory.

template<class TVectorData>
void otb::VectorDataExtractROI< TVectorData >::operator= ( const Self )
privatedelete
template<class TVectorData >
VectorDataExtractROI< TVectorData >::VertexType otb::VectorDataExtractROI< TVectorData >::PointToContinuousIndex ( ProjPointType  point)
protectedvirtual

Method to transform itk::Point to itk::ContinuousIndex

itk::Point to ContinuousIndex

Definition at line 511 of file otbVectorDataExtractROI.hxx.

template<class TVectorData >
void otb::VectorDataExtractROI< TVectorData >::PrintSelf ( std::ostream &  os,
itk::Indent  indent 
) const
overrideprotectedvirtual

Reimplemented from itk::ProcessObject.

Definition at line 57 of file otbVectorDataExtractROI.hxx.

template<class TVectorData >
void otb::VectorDataExtractROI< TVectorData >::ProcessNode ( InternalTreeNodeType source,
InternalTreeNodeType destination 
)
protectedvirtual

Method to compare the projection embedded in the cartoRegion And the the InputVectorData

CompareInputAndRegionProjection

Definition at line 125 of file otbVectorDataExtractROI.hxx.

References otb::DOCUMENT, otb::FEATURE_COLLECTION, otb::FEATURE_LINE, otb::FEATURE_MULTILINE, otb::FEATURE_MULTIPOINT, otb::FEATURE_MULTIPOLYGON, otb::FEATURE_POINT, otb::FEATURE_POLYGON, otb::FOLDER, and otb::ROOT.

template<class TVectorData >
void otb::VectorDataExtractROI< TVectorData >::ProjectRegionToInputVectorProjection ( )
protectedvirtual

Method to project from carto reference to Geo axis

ProjectRegionToInputVectorProjection

Set up the projection

Compute the extremities of the region

Fill the vertex List : First Convert Point To

Due to The projection : the Projected ROI can be rotated

Definition at line 451 of file otbVectorDataExtractROI.hxx.

References otbMsgDevMacro.

template<class TVectorData>
void otb::VectorDataExtractROI< TVectorData >::SetRegion ( const RegionType region)
inline

Method to Set/Get the Region of intereset

Definition at line 99 of file otbVectorDataExtractROI.h.

Member Data Documentation

template<class TVectorData>
RegionType otb::VectorDataExtractROI< TVectorData >::m_GeoROI
private

Definition at line 145 of file otbVectorDataExtractROI.h.

template<class TVectorData>
unsigned int otb::VectorDataExtractROI< TVectorData >::m_Kept
private

Definition at line 147 of file otbVectorDataExtractROI.h.

template<class TVectorData>
bool otb::VectorDataExtractROI< TVectorData >::m_ProjectionNeeded
private

Definition at line 143 of file otbVectorDataExtractROI.h.

template<class TVectorData>
RegionType otb::VectorDataExtractROI< TVectorData >::m_ROI
private

Definition at line 144 of file otbVectorDataExtractROI.h.


The documentation for this class was generated from the following files: