OpendTect  7.0
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< SceneID > *allowedscenes)
 
NotifierAccessfinished ()
 
Pos::GeomID getGeomID () const
 
const TypeSet< VisID > & getPickedObjIDs () const
 
const Coord3getPos () const
 
SceneID getSceneID () const
 
int getTrcNr () const
 
const ZAxisTransformgetZAxisTransform () const
 
void removeScene (visSurvey::Scene *)
 
void reset ()
 
bool success () const
 
SceneID unTransformedSceneID () const
 
bool waiting () const
 
- Public Member Functions inherited from SharedObject
 SharedObject (const char *nm=nullptr)
 
 SharedObject (const SharedObject &)
 
- Public Member Functions inherited from NamedCallBacker
 NamedCallBacker (const char *nm=0)
 
 NamedCallBacker (const NamedCallBacker &)
 
virtual Notifier< NamedCallBacker > & objectToBeDeleted () const
 
bool operator== (const NamedCallBacker &oth) const
 
bool operator== (const NamedObject &oth) const
 
- 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
 
virtual CallBackertrueCaller ()
 
- Public Member Functions inherited from NamedObject
 NamedObject (const char *nm=nullptr)
 
 NamedObject (const NamedObject &oth)
 
virtual ~NamedObject ()
 
virtual BufferString getName () const
 
bool getNameFromPar (const IOPar &)
 
const name_typename () const override
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
virtual void setName (const char *nm)
 
- Public Member Functions inherited from ObjectWithName
virtual ~ObjectWithName ()
 
bool hasName (const char *nm) const
 
bool hasName (const name_type &nm) const
 
void putNameInPar (IOPar &) const
 
- Public Member Functions inherited from RefCount::Referenced
void addObserver (WeakPtrBase *obs)
 Not for normal use. May become private. More...
 
int nrRefs () const
 Only for expert use. More...
 
void ref () const
 
bool refIfReffed () const
 Don't use in production, for debugging. More...
 
void removeObserver (WeakPtrBase *obs)
 Not for normal use. May become private. More...
 
bool tryRef () const
 Not for normal use. May become private. More...
 
void unRef () const
 
void unRefNoDelete () const
 

Protected Types

enum  Status { Idle , Waiting , Failed , Success }
 

Protected Member Functions

 ~uiVisPickRetriever ()
 
void pickCB (CallBacker *)
 
void resetPickedPos ()
 
- Protected Member Functions inherited from PickRetriever
 PickRetriever ()
 
virtual ~PickRetriever ()
 
- Protected Member Functions inherited from SharedObject
virtual ~SharedObject ()
 
- Protected Member Functions inherited from NamedCallBacker
void sendDelNotif () const
 
- Protected Member Functions inherited from RefCount::Referenced
 Referenced ()
 
 Referenced (const Referenced &)
 
virtual ~Referenced ()
 
Referencedoperator= (const Referenced &)
 

Protected Attributes

TypeSet< SceneIDallowedscenes_
 
Notifier< uiVisPickRetrieverfinished_
 
Pos::GeomID pickedgeomid_
 
TypeSet< VisIDpickedobjids_
 
Coord3 pickedpos_
 
SceneID pickedscene_
 
int pickedtrcnr_
 
ObjectSet< visSurvey::Scenescenes_
 
enum uiVisPickRetriever::Status status_
 
uiVisPartServervisserv_
 
- Protected Attributes inherited from NamedCallBacker
Threads::Atomic< bool > delalreadytriggered_
 
Notifier< NamedCallBackerdelnotif_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 

Additional Inherited Members

- Public Types inherited from ObjectWithName
typedef OD::String name_type
 
- Static Public Member Functions inherited from PickRetriever
static PickRetrievergetInstance ()
 
static void setInstance (PickRetriever *)
 
- Static Public Member Functions inherited from SharedObject
static Notifier< SharedObject > & instanceCreated ()
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 
- Static Public Member Functions inherited from RefCount::Referenced
static bool isSane (const Referenced *)
 
- 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< SceneID > *  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<VisID>& uiVisPickRetriever::getPickedObjIDs ( ) const
inlinevirtual

Implements PickRetriever.

◆ getPos()

const Coord3& uiVisPickRetriever::getPos ( ) const
inlinevirtual

Implements PickRetriever.

◆ getSceneID()

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

SceneID uiVisPickRetriever::unTransformedSceneID ( ) const
virtual

Implements PickRetriever.

◆ waiting()

bool uiVisPickRetriever::waiting ( ) const
inlinevirtual

Implements PickRetriever.

Member Data Documentation

◆ allowedscenes_

TypeSet<SceneID> uiVisPickRetriever::allowedscenes_
protected

◆ finished_

Notifier<uiVisPickRetriever> uiVisPickRetriever::finished_
protected

◆ pickedgeomid_

Pos::GeomID uiVisPickRetriever::pickedgeomid_
protected

◆ pickedobjids_

TypeSet<VisID> uiVisPickRetriever::pickedobjids_
protected

◆ pickedpos_

Coord3 uiVisPickRetriever::pickedpos_
protected

◆ pickedscene_

SceneID 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-2024