OpendTect  6.6
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 *)
 
void addScene (visSurvey::Scene *)
 
bool enable (const TypeSet< int > *allowedscenes)
 
NotifierAccessfinished ()
 
Pos::GeomID getGeomID () const
 
const TypeSet< int > & getPickedObjIDs () const
 
const Coord3getPos () const
 
int getSceneID () const
 
int getTrcNr () const
 
const ZAxisTransformgetZAxisTransform () const
 
void removeScene (visSurvey::Scene *)
 
void reset ()
 
bool success () const
 
int unTransformedSceneID () const
 
bool waiting () const
 
- Public Member Functions inherited from PickRetriever
 PickRetriever ()
 
- Public Member Functions inherited from CallBacker
 CallBacker ()
 
 CallBacker (const CallBacker &)
 
virtual ~CallBacker ()
 
bool attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachAllNotifiers () const
 Call from the destructor of your inherited object. More...
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
virtual bool isCapsule () const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
void stopReceivingNotifications () const
 

Protected Types

enum  Status { Idle , Waiting , Failed , Success }
 

Protected Member Functions

 ~uiVisPickRetriever ()
 
void pickCB (CallBacker *)
 
void resetPickedPos ()
 

Protected Attributes

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

Additional Inherited Members

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

Detailed Description

<>

Member Enumeration Documentation

◆ Status

Enumerator
Idle 
Waiting 
Failed 
Success 

Constructor & Destructor Documentation

◆ uiVisPickRetriever()

uiVisPickRetriever::uiVisPickRetriever ( uiVisPartServer )

◆ ~uiVisPickRetriever()

uiVisPickRetriever::~uiVisPickRetriever ( )
protected

Member Function Documentation

◆ addScene()

void uiVisPickRetriever::addScene ( visSurvey::Scene )

◆ enable()

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.

◆ finished()

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.

◆ getGeomID()

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

Implements PickRetriever.

◆ getPickedObjIDs()

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

Implements PickRetriever.

◆ getPos()

const Coord3& uiVisPickRetriever::getPos ( ) const
inlinevirtual

Implements PickRetriever.

◆ getSceneID()

int uiVisPickRetriever::getSceneID ( ) const
inlinevirtual

Implements PickRetriever.

◆ getTrcNr()

int uiVisPickRetriever::getTrcNr ( ) const
inlinevirtual

Implements PickRetriever.

◆ getZAxisTransform()

const ZAxisTransform* uiVisPickRetriever::getZAxisTransform ( ) const
virtual

Implements PickRetriever.

◆ pickCB()

void uiVisPickRetriever::pickCB ( CallBacker )
protected

◆ removeScene()

void uiVisPickRetriever::removeScene ( visSurvey::Scene )

◆ reset()

void uiVisPickRetriever::reset ( )
virtual

Implements PickRetriever.

◆ resetPickedPos()

void uiVisPickRetriever::resetPickedPos ( )
protected

◆ success()

bool uiVisPickRetriever::success ( ) const
inlinevirtual

Implements PickRetriever.

◆ unTransformedSceneID()

int uiVisPickRetriever::unTransformedSceneID ( ) const
virtual

Implements PickRetriever.

◆ waiting()

bool uiVisPickRetriever::waiting ( ) const
inlinevirtual

Implements PickRetriever.

Member Data Documentation

◆ allowedscenes_

TypeSet<int> uiVisPickRetriever::allowedscenes_
protected

◆ finished_

Notifier<uiVisPickRetriever> uiVisPickRetriever::finished_
protected

◆ pickedgeomid_

Pos::GeomID uiVisPickRetriever::pickedgeomid_
protected

◆ pickedobjids_

TypeSet<int> uiVisPickRetriever::pickedobjids_
protected

◆ pickedpos_

Coord3 uiVisPickRetriever::pickedpos_
protected

◆ pickedscene_

int uiVisPickRetriever::pickedscene_
protected

◆ pickedtrcnr_

int uiVisPickRetriever::pickedtrcnr_
protected

◆ scenes_

ObjectSet<visSurvey::Scene> uiVisPickRetriever::scenes_
protected

◆ status_

enum uiVisPickRetriever::Status uiVisPickRetriever::status_
protected

◆ visserv_

uiVisPartServer* uiVisPickRetriever::visserv_
protected

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