OTB
9.0.0
Orfeo Toolbox
|
#include <otbRectangle.h>
Public Types | |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef itk::ContinuousIndex< ValueType, 2 > | ContinuousIndexType |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::ImageRegion< 2 > | RegionType |
typedef Rectangle | Self |
typedef itk::Object | Superclass |
typedef TValue | ValueType |
typedef VertexListType::ConstIterator | VertexListConstIteratorType |
typedef VertexListType::Pointer | VertexListPointerType |
typedef itk::VectorContainer< unsigned, VertexType > | VertexListType |
typedef ContinuousIndexType | VertexType |
Public Member Functions | |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
virtual const char * | GetNameOfClass () const |
virtual ValueType | GetOrientation () |
virtual ValueType | GetWidth () |
virtual void | SetOrientation (ValueType _arg) |
virtual void | SetWidth (ValueType _arg) |
bool | IsInside (VertexType point) const |
virtual void | AddVertex (const ContinuousIndexType &vertex) |
virtual RegionType | GetBoundingRegion () const |
Static Public Member Functions | |
static Pointer | New () |
ValueType | m_Orientation |
ValueType | m_Width |
VertexListPointerType | m_VertexList |
Rectangle () | |
~Rectangle () override | |
void | PrintSelf (std::ostream &os, itk::Indent indent) const override |
virtual double | ComputeEuclideanDistanceMetricToSegment (VertexType q1, VertexType q2, VertexType p) const |
Rectangle (const Self &)=delete | |
void | operator= (const Self &)=delete |
This class represent a Rectangle.
A rectangle is defined by the median of the width, an orientation and a width
Definition at line 39 of file otbRectangle.h.
typedef itk::SmartPointer<const Self> otb::Rectangle< TValue >::ConstPointer |
Definition at line 46 of file otbRectangle.h.
typedef itk::ContinuousIndex<ValueType, 2> otb::Rectangle< TValue >::ContinuousIndexType |
Derived typedefs
Definition at line 54 of file otbRectangle.h.
typedef itk::SmartPointer<Self> otb::Rectangle< TValue >::Pointer |
Definition at line 45 of file otbRectangle.h.
typedef itk::ImageRegion<2> otb::Rectangle< TValue >::RegionType |
Definition at line 69 of file otbRectangle.h.
typedef Rectangle otb::Rectangle< TValue >::Self |
Standard typedefs
Definition at line 43 of file otbRectangle.h.
typedef itk::Object otb::Rectangle< TValue >::Superclass |
Definition at line 44 of file otbRectangle.h.
typedef TValue otb::Rectangle< TValue >::ValueType |
Definition at line 48 of file otbRectangle.h.
typedef VertexListType::ConstIterator otb::Rectangle< TValue >::VertexListConstIteratorType |
Definition at line 61 of file otbRectangle.h.
typedef VertexListType::Pointer otb::Rectangle< TValue >::VertexListPointerType |
Definition at line 60 of file otbRectangle.h.
typedef itk::VectorContainer<unsigned, VertexType> otb::Rectangle< TValue >::VertexListType |
Definition at line 59 of file otbRectangle.h.
typedef ContinuousIndexType otb::Rectangle< TValue >::VertexType |
Definition at line 58 of file otbRectangle.h.
|
inlineprotected |
Constructor
Definition at line 96 of file otbRectangle.h.
|
inlineoverrideprotected |
Destructor
Definition at line 103 of file otbRectangle.h.
|
privatedelete |
Constructor
|
virtual |
Check whether point is strictly inside the rectangle.
point | The point to check. |
Check whether point is strictly inside the polygon.
point | The point to check. |
Compute Length of the rectangle
Orthogonal segment containing the middle of the segment
Compute the distance to the orthogonal median of the rectangle
Definition at line 191 of file otbRectangle.hxx.
|
protectedvirtual |
Method to compute the distance between a point and a segment
distance from Point P to Segment Q1Q2
Definition at line 74 of file otbRectangle.hxx.
virtual::itk::LightObject::Pointer otb::Rectangle< TValue >::CreateAnother | ( | void | ) | const |
|
virtual |
GetBounding region
Method to compute the Bounding region of a rectangle
Compute the four corners of the recatangle
Compute the bounding region
Definition at line 96 of file otbRectangle.hxx.
|
virtual |
Creation through object factory macro
|
virtual |
|
virtual |
Set/Get the parameters the a rectangle
bool otb::Rectangle< TValue >::IsInside | ( | VertexType | point | ) | const |
Check whether point is strictly inside the rectangle.
point | The point to check. |
Check whether point is strictly inside the polygon.
point | The point to check. |
Compute Length of the rectangle
Orthogonal segment containing the middle of the segment
Compute the distance to the orthogonal median of the rectangle
Definition at line 36 of file otbRectangle.hxx.
|
static |
Type macro
|
privatedelete |
Constructor
|
overrideprotected |
|
virtual |
|
virtual |
|
private |
Constructor
Definition at line 119 of file otbRectangle.h.
|
private |
Constructor
Definition at line 122 of file otbRectangle.h.
|
private |
Constructor
Definition at line 120 of file otbRectangle.h.