![]() |
OpendTect
6.3
|
Used for displaying picksets of varying types. The class is not intended for standalone usage, but is a common ground for picksets and other classes, where the inheriting classes know about display shapes ++. More...
Public Types | |
| typedef Pick::Set::LocID | LocID |
| typedef visBase::EventInfo | EventInfo |
Public Member Functions | |
| virtual void | setSet (Pick::Set *) |
| Pick::Set * | getSet () |
| const Pick::Set * | getSet () const |
| DBKey | getDBKey () const |
| const uiString & | errMsg () const |
| void | fullRedraw (CallBacker *=0) |
| void | showAll (bool yn) |
| bool | allShown () const |
| virtual void | setOnlyAtSectionsDisplay (bool) |
| virtual bool | displayedOnlyAtSections () const |
| virtual BufferString | getManipulationString () const |
| void | getObjectInfo (BufferString &) const |
| void | getMousePosInfo (const EventInfo &, IOPar &) const |
| virtual void | getMousePosInfo (const EventInfo &, Coord3 &, BufferString &, BufferString &) const |
| virtual bool | hasColor () const |
| virtual Color | getColor () const |
| virtual void | setColor (Color) |
| virtual bool | allowsPicks () const |
| virtual bool | isPicking () const |
| virtual void | otherObjectsMoved (const ObjectSet< const SurveyObject > &, int) |
| virtual NotifierAccess * | getManipulationNotifier () |
| virtual void | setDisplayTransformation (const mVisTrans *) |
| virtual const mVisTrans * | getDisplayTransformation () const |
| void | setRightHandSystem (bool yn) |
| virtual void | setSceneEventCatcher (visBase::EventCatcher *) |
| virtual void | turnOnSelectionMode (bool) |
| int | getPickID (visBase::DataObject *) const |
| const SurveyObject * | getPickedSurveyObject () const |
| bool | canRemoveSelection () const |
| void | removeSelection (const Selector< Coord3 > &, TaskRunner *) |
| bool | setZAxisTransform (ZAxisTransform *, TaskRunner *) |
| const ZAxisTransform * | getZAxisTransform () const |
| virtual void | fillPar (IOPar &) const |
| virtual bool | usePar (const IOPar &) |
Public Member Functions inherited from visBase::VisualObjectImpl | |
| bool | isRightHandSystem () const |
| void | setLockable () |
| void | readLock () |
| void | readUnLock () |
| bool | tryReadLock () |
| void | writeLock () |
| void | writeUnLock () |
| bool | tryWriteLock () |
| void | setMaterial (Material *) |
| const Material * | getMaterial () const |
| Material * | getMaterial () |
Public Member Functions inherited from visBase::VisualObject | |
| virtual bool | getBoundingBox (Coord3 &min, Coord3 &max) const |
| void | setSelectable (bool yn) |
| bool | selectable () const |
| NotifierAccess * | selection () |
| NotifierAccess * | deSelection () |
| virtual NotifierAccess * | rightClicked () |
| const EventInfo * | rightClickedEventInfo () 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 |
| 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 |
| 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 (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const |
| bool | attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const |
| void | detachCB (const NotifierAccess &, const CallBack &) const |
| void | detachCB (const NotifierAccess *notif, const CallBack &cb) const |
| bool | isNotifierAttached (const NotifierAccess *) const |
| Only for debugging purposes, don't use. More... | |
| virtual bool | isCapsule () const |
| void | stopReceivingNotifications () const |
Protected Member Functions | |
| LocationDisplay () | |
| virtual void | setPosition (int, const Pick::Location &) |
| virtual void | setPosition (int, const Pick::Location &, bool add) |
| virtual void | removePosition (int) |
| virtual void | removeAll () |
| virtual bool | hasDirection () const |
| virtual bool | hasText () const |
| virtual int | clickedMarkerIndex (const EventInfo &) const |
| virtual bool | isMarkerClick (const EventInfo &) const |
| virtual void | updateDragger () |
| virtual void | setDraggerNormal (const Coord3 &) |
| virtual bool | draggerNormal () const |
| virtual bool | removeSelections (TaskRunner *) |
| virtual int | isDirMarkerClick (const TypeSet< int > &) const |
| void | triggerDeSel () |
| virtual | ~LocationDisplay () |
| LocID | addPick (const Coord3 &, const Sphere &) |
| bool | getPickSurface (const EventInfo &, Coord3 &, Coord3 &) const |
| Coord3 | display2World (const Coord3 &) const |
| Coord3 | world2Display (const Coord3 &) const |
| bool | transformPos (Pick::Location &) const |
| const Coord3 | getActivePlaneNormal (const EventInfo &) const |
| void | handleDraggingEvent (const EventInfo &) |
| void | handleDirectionEvent (const EventInfo &) |
| int | getEventID (const EventInfo &) |
| void | handleMouseDown (const EventInfo &, int, bool) |
| void | handleMouseUp (const EventInfo &, int) |
| void | pickCB (CallBacker *) |
| void | setChgCB (CallBacker *) |
| virtual void | locChg (const Monitorable::ChangeData &) |
| virtual void | dispChg () |
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 | triggerRightClick (const EventInfo *) |
| VisualObject (bool selectable=false) | |
| ~VisualObject () | |
Protected Member Functions inherited from visBase::DataObject | |
| ~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 () const |
| Call from the destructor of your inherited object. More... | |
Protected Member Functions inherited from visSurvey::SurveyObject | |
| SurveyObject () | |
| ~SurveyObject () | |
| void | initAdaptiveMouseCursor (CallBacker *eventcb, int objid, int inplanedragkeys, MouseCursor &) |
Static Protected Member Functions | |
| static const char * | sKeyID () |
| static const char * | sKeyMgrName () |
| static const char * | sKeyShowAll () |
| static const char * | sKeyMarkerType () |
| static const char * | sKeyMarkerSize () |
Static Protected Member Functions inherited from visSurvey::SurveyObject | |
| static int | cValNameOffset () |
Protected Attributes | |
| RefMan< Pick::Set > | set_ |
| Notifier< LocationDisplay > | manip_ |
| LocID | directionlocationid_ |
| LocID | movinglocationid_ |
| TypeSet< int > | invalidpicks_ |
| bool | showall_ |
| int | mousepressid_ |
| int | pickedsurvobjid_ |
| int | voiidx_ |
| bool | ctrldown_ |
| ObjectSet< Selector< Coord3 > > | selectors_ |
| visBase::EventCatcher * | eventcatcher_ |
| const mVisTrans * | transformation_ |
| ZAxisTransform * | datatransform_ |
| Sower * | sower_ |
| bool | selectionmodel_ |
Protected Attributes inherited from visBase::VisualObjectImpl | |
| Material * | material_ |
| bool | righthandsystem_ |
Protected Attributes inherited from visBase::DataObject | |
| DataObjectGroup * | parent_ |
Protected Attributes inherited from visSurvey::SurveyObject | |
| uiString | errmsg_ |
| Scene * | scene_ |
| int | updatestagenr_ |
| bool | locked_ |
| ObjectSet< BufferStringSet > | userrefs_ |
| const Survey::Geometry3D * | s3dgeom_ |
| BufferString | survname_ |
| bool | saveinsessionsflag_ |
Friends | |
| class | Sower |
Additional Inherited Members | |
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 (Threads::ThreadID) |
| Call only once from initialization. More... | |
| static bool | isVisualizationThread () |
| static void | requestSingleRedraw () |
| static void | setCommonViewer (osgViewer::CompositeViewer *) |
| static osgViewer::CompositeViewer * | getCommonViewer () |
| static const osgGeo::GLInfo * | getGLInfo () |
| static NotifierAccess & | glInfoAvailable () |
Static Public Member Functions inherited from CallBacker | |
| static void | createReceiverForCurrentThread () |
| static void | removeReceiverForCurrentThread () |
Used for displaying picksets of varying types. The class is not intended for standalone usage, but is a common ground for picksets and other classes, where the inheriting classes know about display shapes ++.
| typedef Pick::Set::LocID visSurvey::LocationDisplay::LocID |
|
protected |
|
protectedvirtual |
|
inlinevirtual |
Reimplemented from visSurvey::SurveyObject.
|
inline |
|
inlinevirtual |
Reimplemented from visSurvey::SurveyObject.
|
protectedvirtual |
Reimplemented in visSurvey::PickSetDisplay, visSurvey::ImageDisplay, visSurvey::ScaleBarDisplay, and visSurvey::ArrowDisplay.
|
protectedvirtual |
Reimplemented in visSurvey::PickSetDisplay, visSurvey::ScaleBarDisplay, visSurvey::ArrowDisplay, and visSurvey::ImageDisplay.
|
virtual |
Reimplemented from visSurvey::SurveyObject.
|
inlineprotectedvirtual |
Reimplemented in visSurvey::PickSetDisplay.
|
inlinevirtual |
Reimplemented from visBase::DataObject.
|
virtual |
Reimplemented from visBase::VisualObjectImpl.
Reimplemented in visSurvey::PickSetDisplay.
| void visSurvey::LocationDisplay::fullRedraw | ( | CallBacker * | = 0 | ) |
|
virtual |
Reimplemented from visSurvey::SurveyObject.
|
virtual |
Reimplemented from visSurvey::SurveyObject.
|
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 visSurvey::PickSetDisplay, visSurvey::ScaleBarDisplay, visSurvey::ArrowDisplay, and visSurvey::ImageDisplay.
|
protected |
|
inlinevirtual |
Reimplemented from visSurvey::SurveyObject.
|
virtual |
Reimplemented from visSurvey::SurveyObject.
Reimplemented from visSurvey::SurveyObject.
|
virtual |
Reimplemented from visSurvey::SurveyObject.
|
virtual |
Reimplemented from visSurvey::SurveyObject.
| const SurveyObject* visSurvey::LocationDisplay::getPickedSurveyObject | ( | ) | const |
| int visSurvey::LocationDisplay::getPickID | ( | visBase::DataObject * | ) | const |
|
protected |
|
inline |
|
inline |
|
virtual |
Reimplemented from visSurvey::SurveyObject.
|
protected |
|
protected |
|
protected |
|
protected |
|
inlinevirtual |
Reimplemented from visSurvey::SurveyObject.
Reimplemented in visSurvey::PickSetDisplay.
|
inlineprotectedvirtual |
Reimplemented in visSurvey::ArrowDisplay, and visSurvey::ImageDisplay.
|
inlineprotectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Reimplemented in visSurvey::PickSetDisplay.
|
virtual |
Reimplemented from visSurvey::SurveyObject.
|
protectedvirtual |
Reimplemented in visSurvey::PickSetDisplay.
|
virtual |
If other objects are moved, removed or added in the scene, this function is called.
| whichobj | refers to id of the moved object |
Reimplemented from visSurvey::SurveyObject.
Reimplemented in visSurvey::PickSetDisplay.
|
protected |
|
protectedvirtual |
Reimplemented in visSurvey::PickSetDisplay.
|
inlineprotectedvirtual |
Reimplemented in visSurvey::PickSetDisplay, visSurvey::ScaleBarDisplay, visSurvey::ImageDisplay, and visSurvey::ArrowDisplay.
| void visSurvey::LocationDisplay::removeSelection | ( | const Selector< Coord3 > & | , |
| TaskRunner * | |||
| ) |
|
protectedvirtual |
Reimplemented from visSurvey::SurveyObject.
Reimplemented in visSurvey::PickSetDisplay.
|
protected |
|
virtual |
Reimplemented from visSurvey::SurveyObject.
Reimplemented in visSurvey::PickSetDisplay.
|
virtual |
Reimplemented in visSurvey::PickSetDisplay, visSurvey::ScaleBarDisplay, visSurvey::ArrowDisplay, and visSurvey::ImageDisplay.
|
inlineprotectedvirtual |
Reimplemented in visSurvey::PickSetDisplay.
|
virtual |
Reimplemented from visSurvey::SurveyObject.
|
inlineprotectedvirtual |
Reimplemented in visSurvey::PickSetDisplay, visSurvey::ScaleBarDisplay, visSurvey::ArrowDisplay, and visSurvey::ImageDisplay.
|
inlineprotectedvirtual |
Reimplemented in visSurvey::PickSetDisplay, visSurvey::ScaleBarDisplay, visSurvey::ArrowDisplay, and visSurvey::ImageDisplay.
|
virtual |
Sets whether the coordinate system is right or left handed.
Reimplemented from visBase::VisualObjectImpl.
|
virtual |
Reimplemented from visBase::VisualObject.
|
virtual |
Reimplemented in visSurvey::ImageDisplay.
|
virtual |
Reimplemented from visSurvey::SurveyObject.
| void visSurvey::LocationDisplay::showAll | ( | bool | yn | ) |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
protected |
|
protectedvirtual |
Is called everytime object is deselected.
Reimplemented from visBase::VisualObject.
|
inlinevirtual |
Reimplemented from visSurvey::SurveyObject.
Reimplemented in visSurvey::PickSetDisplay.
|
inlineprotectedvirtual |
Reimplemented in visSurvey::PickSetDisplay.
|
virtual |
Reimplemented from visBase::VisualObjectImpl.
Reimplemented in visSurvey::PickSetDisplay.
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017