OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Public Attributes | Static Protected Attributes | Private Member Functions | List of all members
PickRetriever Class Referenceabstract
Inheritance diagram for PickRetriever:
[legend]

Public Member Functions

 PickRetriever ()
 
virtual bool enable (const TypeSet< int > *allowedsc)=0
 
virtual NotifierAccessfinished ()=0
 
virtual void reset ()=0
 
virtual bool success () const =0
 
virtual bool waiting () const =0
 
virtual const Coord3getPos () const =0
 
virtual Pos::GeomID getGeomID () const =0
 
virtual int getTrcNr () const =0
 
virtual int getSceneID () const =0
 
virtual const TypeSet< int > & getPickedObjIDs () const =0
 
virtual int unTransformedSceneID () const =0
 
virtual const ZAxisTransformgetZAxisTransform () const =0
 
- 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...
 

Static Public Member Functions

static PickRetrievergetInstance ()
 
static void setInstance (PickRetriever *)
 

Public Attributes

OD::ButtonState buttonstate_
 

Static Protected Attributes

static RefMan< PickRetrieverinstance_
 

Private Member Functions

 mRefCountImpl (PickRetriever)
 

Additional Inherited Members

- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Detailed Description

Interface to when an application wants a pick somewere in a 3D environment. There should normally only be one instance in memory, and that should be accessed via PickRetriever::getInstance().

Constructor & Destructor Documentation

PickRetriever::PickRetriever ( )

Member Function Documentation

virtual bool PickRetriever::enable ( const TypeSet< int > *  allowedsc)
pure 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.

Implemented in uiVisPickRetriever.

virtual NotifierAccess* PickRetriever::finished ( )
pure virtual

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

Implemented in uiVisPickRetriever.

virtual Pos::GeomID PickRetriever::getGeomID ( ) const
pure virtual

Implemented in uiVisPickRetriever.

static PickRetriever* PickRetriever::getInstance ( )
static

Main access function.

virtual const TypeSet<int>& PickRetriever::getPickedObjIDs ( ) const
pure virtual

Implemented in uiVisPickRetriever.

virtual const Coord3& PickRetriever::getPos ( ) const
pure virtual

Implemented in uiVisPickRetriever.

virtual int PickRetriever::getSceneID ( ) const
pure virtual

Implemented in uiVisPickRetriever.

virtual int PickRetriever::getTrcNr ( ) const
pure virtual

Implemented in uiVisPickRetriever.

virtual const ZAxisTransform* PickRetriever::getZAxisTransform ( ) const
pure virtual

Implemented in uiVisPickRetriever.

PickRetriever::mRefCountImpl ( PickRetriever  )
private
virtual void PickRetriever::reset ( )
pure virtual

Implemented in uiVisPickRetriever.

static void PickRetriever::setInstance ( PickRetriever )
static

Should normally only be called from application initiation.

virtual bool PickRetriever::success ( ) const
pure virtual

Implemented in uiVisPickRetriever.

virtual int PickRetriever::unTransformedSceneID ( ) const
pure virtual

Implemented in uiVisPickRetriever.

virtual bool PickRetriever::waiting ( ) const
pure virtual

Implemented in uiVisPickRetriever.

Member Data Documentation

OD::ButtonState PickRetriever::buttonstate_
RefMan<PickRetriever> PickRetriever::instance_
staticprotected

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