OpendTect-6_4  6.4
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes | List of all members
uiVisPickRetriever Class Reference
Inheritance diagram for uiVisPickRetriever:
[legend]

Public Member Functions

 uiVisPickRetriever (uiVisPartServer *)
 
bool enable (const TypeSet< int > *allowedscenes)
 
NotifierAccessfinished ()
 
void reset ()
 
bool success () const
 
bool waiting () const
 
const Coord3getPos () const
 
int getTrcNr () const
 
Pos::GeomID getGeomID () const
 
int getSceneID () const
 
const TypeSet< int > & getPickedObjIDs () const
 
void addScene (visSurvey::Scene *)
 
void removeScene (visSurvey::Scene *)
 
int unTransformedSceneID () const
 
const ZAxisTransformgetZAxisTransform () const
 
- Public Member Functions inherited from PickRetriever
 PickRetriever ()
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 

Protected Types

enum  Status { Idle, Waiting, Failed, Success }
 

Protected Member Functions

 ~uiVisPickRetriever ()
 
void pickCB (CallBacker *)
 
void resetPickedPos ()
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

ObjectSet< visSurvey::Scenescenes_
 
TypeSet< int > allowedscenes_
 
TypeSet< int > pickedobjids_
 
enum uiVisPickRetriever::Status status_
 
Coord3 pickedpos_
 
int pickedtrcnr_
 
Pos::GeomID pickedgeomid_
 
int pickedscene_
 
Notifier< uiVisPickRetrieverfinished_
 
uiVisPartServervisserv_
 

Additional Inherited Members

- Static Public Member Functions inherited from PickRetriever
static PickRetrievergetInstance ()
 
static void setInstance (PickRetriever *)
 
- Public Attributes inherited from PickRetriever
OD::ButtonState buttonstate_
 
- Static Protected Attributes inherited from PickRetriever
static RefMan< PickRetrieverinstance_
 

Detailed Description

Member Enumeration Documentation

Enumerator
Idle 
Waiting 
Failed 
Success 

Constructor & Destructor Documentation

uiVisPickRetriever::uiVisPickRetriever ( uiVisPartServer )
uiVisPickRetriever::~uiVisPickRetriever ( )
protected

Member Function Documentation

void uiVisPickRetriever::addScene ( visSurvey::Scene )
bool uiVisPickRetriever::enable ( const TypeSet< int > *  allowedsc)
virtual

Sets the object in a state where it's retrieving picks.

Note
if allowedsc is empty or null, picks are allowed in all scenes.

Implements PickRetriever.

NotifierAccess* uiVisPickRetriever::finished ( )
inlinevirtual

Triggers when it does not look for pick any longer. The outcome can be retrieved bu success(), getPos() and getSceneID().

Implements PickRetriever.

Pos::GeomID uiVisPickRetriever::getGeomID ( ) const
inlinevirtual

Implements PickRetriever.

const TypeSet<int>& uiVisPickRetriever::getPickedObjIDs ( ) const
inlinevirtual

Implements PickRetriever.

const Coord3& uiVisPickRetriever::getPos ( ) const
inlinevirtual

Implements PickRetriever.

int uiVisPickRetriever::getSceneID ( ) const
inlinevirtual

Implements PickRetriever.

int uiVisPickRetriever::getTrcNr ( ) const
inlinevirtual

Implements PickRetriever.

const ZAxisTransform* uiVisPickRetriever::getZAxisTransform ( ) const
virtual

Implements PickRetriever.

void uiVisPickRetriever::pickCB ( CallBacker )
protected
void uiVisPickRetriever::removeScene ( visSurvey::Scene )
void uiVisPickRetriever::reset ( )
virtual

Implements PickRetriever.

void uiVisPickRetriever::resetPickedPos ( )
protected
bool uiVisPickRetriever::success ( ) const
inlinevirtual

Implements PickRetriever.

int uiVisPickRetriever::unTransformedSceneID ( ) const
virtual

Implements PickRetriever.

bool uiVisPickRetriever::waiting ( ) const
inlinevirtual

Implements PickRetriever.

Member Data Documentation

TypeSet<int> uiVisPickRetriever::allowedscenes_
protected
Notifier<uiVisPickRetriever> uiVisPickRetriever::finished_
protected
Pos::GeomID uiVisPickRetriever::pickedgeomid_
protected
TypeSet<int> uiVisPickRetriever::pickedobjids_
protected
Coord3 uiVisPickRetriever::pickedpos_
protected
int uiVisPickRetriever::pickedscene_
protected
int uiVisPickRetriever::pickedtrcnr_
protected
ObjectSet<visSurvey::Scene> uiVisPickRetriever::scenes_
protected
enum uiVisPickRetriever::Status uiVisPickRetriever::status_
protected
uiVisPartServer* uiVisPickRetriever::visserv_
protected

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