OpendTect  6.6
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
SelectionArea Struct Reference

Public Types

enum  SelAxisType { Y1 , Y2 , Both }
 

Public Member Functions

 SelectionArea ()
 
 SelectionArea (bool isrect)
 
 SelectionArea (const ODPolygon< int > &)
 
 SelectionArea (const uiRect &)
 
 ~SelectionArea ()
 
uiPoint center () const
 
void geomChanged ()
 
BufferStringSet getAxisNames () const
 
Interval< double > getValueRange (bool forx, bool alt=false) const
 
bool isInside (const uiPoint &) const
 
bool isValid () const
 
bool operator== (const SelectionArea &) const
 
float selectedness (uiPoint) const
 

Public Attributes

ODPolygon< double > altworldpoly_
 
uiWorldRect altworldrect_
 
BufferString altyaxisnm_
 
SelAxisType axistype_
 
uiPoint center_
 
int id_
 
bool isrectangle_
 
ODPolygon< int > poly_
 
uiRect rect_
 
ODPolygon< double > worldpoly_
 
uiWorldRect worldrect_
 
BufferString xaxisnm_
 
BufferString yaxisnm_
 

Protected Member Functions

double maxDisToBorder () const
 
double minDisToBorder (uiPoint) const
 

Protected Attributes

double maxdistest_
 

Member Enumeration Documentation

◆ SelAxisType

Enumerator
Y1 
Y2 
Both 

Constructor & Destructor Documentation

◆ SelectionArea() [1/4]

SelectionArea::SelectionArea ( const uiRect )

◆ SelectionArea() [2/4]

SelectionArea::SelectionArea ( const ODPolygon< int > &  )

◆ SelectionArea() [3/4]

SelectionArea::SelectionArea ( bool  isrect)

◆ SelectionArea() [4/4]

SelectionArea::SelectionArea ( )
inline

◆ ~SelectionArea()

SelectionArea::~SelectionArea ( )

Member Function Documentation

◆ center()

uiPoint SelectionArea::center ( ) const

◆ geomChanged()

void SelectionArea::geomChanged ( )
inline

◆ getAxisNames()

BufferStringSet SelectionArea::getAxisNames ( ) const

◆ getValueRange()

Interval<double> SelectionArea::getValueRange ( bool  forx,
bool  alt = false 
) const

◆ isInside()

bool SelectionArea::isInside ( const uiPoint ) const

◆ isValid()

bool SelectionArea::isValid ( ) const

◆ maxDisToBorder()

double SelectionArea::maxDisToBorder ( ) const
protected

◆ minDisToBorder()

double SelectionArea::minDisToBorder ( uiPoint  ) const
protected

◆ operator==()

bool SelectionArea::operator== ( const SelectionArea ) const

◆ selectedness()

float SelectionArea::selectedness ( uiPoint  ) const

Member Data Documentation

◆ altworldpoly_

ODPolygon<double> SelectionArea::altworldpoly_

◆ altworldrect_

uiWorldRect SelectionArea::altworldrect_

◆ altyaxisnm_

BufferString SelectionArea::altyaxisnm_

◆ axistype_

SelAxisType SelectionArea::axistype_

◆ center_

uiPoint SelectionArea::center_

◆ id_

int SelectionArea::id_

◆ isrectangle_

bool SelectionArea::isrectangle_

◆ maxdistest_

double SelectionArea::maxdistest_
mutableprotected

◆ poly_

ODPolygon<int> SelectionArea::poly_

◆ rect_

uiRect SelectionArea::rect_

◆ worldpoly_

ODPolygon<double> SelectionArea::worldpoly_

◆ worldrect_

uiWorldRect SelectionArea::worldrect_

◆ xaxisnm_

BufferString SelectionArea::xaxisnm_

◆ yaxisnm_

BufferString SelectionArea::yaxisnm_

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022