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

Public Member Functions

virtual void setDisplayTransformation (const visBase::Transformation *)
 
const visBase::TransformationgetDisplayTransformation () const
 
void setSpaceLimits (const Interval< float > &x, const Interval< float > &y, const Interval< float > &z)
 
void handleEvents (bool yn)
 
bool isHandlingEvents () 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
 
virtual bool selectable () const
 
void select () const
 
void deSelect () const
 
void updateSel () const
 
virtual bool isSelected () const
 
virtual NotifierAccessselection ()
 
virtual NotifierAccessdeSelection ()
 
virtual NotifierAccessrightClicked ()
 
virtual const TypeSet< int > * rightClickedPath () const
 
virtual void setRightHandSystem (bool yn)
 
virtual bool isRightHandSystem () const
 
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...
 

Public Attributes

Notifier< DraggerBasestarted
 
Notifier< DraggerBasemotion
 
Notifier< DraggerBasefinished
 
Notifier< DraggerBasechanged
 

Protected Member Functions

 DraggerBase ()
 
 ~DraggerBase ()
 
virtual void notifyStart ()=0
 
virtual void notifyStop ()=0
 
virtual void notifyMove ()=0
 
void initDragger (osgManipulator::Dragger *)
 
- Protected Member Functions inherited from visBase::DataObject
virtual osg::StateSet * getStateSet ()
 
void doAddNodeState (NodeState *ns)
 
virtual void triggerSel ()
 
virtual void triggerDeSel ()
 
virtual void triggerRightClick (const EventInfo *=0)
 
 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

const visBase::Transformationdisplaytrans_
 
osgManipulator::Dragger * osgdragger_
 
osg::Group * osgroot_
 
Interval< float > spaceranges_ [3]
 
- Protected Attributes inherited from visBase::DataObject
DataObjectGroupparent_
 

Private Attributes

DraggerCallbackHandlercbhandler_
 

Friends

class DraggerCallbackHandler
 

Additional Inherited Members

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

Detailed Description

Constructor & Destructor Documentation

visBase::DraggerBase::DraggerBase ( )
protected
visBase::DraggerBase::~DraggerBase ( )
protected

Member Function Documentation

const visBase::Transformation* visBase::DraggerBase::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.

void visBase::DraggerBase::handleEvents ( bool  yn)
void visBase::DraggerBase::initDragger ( osgManipulator::Dragger *  )
protected
bool visBase::DraggerBase::isHandlingEvents ( ) const
virtual void visBase::DraggerBase::notifyMove ( )
protectedpure virtual

Implemented in visBase::Dragger.

virtual void visBase::DraggerBase::notifyStart ( )
protectedpure virtual

Implemented in visBase::Dragger.

virtual void visBase::DraggerBase::notifyStop ( )
protectedpure virtual

Implemented in visBase::Dragger.

virtual void visBase::DraggerBase::setDisplayTransformation ( const visBase::Transformation )
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.

Reimplemented in visBase::Dragger.

void visBase::DraggerBase::setSpaceLimits ( const Interval< float > &  x,
const Interval< float > &  y,
const Interval< float > &  z 
)

Friends And Related Function Documentation

friend class DraggerCallbackHandler
friend

Member Data Documentation

DraggerCallbackHandler* visBase::DraggerBase::cbhandler_
private
Notifier<DraggerBase> visBase::DraggerBase::changed
const visBase::Transformation* visBase::DraggerBase::displaytrans_
protected
Notifier<DraggerBase> visBase::DraggerBase::finished
Notifier<DraggerBase> visBase::DraggerBase::motion
osgManipulator::Dragger* visBase::DraggerBase::osgdragger_
protected
osg::Group* visBase::DraggerBase::osgroot_
protected
Interval<float> visBase::DraggerBase::spaceranges_[3]
protected
Notifier<DraggerBase> visBase::DraggerBase::started

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