OTB
9.0.0
Orfeo Toolbox
|
#include <otbVectorDataExtractROI.h>
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< Self > | Pointer |
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< Self > | Pointer |
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< Self > | Pointer |
typedef VectorDataSource | Self |
typedef itk::ProcessObject | Superclass |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
const RegionType & | GetRegion () |
void | SetRegion (const RegionType ®ion) |
Public Member Functions inherited from otb::VectorDataToVectorDataFilter< TVectorData, TVectorData > | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
const InputVectorDataType * | GetInput (void) |
virtual const char * | GetNameOfClass () const |
virtual void | SetInput (const InputVectorDataType *input) |
Public Member Functions inherited from otb::VectorDataSource< TVectorData > | |
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< TVectorData, TVectorData > | |
static Pointer | New () |
Static Public Member Functions inherited from otb::VectorDataSource< TVectorData > | |
static Pointer | New () |
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) |
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
Definition at line 54 of file otbVectorDataExtractROI.h.
typedef InternalTreeNodeType::ChildrenListType otb::VectorDataExtractROI< TVectorData >::ChildrenListType |
Definition at line 94 of file otbVectorDataExtractROI.h.
typedef itk::SmartPointer<const Self> otb::VectorDataExtractROI< TVectorData >::ConstPointer |
Definition at line 61 of file otbVectorDataExtractROI.h.
typedef DataNodeType::Pointer otb::VectorDataExtractROI< TVectorData >::DataNodePointerType |
Definition at line 72 of file otbVectorDataExtractROI.h.
typedef VectorDataType::DataNodeType otb::VectorDataExtractROI< TVectorData >::DataNodeType |
Definition at line 71 of file otbVectorDataExtractROI.h.
typedef VectorDataType::DataTreeType otb::VectorDataExtractROI< TVectorData >::DataTreeType |
Definition at line 73 of file otbVectorDataExtractROI.h.
typedef RegionType::IndexType otb::VectorDataExtractROI< TVectorData >::IndexType |
Definition at line 87 of file otbVectorDataExtractROI.h.
typedef itk::PreOrderTreeIterator<typename VectorDataType::DataTreeType> otb::VectorDataExtractROI< TVectorData >::InputTreeIteratorType |
Definition at line 92 of file otbVectorDataExtractROI.h.
typedef VectorDataType::DataTreeType::TreeNodeType otb::VectorDataExtractROI< TVectorData >::InternalTreeNodeType |
Definition at line 93 of file otbVectorDataExtractROI.h.
typedef DataNodeType::LinePointerType otb::VectorDataExtractROI< TVectorData >::LinePointerType |
Definition at line 77 of file otbVectorDataExtractROI.h.
typedef DataNodeType::LineType otb::VectorDataExtractROI< TVectorData >::LineType |
Definition at line 76 of file otbVectorDataExtractROI.h.
typedef itk::SmartPointer<Self> otb::VectorDataExtractROI< TVectorData >::Pointer |
Definition at line 60 of file otbVectorDataExtractROI.h.
typedef DataNodeType::PointType otb::VectorDataExtractROI< TVectorData >::PointType |
Definition at line 78 of file otbVectorDataExtractROI.h.
typedef DataNodeType::PolygonPointerType otb::VectorDataExtractROI< TVectorData >::PolygonPointerType |
Definition at line 74 of file otbVectorDataExtractROI.h.
typedef DataNodeType::PolygonType otb::VectorDataExtractROI< TVectorData >::PolygonType |
Definition at line 75 of file otbVectorDataExtractROI.h.
typedef itk::Point<typename VertexType::CoordRepType, IndexType::IndexDimension> otb::VectorDataExtractROI< TVectorData >::ProjPointType |
Definition at line 90 of file otbVectorDataExtractROI.h.
typedef otb::RemoteSensingRegion<typename VertexType::CoordRepType> otb::VectorDataExtractROI< TVectorData >::RegionType |
TODO : automate the dimension of the region
Definition at line 86 of file otbVectorDataExtractROI.h.
typedef VectorDataExtractROI otb::VectorDataExtractROI< TVectorData >::Self |
Standard class typedefs.
Definition at line 58 of file otbVectorDataExtractROI.h.
typedef RegionType::SizeType otb::VectorDataExtractROI< TVectorData >::SizeType |
Definition at line 88 of file otbVectorDataExtractROI.h.
typedef VectorDataToVectorDataFilter<TVectorData, TVectorData> otb::VectorDataExtractROI< TVectorData >::Superclass |
Definition at line 59 of file otbVectorDataExtractROI.h.
typedef TVectorData otb::VectorDataExtractROI< TVectorData >::VectorDataType |
Image type information
Definition at line 67 of file otbVectorDataExtractROI.h.
typedef PolygonType::VertexListPointer otb::VectorDataExtractROI< TVectorData >::VertexListPointer |
Definition at line 83 of file otbVectorDataExtractROI.h.
typedef PolygonType::VertexListType otb::VectorDataExtractROI< TVectorData >::VertexListType |
Definition at line 82 of file otbVectorDataExtractROI.h.
typedef PolygonType::VertexType otb::VectorDataExtractROI< TVectorData >::VertexType |
Need Vertex and Vertex List Type
Definition at line 81 of file otbVectorDataExtractROI.h.
|
protected |
Definition at line 43 of file otbVectorDataExtractROI.hxx.
|
overrideprotecteddefault |
|
privatedelete |
|
protectedvirtual |
Method to compare the projection embedded in the cartoRegion And the the InputVectorData
CompareInputAndRegionProjection
Definition at line 409 of file otbVectorDataExtractROI.hxx.
|
protectedvirtual |
Improve the Projected roi
ComputeVertexListBoundingRegion
Definition at line 496 of file otbVectorDataExtractROI.hxx.
References otb::RemoteSensingRegion< TType >::SetOrigin(), and otb::RemoteSensingRegion< TType >::SetSize().
|
private |
Method to compare the projection embedded in the cartoRegion And the the InputVectorData
CompareInputAndRegionProjection
Definition at line 362 of file otbVectorDataExtractROI.hxx.
virtual::itk::LightObject::Pointer otb::VectorDataExtractROI< TVectorData >::CreateAnother | ( | void | ) | const |
|
overrideprotected |
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
Definition at line 60 of file otbVectorDataExtractROI.hxx.
References otb::Stopwatch::GetElapsedMilliseconds(), otbMsgDevMacro, otb::Stopwatch::StartNew(), and otb::Stopwatch::Stop().
|
virtual |
Run-time type information (and related methods).
|
inline |
Definition at line 102 of file otbVectorDataExtractROI.h.
|
protectedvirtual |
Method to check if the line Bounding Box ha ve a non-null intersection with the ROI
Definition at line 269 of file otbVectorDataExtractROI.hxx.
References otb::RemoteSensingRegion< TType >::Crop().
|
protectedvirtual |
Method to check if the polygon Bounding Box ha ve a non-null intersection with the ROI
Definition at line 240 of file otbVectorDataExtractROI.hxx.
|
private |
Method to compare the projection embedded in the cartoRegion And the the InputVectorData
CompareInputAndRegionProjection
Definition at line 333 of file otbVectorDataExtractROI.hxx.
|
static |
Method for creation through the object factory.
|
privatedelete |
|
protectedvirtual |
Method to transform itk::Point to itk::ContinuousIndex
itk::Point to ContinuousIndex
Definition at line 480 of file otbVectorDataExtractROI.hxx.
|
overrideprotected |
Definition at line 51 of file otbVectorDataExtractROI.hxx.
|
protectedvirtual |
Method to compare the projection embedded in the cartoRegion And the the InputVectorData
CompareInputAndRegionProjection
Definition at line 115 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.
|
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 427 of file otbVectorDataExtractROI.hxx.
References otbMsgDevMacro.
|
inline |
Method to Set/Get the Region of interest
Definition at line 97 of file otbVectorDataExtractROI.h.
|
private |
Definition at line 146 of file otbVectorDataExtractROI.h.
|
private |
Definition at line 148 of file otbVectorDataExtractROI.h.
|
private |
Definition at line 144 of file otbVectorDataExtractROI.h.
|
private |
Definition at line 145 of file otbVectorDataExtractROI.h.