![]() |
OpendTect-6_4
6.4
|
Public Types | |
| enum | Type { Translate1D, Translate2D, Translate3D, Scale3D } |
Public Member Functions | |
| Dragger () | |
| virtual const char * | getClassName () const |
| void | setDraggerType (Type) |
| void | setPos (const Coord3 &) |
| Coord3 | getPos () const |
| void | setSize (const float) |
| float | getSize () const |
| void | setArrowColor (const Color &) |
| const Color & | getArrowColor () const |
| void | setRotation (const Coord3 &, const float) |
| void | setDefaultRotation () |
| bool | defaultRotation () const |
| void | setOwnShape (DataObject *, bool activeshape) |
| bool | selectable () const |
| NotifierAccess * | rightClicked () |
| const TypeSet< int > * | rightClickedPath () const |
| const EventInfo * | rightClickedEventInfo () const |
| void | updateDragger (bool active) |
| void | setDisplayTransformation (const visBase::Transformation *) |
| bool | isMoving () const |
Public Member Functions inherited from visBase::DraggerBase | |
| const visBase::Transformation * | getDisplayTransformation () 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 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 NotifierAccess * | selection () |
| virtual NotifierAccess * | deSelection () |
| 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) |
| NodeState * | removeNodeState (NodeState *) |
| NodeState * | getNodeState (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 Dragger * | create () |
| static void | initClass () |
| static const char * | getStaticClassName () |
| static const char * | sFactoryKeyword () |
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 () |
Protected Member Functions | |
| ~Dragger () | |
| void | triggerRightClick (const EventInfo *eventinfo) |
| virtual void | notifyStart () |
| virtual void | notifyStop () |
| virtual void | notifyMove () |
| osg::MatrixTransform * | createDefaultDraggerGeometry () |
| osg::MatrixTransform * | createTranslateDefaultGeometry () |
| void | setScaleAndTranslation (bool move=false) |
Protected Member Functions inherited from visBase::DraggerBase | |
| DraggerBase () | |
| ~DraggerBase () | |
| 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 () |
| 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 | |
| Notifier< Dragger > | rightclicknotifier_ |
| const EventInfo * | rightclickeventinfo_ |
| DataObject * | inactiveshape_ |
| bool | ismarkershape_ |
| bool | is2dtranslate_ |
| Coord3 | markerpos_ |
| float | draggersizescale_ |
| float | defaultdraggergeomsize_ |
| Coord3 | rotation_ |
| float | rotangle_ |
| Color | arrowcolor_ |
Protected Attributes inherited from visBase::DraggerBase | |
| const visBase::Transformation * | displaytrans_ |
| osgManipulator::Dragger * | osgdragger_ |
| osg::Group * | osgroot_ |
| Interval< float > | spaceranges_ [3] |
Protected Attributes inherited from visBase::DataObject | |
| DataObjectGroup * | parent_ |
Private Member Functions | |
| Dragger & | operator= (const Dragger &) |
| Dragger (const Dragger &) | |
Static Private Member Functions | |
| static visBase::DataObject * | createInternal () |
Additional Inherited Members | |
Public Attributes inherited from visBase::DraggerBase | |
| Notifier< DraggerBase > | started |
| Notifier< DraggerBase > | motion |
| Notifier< DraggerBase > | finished |
| Notifier< DraggerBase > | changed |
|
private |
| visBase::Dragger::Dragger | ( | ) |
|
protected |
|
inlinestatic |
|
protected |
|
inlinestaticprivate |
|
protected |
| bool visBase::Dragger::defaultRotation | ( | ) | const |
| const Color& visBase::Dragger::getArrowColor | ( | ) | const |
|
virtual |
Reimplemented from visBase::DataObject.
| Coord3 visBase::Dragger::getPos | ( | ) | const |
| float visBase::Dragger::getSize | ( | ) | const |
|
static |
|
static |
| bool visBase::Dragger::isMoving | ( | ) | const |
|
protectedvirtual |
Implements visBase::DraggerBase.
|
protectedvirtual |
Implements visBase::DraggerBase.
|
protectedvirtual |
Implements visBase::DraggerBase.
|
inlinevirtual |
Reimplemented from visBase::DataObject.
| const EventInfo* visBase::Dragger::rightClickedEventInfo | ( | ) | const |
|
virtual |
Reimplemented from visBase::DataObject.
|
virtual |
Reimplemented from visBase::DataObject.
| void visBase::Dragger::setArrowColor | ( | const Color & | ) |
| void visBase::Dragger::setDefaultRotation | ( | ) |
|
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::DraggerBase.
| void visBase::Dragger::setDraggerType | ( | Type | ) |
| void visBase::Dragger::setOwnShape | ( | DataObject * | , |
| bool | activeshape | ||
| ) |
Sets a shape on the dragger.
| void visBase::Dragger::setPos | ( | const Coord3 & | ) |
| void visBase::Dragger::setRotation | ( | const Coord3 & | , |
| const float | |||
| ) |
|
protected |
| void visBase::Dragger::setSize | ( | const float | ) |
|
static |
|
protectedvirtual |
Reimplemented from visBase::DataObject.
| void visBase::Dragger::updateDragger | ( | bool | active | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019