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

Public Member Functions

void setSceneEventCatcher (visBase::EventCatcher *)
 
void setDisplayTransformation (const mVisTrans *)
 
const mVisTransgetDisplayTransformation () const
 
const MPEClickInfoinfo () const
 
MPEClickInfoinfo ()
 
const visBase::EventInfovisInfo () const
 
void setTrackerType (const char *)
 
void setEditor (MPEEditor *)
 
const MPEEditorgetEditor () const
 
bool activateSower (const Color &, const TrcKeySampling *=0)
 
bool sequentSowing () const
 
bool moreToSow () const
 
void stopSowing ()
 
- Public Member Functions inherited from visBase::VisualObjectImpl
void setRightHandSystem (bool yn)
 
bool isRightHandSystem () const
 
void setLockable ()
 
void readLock ()
 
void readUnLock ()
 
bool tryReadLock ()
 
void writeLock ()
 
void writeUnLock ()
 
bool tryWriteLock ()
 
void setMaterial (Material *)
 
const MaterialgetMaterial () const
 
MaterialgetMaterial ()
 
virtual bool usePar (const IOPar &)
 
virtual void fillPar (IOPar &) const
 
- Public Member Functions inherited from visBase::VisualObject
virtual bool getBoundingBox (Coord3 &min, Coord3 &max) const
 
void setSelectable (bool yn)
 
bool selectable () const
 
NotifierAccessselection ()
 
NotifierAccessdeSelection ()
 
virtual NotifierAccessrightClicked ()
 
const EventInforightClickedEventInfo () const
 
const TypeSet< int > * rightClickedPath () const
 
- Public Member Functions inherited from visBase::DataObject
virtual const char * getClassName () const
 
virtual bool isOK () const
 
int id () const
 
void setID (int nid)
 
uiString name () const
 
virtual void setName (const uiString &)
 
osg::Node * osgNode (bool skipswitch=false)
 
const osg::Node * osgNode (bool skipswitch=false) const
 
void enableTraversal (unsigned int mask, bool yn=true)
 
bool isTraversalEnabled (unsigned int mask) const
 
SoNode * getInventorNode ()
 
const SoNode * getInventorNode () const
 
virtual bool turnOn (bool yn)
 
virtual bool isOn () const
 
bool isPickable (bool actively=true) const
 
void setPickable (bool actively, bool passively=true)
 
virtual bool rightClickable () const
 
void select () const
 
void deSelect () const
 
void updateSel () const
 
virtual bool isSelected () const
 
virtual void setDisplayTransformation (const visBase::Transformation *)
 
virtual void setPixelDensity (float dpi)
 
virtual float getPixelDensity () const
 
virtual const char * errMsg () const
 
bool serialize (const char *filename, bool binary=false)
 
void setParent (DataObjectGroup *g)
 
template<class T >
T * addNodeState (T *ns)
 
NodeStateremoveNodeState (NodeState *)
 
NodeStategetNodeState (int idx)
 
- 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 MPEClickCatchercreate () mCreateDataObj(MPEClickCatcher)
 
static bool isClickable (const char *trackertype, int visid)
 
- Static Public Member Functions inherited from visBase::VisualObjectImpl
static const char * sKeyMaterialID ()
 
static const char * sKeyMaterial ()
 
static const char * sKeyIsOn ()
 
- Static Public Member Functions inherited from visBase::DataObject
static int getID (const osg::Node *)
 
static float getDefaultPixelDensity ()
 
static void setVisualizationThread (const void *)
 Call only once from initialization. More...
 
static bool isVisualizationThread ()
 
static void requestSingleRedraw ()
 
static void setCommonViewer (osgViewer::CompositeViewer *)
 
static osgViewer::CompositeViewer * getCommonViewer ()
 

Public Attributes

Notifier< MPEClickCatcherclick
 
Notifier< MPEClickCatcherendSowing
 
Notifier< MPEClickCatchersowing
 

Protected Member Functions

 ~MPEClickCatcher ()
 
void clickCB (CallBacker *)
 
void sendUnderlying2DSeis (const EMObjectDisplay *, const visBase::EventInfo &)
 
void sendUnderlyingPlanes (const EMObjectDisplay *, const visBase::EventInfo &)
 
void handleObjectOnSeis2DDisplay (Seis2DDisplay *, const Coord3)
 
void allowPickBasedReselection ()
 
void sowingEnd (CallBacker *)
 
void sowingCB (CallBacker *)
 
- Protected Member Functions inherited from visBase::VisualObjectImpl
int addChild (osg::Node *)
 
void insertChild (int pos, osg::Node *)
 
void removeChild (osg::Node *)
 
