![]() |
OTB
10.0.0
Orfeo Toolbox
|
#include <otbVectorDataExtractROI.h>
Public Types | |
typedef VectorDataType::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 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 VectorDataType::ConstPointer | VectorDataConstPointerType |
typedef VectorDataType::Pointer | VectorDataPointerType |
typedef TVectorData | VectorDataType |
typedef PolygonType::VertexListPointer | VertexListPointer |
typedef PolygonType::VertexListType | VertexListType |
typedef PolygonType::VertexType | VertexType |
![]() | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::DataObject::Pointer | DataObjectPointer |
typedef itk::SmartPointer< InputDataNodeType > | InputDataNodePointerType |
typedef InputVectorDataType::DataNodeType | InputDataNodeType |
typedef InputVectorDataType::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 TVectorData | InputVectorDataType |
typedef itk::SmartPointer< OutputDataNodeType > | OutputDataNodePointerType |
typedef OutputVectorDataType::DataNodeType | OutputDataNodeType |
typedef OutputVectorDataType::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 TVectorData | OutputVectorDataType |
typedef itk::SmartPointer< Self > | Pointer |
typedef VectorDataToVectorDataFilter | Self |
typedef VectorDataSource< TVectorData > | Superclass |
![]() | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::ProcessObject::DataObjectPointerArraySizeType | DataObjectPointerArraySizeType |
typedef TOutputVectorData::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) |
![]() | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
InputVectorDataType * | GetInput (void) |
virtual void | SetInput (const InputVectorDataType *input) |
![]() | |
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 Pointer | New () |
![]() | |
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 (VectorDataConstPointerType inputVdata, DataNodePointerType source, VectorDataPointerType outputVdata, DataNodePointerType 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 53 of file otbVectorDataExtractROI.h.
typedef VectorDataType::ChildrenListType otb::VectorDataExtractROI< TVectorData >::ChildrenListType |
Definition at line 93 of file otbVectorDataExtractROI.h.
typedef itk::SmartPointer<const Self> otb::VectorDataExtractROI< TVectorData >::ConstPointer |
Definition at line 60 of file otbVectorDataExtractROI.h.
typedef DataNodeType::Pointer otb::VectorDataExtractROI< TVectorData >::DataNodePointerType |
Definition at line 73 of file otbVectorDataExtractROI.h.
typedef VectorDataType::DataNodeType otb::VectorDataExtractROI< TVectorData >::DataNodeType |
Definition at line 72 of file otbVectorDataExtractROI.h.
typedef VectorDataType::DataTreeType otb::VectorDataExtractROI< TVectorData >::DataTreeType |
Definition at line 74 of file otbVectorDataExtractROI.h.
typedef RegionType::IndexType otb::VectorDataExtractROI< TVectorData >::IndexType |
Definition at line 88 of file otbVectorDataExtractROI.h.
typedef DataNodeType::LinePointerType otb::VectorDataExtractROI< TVectorData >::LinePointerType |
Definition at line 78 of file otbVectorDataExtractROI.h.
typedef DataNodeType::LineType otb::VectorDataExtractROI< TVectorData >::LineType |
Definition at line 77 of file otbVectorDataExtractROI.h.
typedef itk::SmartPointer<Self> otb::VectorDataExtractROI< TVectorData >::Pointer |
Definition at line 59 of file otbVectorDataExtractROI.h.
typedef DataNodeType::PointType otb::VectorDataExtractROI< TVectorData >::PointType |
Definition at line 79 of file otbVectorDataExtractROI.h.
typedef DataNodeType::PolygonPointerType otb::VectorDataExtractROI< TVectorData >::PolygonPointerType |
Definition at line 75 of file otbVectorDataExtractROI.h.
typedef DataNodeType::PolygonType otb::VectorDataExtractROI< TVectorData >::PolygonType |
Definition at line 76 of file otbVectorDataExtractROI.h.
typedef itk::Point<typename VertexType::CoordRepType, IndexType::IndexDimension> otb::VectorDataExtractROI< TVectorData >::ProjPointType |
Definition at line 91 of file otbVectorDataExtractROI.h.
typedef otb::RemoteSensingRegion<typename VertexType::CoordRepType> otb::VectorDataExtractROI< TVectorData >::RegionType |
TODO : automate the dimension of the region
Definition at line 87 of file otbVectorDataExtractROI.h.
typedef VectorDataExtractROI otb::VectorDataExtractROI< TVectorData >::Self |
Standard class typedefs.
Definition at line 57 of file otbVectorDataExtractROI.h.
typedef RegionType::SizeType otb::VectorDataExtractROI< TVectorData >::SizeType |
Definition at line 89 of file otbVectorDataExtractROI.h.
typedef VectorDataToVectorDataFilter<TVectorData, TVectorData> otb::VectorDataExtractROI< TVectorData >::Superclass |
Definition at line 58 of file otbVectorDataExtractROI.h.
typedef VectorDataType::ConstPointer otb::VectorDataExtractROI< TVectorData >::VectorDataConstPointerType |
Definition at line 70 of file otbVectorDataExtractROI.h.
typedef VectorDataType::Pointer otb::VectorDataExtractROI< TVectorData >::VectorDataPointerType |
Definition at line 71 of file otbVectorDataExtractROI.h.
typedef TVectorData otb::VectorDataExtractROI< TVectorData >::VectorDataType |
Image type information
Definition at line 69 of file otbVectorDataExtractROI.h.
typedef PolygonType::VertexListPointer otb::VectorDataExtractROI< TVectorData >::VertexListPointer |
Definition at line 84 of file otbVectorDataExtractROI.h.
typedef PolygonType::VertexListType otb::VectorDataExtractROI< TVectorData >::VertexListType |
Definition at line 83 of file otbVectorDataExtractROI.h.
typedef PolygonType::VertexType otb::VectorDataExtractROI< TVectorData >::VertexType |
Need Vertex and Vertex List Type
Definition at line 82 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 378 of file otbVectorDataExtractROI.hxx.
|
protectedvirtual |
Improve the Projected roi
ComputeVertexListBoundingRegion
Definition at line 465 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 331 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).
Reimplemented from otb::VectorDataToVectorDataFilter< TVectorData, TVectorData >.
|
inline |
Definition at line 101 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 238 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 209 of file otbVectorDataExtractROI.hxx.
|
private |
Method to compare the projection embedded in the cartoRegion And the the InputVectorData
CompareInputAndRegionProjection
Definition at line 302 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 449 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 106 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 396 of file otbVectorDataExtractROI.hxx.
References otbMsgDevMacro.
|
inline |
Method to Set/Get the Region of interest
Definition at line 96 of file otbVectorDataExtractROI.h.
|
private |
Definition at line 145 of file otbVectorDataExtractROI.h.
|
private |
Definition at line 147 of file otbVectorDataExtractROI.h.
|
private |
Definition at line 143 of file otbVectorDataExtractROI.h.
|
private |
Definition at line 144 of file otbVectorDataExtractROI.h.