OpendTect 8.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
SelectionArea Struct Reference

#include <uidpscrossplottools.h>

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 (const uiPoint &) const
 

Public Attributes

ODPolygon< double > altworldpoly_
 
uiWorldRect altworldrect_
 
BufferString altyaxisnm_
 
SelAxisType axistype_ = Y1
 
uiPoint center_
 
int id_ = -1
 
bool isrectangle_ = true
 
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_ = mUdf(double)
 

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 ( )

◆ ~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 ( const uiPoint & ) const

Member Data Documentation

◆ altworldpoly_

ODPolygon<double> SelectionArea::altworldpoly_

◆ altworldrect_

uiWorldRect SelectionArea::altworldrect_

◆ altyaxisnm_

BufferString SelectionArea::altyaxisnm_

◆ axistype_

SelAxisType SelectionArea::axistype_ = Y1

◆ center_

uiPoint SelectionArea::center_

◆ id_

int SelectionArea::id_ = -1

◆ isrectangle_

bool SelectionArea::isrectangle_ = true

◆ maxdistest_

double SelectionArea::maxdistest_ = mUdf(double)
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-2025