int childIndex (const osg::Node *) const
 
 VisualObjectImpl (bool selectable)
 
virtual ~VisualObjectImpl ()
 
virtual void materialChangeCB (CallBacker *)
 
virtual void setGroupNode (osg::Group *)
 Must be called during construction. More...
 
- Protected Member Functions inherited from visBase::VisualObject
void triggerSel ()
 
void triggerDeSel ()
 
void triggerRightClick (const EventInfo *)
 
 VisualObject (bool selectable=false)
 
 ~VisualObject ()
 
- Protected Member Functions inherited from visBase::DataObject
virtual osg::StateSet * getStateSet ()
 
void doAddNodeState (NodeState *ns)
 
 DataObject ()
 
template<class T >
T * setOsgNode (T *t)
 Must be called during construction. More...
 
void updateNodemask ()
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

visBase::EventCatchereventcatcher_
 
const mVisTranstransformation_
 
MPEEditoreditor_
 
const visBase::EventInfocureventinfo_
 
MPEClickInfo info_
 
const char * trackertype_
 
- Protected Attributes inherited from visBase::VisualObjectImpl
Materialmaterial_
 
bool righthandsystem_
 
- Protected Attributes inherited from visBase::DataObject
DataObjectGroupparent_
 

Detailed Description

Constructor & Destructor Documentation

visSurvey::MPEClickCatcher::~MPEClickCatcher ( )
protected

Member Function Documentation

bool visSurvey::MPEClickCatcher::activateSower ( const Color ,
const TrcKeySampling = 0 
)
void visSurvey::MPEClickCatcher::allowPickBasedReselection ( )
protected
void visSurvey::MPEClickCatcher::clickCB ( CallBacker )
protected
static MPEClickCatcher* visSurvey::MPEClickCatcher::create ( )
static
const mVisTrans* visSurvey::MPEClickCatcher::getDisplayTransformation ( ) const
virtual

All positions going from the outside world to the vis should be transformed with this transform. This enables us to have different coord-systems outside OI, e.g. we can use UTM coords outside the vis without loosing precision in the vis.

Reimplemented from visBase::DataObject.

const MPEEditor* visSurvey::MPEClickCatcher::getEditor ( ) const
inline
void visSurvey::MPEClickCatcher::handleObjectOnSeis2DDisplay ( Seis2DDisplay ,
const Coord3   
)
protected
const MPEClickInfo& visSurvey::MPEClickCatcher::info ( ) const
MPEClickInfo& visSurvey::MPEClickCatcher::info ( )
static bool visSurvey::MPEClickCatcher::isClickable ( const char *  trackertype,
int  visid 
)
static
bool visSurvey::MPEClickCatcher::moreToSow ( ) const
void visSurvey::MPEClickCatcher::sendUnderlying2DSeis ( const EMObjectDisplay ,
const visBase::EventInfo  
)
protected
void visSurvey::MPEClickCatcher::sendUnderlyingPlanes ( const EMObjectDisplay ,
const visBase::EventInfo  
)
protected
bool visSurvey::MPEClickCatcher::sequentSowing ( ) const
void visSurvey::MPEClickCatcher::setDisplayTransformation ( const mVisTrans )
void visSurvey::MPEClickCatcher::setEditor ( MPEEditor )
void visSurvey::MPEClickCatcher::setSceneEventCatcher ( visBase::EventCatcher )
virtual

Reimplemented from visBase::VisualObject.

void visSurvey::MPEClickCatcher::setTrackerType ( const char *  )
void visSurvey::MPEClickCatcher::sowingCB ( CallBacker )
protected
void visSurvey::MPEClickCatcher::sowingEnd ( CallBacker )
protected
void visSurvey::MPEClickCatcher::stopSowing ( )
const visBase::EventInfo* visSurvey::MPEClickCatcher::visInfo ( ) const
inline

Member Data Documentation

Notifier<MPEClickCatcher> visSurvey::MPEClickCatcher::click
const visBase::EventInfo* visSurvey::MPEClickCatcher::cureventinfo_
protected
MPEEditor* visSurvey::MPEClickCatcher::editor_
protected
Notifier<MPEClickCatcher> visSurvey::MPEClickCatcher::endSowing
visBase::EventCatcher* visSurvey::MPEClickCatcher::eventcatcher_
protected
MPEClickInfo visSurvey::MPEClickCatcher::info_
protected
Notifier<MPEClickCatcher> visSurvey::MPEClickCatcher::sowing
const char* visSurvey::MPEClickCatcher::trackertype_
protected
const mVisTrans* visSurvey::MPEClickCatcher::transformation_
protected

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