OpendTect  7.0
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Friends | List of all members
visSurvey::LocationDisplay Class Reference

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 knows about display shapes ++. More...

Inheritance diagram for visSurvey::LocationDisplay:
[legend]

Public Member Functions

void allowDoubleClick (bool yn)
 
bool allowsPicks () const override
 
bool allShown () const
 
bool canRemoveSelection () const override
 
Coord3 convertCoords (const Coord3 &, bool disptoworld)
 
bool displayedOnlyAtSections () const override
 
const char * errMsg () const override
 
void fillPar (IOPar &) const override
 
void fullRedraw (CallBacker *=nullptr)
 
OD::Color getColor () const override
 
const mVisTrans * getDisplayTransformation () const override
 
NotifierAccessgetManipulationNotifier () override
 
BufferString getManipulationString () const override
 
void getMousePosInfo (const visBase::EventInfo &, Coord3 &, BufferString &, BufferString &) const override
 
void getMousePosInfo (const visBase::EventInfo &ei, IOPar &iop) const override
 
MultiID getMultiID () const override
 
void getObjectInfo (BufferString &) const override
 
SeedPaintergetPainter ()
 
const SurveyObjectgetPickedSurveyObject () const
 
int getPickIdx (visBase::DataObject *) const
 
RefMan< Pick::SetgetSet ()
 
ConstRefMan< Pick::SetgetSet () const
 
const ZAxisTransformgetZAxisTransform () const override
 
bool hasColor () const override
 
bool isPainting () const override
 
bool isPicking () const override
 
void otherObjectsMoved (const ObjectSet< const SurveyObject > &, VisID) override
 
void removeSelection (const Selector< Coord3 > &, TaskRunner *)
 
void setColor (OD::Color) override
 
void setDisplayTransformation (const mVisTrans *) override
 
void setOnlyAtSectionsDisplay (bool) override
 
void setRightHandSystem (bool yn) override
 
void setSceneEventCatcher (visBase::EventCatcher *) override
 
virtual void setSet (Pick::Set *)
 
void setSetMgr (Pick::SetMgr *)
 
bool setZAxisTransform (ZAxisTransform *, TaskRunner *) override
 
void showAll (bool yn)
 
void turnOnSelectionMode (bool) override
 
bool usePar (const IOPar &) override
 
- Public Member Functions inherited from visBase::VisualObjectImpl
const MaterialgetMaterial () const
 
MaterialgetMaterial () override
 
bool isRightHandSystem () const override
 
NotifierAccessmaterialChange ()
 
void readLock ()
 
void readUnLock ()
 
void setLockable ()
 
void setMaterial (Material *) override
 
bool tryReadLock ()
 
bool tryWriteLock ()
 
void writeLock ()
 
void writeUnLock ()
 
- Public Member Functions inherited from visBase::VisualObject
NotifierAccessdeSelection () override
 
virtual bool getBoundingBox (Coord3 &min, Coord3 &max) const
 
NotifierAccessrightClicked () override
 
const EventInforightClickedEventInfo () const
 
const TypeSet< VisID > * rightClickedPath () const override
 
bool selectable () const override
 
NotifierAccessselection () override
 
void setSelectable (bool yn)
 
- Public Member Functions inherited from visBase::DataObject
template<class T >
T * addNodeState (T *ns)
 
void deSelect () const
 
void enableTraversal (unsigned int mask, bool yn=true)
 
virtual const char * getClassName () const
 
SoNode * getInventorNode ()
 
const SoNode * getInventorNode () const
 
BufferString getName () const override
 
NodeStategetNodeState (int idx)
 
virtual float getPixelDensity () const
 
VisID id () const
 
virtual bool isOK () const
 
virtual bool isOn () const
 
bool isPickable (bool actively=true) const
 
virtual bool isSelected () const
 
bool isTraversalEnabled (unsigned int mask) const
 
const OD::Stringname () const override
 
osg::Node * osgNode (bool skipswitch=false)
 
const osg::Node * osgNode (bool skipswitch=false) const
 
NodeStateremoveNodeState (NodeState *)
 
virtual bool rightClickable () const
 
void select () const
 
bool serialize (const char *filename, bool binary=false)
 
virtual void setDisplayTransformation (const visBase::Transformation *)
 
void setID (VisID newid)
 
void setName (const char *) override
 
void setName (const uiString &uistr)
 
void setParent (DataObjectGroup *g)
 
void setPickable (bool actively, bool passively=true)
 
virtual void setPixelDensity (float dpi)
 
void setUiName (const uiString &)
 
virtual bool turnOn (bool yn)
 
uiString uiName () const
 
void updateSel () 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 ()
 
bool getNameFromPar (const IOPar &)
 
NamedObjectoperator= (const NamedObject &)
 
bool operator== (const NamedObject &oth) const
 
- 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
 
- Public Member Functions inherited from visSurvey::SurveyObject
virtual void acceptManipulation ()
 
virtual bool addAttrib ()
 
virtual bool allowMaterialEdit () const
 
virtual void allowShading (bool)
 
virtual bool alreadyTransformed (int attrib) const
 
virtual void annotateNextUpdateStage (bool yn)
 
virtual float calcDist (const Coord3 &pos) const
 
virtual bool canAddAttrib (int nrattribstoadd=1) const
 
virtual bool canBDispOn2DViewer () const
 
virtual bool canBeRemoved () const
 
virtual bool canDuplicate () const
 
virtual bool canEnableTextureInterpolation () const
 
virtual bool canHandleColTabSeqTrans (int) const
 
virtual bool canHaveMultipleAttribs () const
 
virtual bool canHaveMultipleTextures () const
 
virtual bool canRemoveAttrib () const
 
virtual bool canResetManipulation () const
 
virtual bool canSetColTabSequence () const
 
virtual bool canShowTexture () const
 
virtual void clearSelections ()
 
void doRef ()
 
void doUnRef ()
 
virtual SurveyObjectduplicate (TaskRunner *) const
 
virtual void enableAttrib (int attrib, bool yn)
 
virtual void enableEditor (bool yn)
 
virtual void enableTextureInterpolation (bool)
 
const Survey::Geometry3Dget3DSurvGeom () const
 
virtual const char * get3DSurvGeomName () const
 
virtual OD::Pol2D3D getAllowedDataType () const
 
virtual OD::Color getAnnotColor () const
 
virtual unsigned char getAttribTransparency (int) const
 
virtual AttribFormat getAttributeFormat (int attrib=-1) const
 
OD::Color getBackgroundColor () const
 
virtual const RegularSeisDataPackgetCacheVolume (int attr) const
 
void getChannelName (int, uiString &) const
 
virtual visBase::TextureChannelsgetChannels () const
 
virtual visBase::TextureChannel2RGBAgetChannels2RGBA ()
 
const visBase::TextureChannel2RGBAgetChannels2RGBA () const
 
virtual void getChildren (TypeSet< VisID > &) const
 
virtual const ColTab::MapperSetupgetColTabMapperSetup (int attrib, int version=0) const
 
virtual const ColTab::SequencegetColTabSequence (int) const
 
virtual DataPackID getDataPackID (int attrib) const
 
virtual DataPackMgr::MgrID getDataPackMgrID () const
 
virtual void getDataTraceBids (TypeSet< BinID > &) const
 
virtual Interval< float > getDataTraceRange () const
 
virtual DataPackID getDisplayedDataPackID (int attrib) const
 
virtual Pos::GeomID getGeomID () const
 
virtual const TypeSet< float > * getHistogram (int attrib) const
 
virtual void getLineWidthBounds (int &min, int &max)
 
virtual NotifierAccessgetLockNotifier ()
 
virtual const MouseCursorgetMouseCursor () const
 
virtual NotifierAccessgetMovementNotifier ()
 
virtual Coord3 getNormal (const Coord3 &pos) const
 
virtual void getPickingMessage (BufferString &msg) const
 
virtual void getRandomPos (DataPointSet &, TaskRunner *) const
 
virtual void getRandomPosCache (int attrib, DataPointSet &) const
 
virtual int getResolution () const
 
virtual BufferString getResolutionName (int) const
 
bool getSaveInSessionsFlag () const
 
virtual ScenegetScene ()
 
virtual const ScenegetScene () const
 
virtual SceneID getSceneID () const
 
virtual const Attrib::SelSpecgetSelSpec (int attrib, int version=0) const
 version=-1 gives current version More...
 
virtual const TypeSet< Attrib::SelSpec > * getSelSpecs (int attrib) const
 
virtual void getTraceKeyPath (TrcKeyPath &, TypeSet< Coord > *=nullptr) const
 
virtual Coord3 getTranslation () const
 
virtual TrcKeyZSampling getTrcKeyZSampling (int attrib) const
 
int getUpdateStageNr () const
 
virtual bool hasPosModeManipulator () const
 
bool hasSelSpec (const Attrib::SelSpec &, int &attrib, int &version) const
 
virtual bool hasSingleColorFallback () const
 
virtual bool hasSpecificLineColor () const
 
virtual bool hasSpecificMarkerColor () const
 
virtual bool isAngle (int attrib) const
 
bool isAnyAttribEnabled () const
 
virtual bool isAttribEnabled (int attrib) const
 
virtual bool isInlCrl () const
 
virtual bool isLocked () const
 
virtual bool isManipulated () const
 
virtual bool isManipulatorShown () const
 
virtual bool isVerticalPlane () const
 
virtual const OD::LineStylelineStyle () const
 
virtual void lock (bool yn)
 
virtual const MarkerStyle3DmarkerStyle () const
 
virtual float maxDist () const
 
virtual int nrAttribs () const
 
virtual int nrResolutions () const
 
virtual int nrTextures (int attrib) const
 
virtual void readAuxData ()
 
virtual bool removeAttrib (int attrib)
 
virtual void resetManipulation ()
 
virtual int selectedTexture (int attrib) const
 
virtual void selectTexture (int attrib, int texture)
 
virtual void set3DSurvGeom (const Survey::Geometry3D *)
 
virtual void setAngleFlag (int attrib, bool yn)
 
virtual void setAnnotColor (OD::Color)
 
virtual void setAttribTransparency (int, unsigned char)
 
virtual bool setChannels2RGBA (visBase::TextureChannel2RGBA *)
 
virtual void setColTabMapperSetup (int, const ColTab::MapperSetup &, TaskRunner *)
 
virtual void setColTabSequence (int, const ColTab::Sequence &, TaskRunner *)
 
virtual bool setDataPackID (int attrib, DataPackID, TaskRunner *)
 
virtual bool setDataVolume (int attrib, const RegularSeisDataPack *, TaskRunner *)
 
virtual void setLineStyle (const OD::LineStyle &)
 
virtual void setMarkerStyle (const MarkerStyle3D &)
 
virtual void setRandomPosData (int attrib, const DataPointSet *, TaskRunner *)
 
virtual void setResolution (int, TaskRunner *)
 
void setSaveInSessionsFlag (bool yn)
 
virtual void setScene (Scene *scn)
 
virtual void setSelSpec (int, const Attrib::SelSpec &)
 
virtual void setSelSpecs (int attrib, const TypeSet< Attrib::SelSpec > &)
 
virtual void setTranslation (const Coord3 &)
 
void setUserRefs (int attrib, BufferStringSet *nms)
 
virtual void showManipulator (bool yn)
 
virtual bool showsTexture () const
 
virtual void snapToTracePos (Coord3 &) const
 
virtual bool swapAttribs (int a0, int a1)
 
virtual bool textureInterpolationEnabled () const
 
virtual void updateMouseCursorCB (CallBacker *)
 
virtual bool usesColor () const
 
virtual bool usesTexture () const
 
virtual void useTexture (bool yn, bool trigger)
 

Protected Member Functions

 LocationDisplay ()
 
virtual ~LocationDisplay ()
 
bool addPick (const Coord3 &, const Sphere &, bool)
 
void bulkLocChg (CallBacker *cb)
 
virtual int clickedMarkerIndex (const visBase::EventInfo &evi) const
 
virtual void dispChg (CallBacker *cb)
 
Coord3 display2World (const Coord3 &) const
 
virtual bool draggerNormal () const
 
const Coord3 getActivePlaneNormal (const visBase::EventInfo &) const
 
bool getPickSurface (const visBase::EventInfo &, Coord3 &pos, Coord3 &normal) const
 
virtual bool hasDirection () const
 
virtual bool hasText () const
 
virtual int isDirMarkerClick (const TypeSet< VisID > &) const
 
virtual bool isMarkerClick (const visBase::EventInfo &evi) const
 
virtual void locChg (CallBacker *cb)
 
void pickCB (CallBacker *cb)
 
virtual void redrawMultiSets ()
 
virtual void removeAll ()
 
void removePick (int, bool setundo=true)
 
virtual void removePosition (int)
 
bool removeSelections (TaskRunner *) override
 
virtual void setChg (CallBacker *cb)
 
virtual void setDraggerNormal (const Coord3 &)
 
virtual void setPosition (int idx, const Pick::Location &, bool add=false)
 
bool transformPos (Pick::Location &) const
 
void triggerDeSel () override
 
virtual void updateDragger ()
 
Coord3 world2Display (const Coord3 &) const
 
- Protected Member Functions inherited from visBase::VisualObjectImpl
 VisualObjectImpl (bool selectable)
 
virtual ~VisualObjectImpl ()
 
int addChild (osg::Node *)
 
int childIndex (const osg::Node *) const
 
void insertChild (int pos, osg::Node *)
 
virtual void materialChangeCB (CallBacker *)
 
void removeChild (osg::Node *)
 
void setGroupNode (DataObject *)
 
virtual void setGroupNode (osg::Group *)
 Must be called during construction. More...
 
- Protected Member Functions inherited from visBase::VisualObject
 VisualObject (bool selectable=false)
 
 ~VisualObject ()
 
void triggerRightClick (const EventInfo *) override
 
void triggerSel () override
 
- Protected Member Functions inherited from visBase::DataObject
 DataObject ()
 
virtual ~DataObject ()
 
void doAddNodeState (NodeState *ns)
 
virtual osg::StateSet * getStateSet ()
 
template<class T >
T * setOsgNode (T *t)
 Must be called during construction. More...
 
void updateNodemask ()
 
- 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 Member Functions inherited from visSurvey::SurveyObject
 SurveyObject ()
 
 ~SurveyObject ()
 
void initAdaptiveMouseCursor (CallBacker *eventcb, VisID objid, int inplanedragkeys, MouseCursor &)
 

Static Protected Member Functions

static const char * sKeyID ()
 
static const char * sKeyMarkerSize ()
 
static const char * sKeyMarkerType ()
 
static const char * sKeyMgrName ()
 
static const char * sKeyShowAll ()
 
- Static Protected Member Functions inherited from visSurvey::SurveyObject
static int cValNameOffset ()
 

Protected Attributes

bool allowdoubleclicks_ = true
 
bool ctrldown_ = false
 
ZAxisTransformdatatransform_ = nullptr
 
visBase::EventCatchereventcatcher_ = nullptr
 
TypeSet< int > invalidpicks_
 
Notifier< LocationDisplaymanip_
 
VisID mousepressid_
 
SeedPainterpainter_
 
VisID pickedsobjid_
 Picked SurveyObject ID. More...
 
Pick::SetMgrpicksetmgr_ = nullptr
 
bool selectionmodel_ = false
 
RefMan< Pick::Setset_
 
bool showall_ = true
 
Sowersower_
 
MultiID storedmid_
 
const mVisTrans * transformation_ = nullptr
 
Coord3 undoloccoord_ = Coord3::udf()
 
bool undomove_ = false
 
int voiidx_ = -1
 
int waitsfordirectionid_ = -1
 
int waitsforpositionid_ = -1
 
- Protected Attributes inherited from visBase::VisualObjectImpl
Materialmaterial_
 
bool righthandsystem_
 
- Protected Attributes inherited from visBase::DataObject
DataObjectGroupparent_
 
- Protected Attributes inherited from NamedCallBacker
Threads::Atomic< bool > delalreadytriggered_
 
Notifier< NamedCallBackerdelnotif_
 
- Protected Attributes inherited from NamedObject
BufferString name_
 
- Protected Attributes inherited from visSurvey::SurveyObject
BufferString errmsg_
 
bool locked_ = false
 
const Survey::Geometry3Ds3dgeom_ = nullptr
 
bool saveinsessionsflag_ = true
 
Scenescene_ = nullptr
 
BufferString survname_
 
int updatestagenr_ = 0
 
ObjectSet< BufferStringSetuserrefs_
 
bool usestexture_ = true
 
bool validtexture_ = false
 

Friends

class Sower
 

Additional Inherited Members

- Public Types inherited from ObjectWithName
typedef OD::String name_type
 
- Public Types inherited from visSurvey::SurveyObject
enum  AttribFormat {
  None , Cube , Traces , RandomPos ,
  OtherFormat
}
 
- Static Public Member Functions inherited from visBase::VisualObjectImpl
static const char * sKeyIsOn ()
 
static const char * sKeyMaterial ()
 
static const char * sKeyMaterialID ()
 
- Static Public Member Functions inherited from visBase::DataObject
static osgViewer::CompositeViewer * getCommonViewer ()
 
static float getDefaultPixelDensity ()
 
static VisID getID (const osg::Node *)
 
static bool isVisualizationThread ()
 
static void requestSingleRedraw ()
 
static void setCommonViewer (osgViewer::CompositeViewer *)
 
static void setDefaultPixelDensity (float)
 
static void setVisualizationThread (const void *)
 Call only once from initialization. More...
 
- 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 *)
 
- Static Public Member Functions inherited from visSurvey::SurveyObject
static float sDefMaxDist ()
 
static const char * sKeyAttribs ()
 
static const char * sKeyColTabID ()
 
static const char * sKeyLocked ()
 
static const char * sKeyMapper ()
 
static const char * sKeyNrAttribs ()
 
static const char * sKeyNrVersions ()
 
static const char * sKeySelTexture ()
 
static const char * sKeySequence ()
 
static const char * sKeySurvey ()
 
static const char * sKeyTC2RGBA ()
 
static const char * sKeyTextTrans ()
 

Detailed Description

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 knows about display shapes ++.

<>

Constructor & Destructor Documentation

◆ LocationDisplay()

visSurvey::LocationDisplay::LocationDisplay ( )
protected

◆ ~LocationDisplay()

virtual visSurvey::LocationDisplay::~LocationDisplay ( )
protectedvirtual

Member Function Documentation

◆ addPick()

bool visSurvey::LocationDisplay::addPick ( const Coord3 ,
const Sphere ,
bool   
)
protected

◆ allowDoubleClick()

void visSurvey::LocationDisplay::allowDoubleClick ( bool  yn)
inline

◆ allowsPicks()

bool visSurvey::LocationDisplay::allowsPicks ( ) const
inlineoverridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ allShown()

bool visSurvey::LocationDisplay::allShown ( ) const
inline

◆ bulkLocChg()

void visSurvey::LocationDisplay::bulkLocChg ( CallBacker cb)
protected

◆ canRemoveSelection()

bool visSurvey::LocationDisplay::canRemoveSelection ( ) const
inlineoverridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ clickedMarkerIndex()

virtual int visSurvey::LocationDisplay::clickedMarkerIndex ( const visBase::EventInfo evi) const
protectedvirtual

◆ convertCoords()

Coord3 visSurvey::LocationDisplay::convertCoords ( const Coord3 ,
bool  disptoworld 
)

◆ dispChg()

virtual void visSurvey::LocationDisplay::dispChg ( CallBacker cb)
protectedvirtual

◆ display2World()

Coord3 visSurvey::LocationDisplay::display2World ( const Coord3 ) const
protected

◆ displayedOnlyAtSections()

bool visSurvey::LocationDisplay::displayedOnlyAtSections ( ) const
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ draggerNormal()

virtual bool visSurvey::LocationDisplay::draggerNormal ( ) const
inlineprotectedvirtual

Reimplemented in visSurvey::PickSetDisplay.

◆ errMsg()

const char* visSurvey::LocationDisplay::errMsg ( ) const
inlineoverridevirtual

Reimplemented from visBase::DataObject.

◆ fillPar()

void visSurvey::LocationDisplay::fillPar ( IOPar ) const
overridevirtual

Reimplemented from visBase::VisualObjectImpl.

Reimplemented in visSurvey::PickSetDisplay.

◆ fullRedraw()

void visSurvey::LocationDisplay::fullRedraw ( CallBacker = nullptr)

◆ getActivePlaneNormal()

const Coord3 visSurvey::LocationDisplay::getActivePlaneNormal ( const visBase::EventInfo ) const
protected

◆ getColor()

OD::Color visSurvey::LocationDisplay::getColor ( ) const
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ getDisplayTransformation()

const mVisTrans* visSurvey::LocationDisplay::getDisplayTransformation ( ) const
overridevirtual

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::ScaleBarDisplay, and visSurvey::PickSetDisplay.

◆ getManipulationNotifier()

NotifierAccess* visSurvey::LocationDisplay::getManipulationNotifier ( )
inlineoverridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ getManipulationString()

BufferString visSurvey::LocationDisplay::getManipulationString ( ) const
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ getMousePosInfo() [1/2]

void visSurvey::LocationDisplay::getMousePosInfo ( const visBase::EventInfo ,
Coord3 ,
BufferString ,
BufferString  
) const
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ getMousePosInfo() [2/2]

void visSurvey::LocationDisplay::getMousePosInfo ( const visBase::EventInfo ei,
IOPar iop 
) const
inlineoverridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ getMultiID()

MultiID visSurvey::LocationDisplay::getMultiID ( ) const
inlineoverridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ getObjectInfo()

void visSurvey::LocationDisplay::getObjectInfo ( BufferString ) const
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ getPainter()

SeedPainter* visSurvey::LocationDisplay::getPainter ( )
inline

◆ getPickedSurveyObject()

const SurveyObject* visSurvey::LocationDisplay::getPickedSurveyObject ( ) const

◆ getPickIdx()

int visSurvey::LocationDisplay::getPickIdx ( visBase::DataObject ) const

◆ getPickSurface()

bool visSurvey::LocationDisplay::getPickSurface ( const visBase::EventInfo ,
Coord3 pos,
Coord3 normal 
) const
protected

◆ getSet() [1/2]

RefMan<Pick::Set> visSurvey::LocationDisplay::getSet ( )

◆ getSet() [2/2]

ConstRefMan<Pick::Set> visSurvey::LocationDisplay::getSet ( ) const

◆ getZAxisTransform()

const ZAxisTransform* visSurvey::LocationDisplay::getZAxisTransform ( ) const
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ hasColor()

bool visSurvey::LocationDisplay::hasColor ( ) const
inlineoverridevirtual

Reimplemented from visSurvey::SurveyObject.

Reimplemented in visSurvey::PickSetDisplay.

◆ hasDirection()

virtual bool visSurvey::LocationDisplay::hasDirection ( ) const
inlineprotectedvirtual

◆ hasText()

virtual bool visSurvey::LocationDisplay::hasText ( ) const
inlineprotectedvirtual

◆ isDirMarkerClick()

virtual int visSurvey::LocationDisplay::isDirMarkerClick ( const TypeSet< VisID > &  ) const
protectedvirtual

◆ isMarkerClick()

virtual bool visSurvey::LocationDisplay::isMarkerClick ( const visBase::EventInfo evi) const
protectedvirtual

Reimplemented in visSurvey::PickSetDisplay.

◆ isPainting()

bool visSurvey::LocationDisplay::isPainting ( ) const
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ isPicking()

bool visSurvey::LocationDisplay::isPicking ( ) const
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ locChg()

virtual void visSurvey::LocationDisplay::locChg ( CallBacker cb)
protectedvirtual

Reimplemented in visSurvey::PickSetDisplay.

◆ otherObjectsMoved()

void visSurvey::LocationDisplay::otherObjectsMoved ( const ObjectSet< const SurveyObject > &  ,
VisID  whichobj 
)
overridevirtual

If other objects are moved, removed or added in the scene, this function is called.

Note
that it only notifies on objects that return something on getMovementNotifier().
Parameters
whichobjrefers to id of the moved object

Reimplemented from visSurvey::SurveyObject.

Reimplemented in visSurvey::PickSetDisplay.

◆ pickCB()

void visSurvey::LocationDisplay::pickCB ( CallBacker cb)
protected

◆ redrawMultiSets()

virtual void visSurvey::LocationDisplay::redrawMultiSets ( )
inlineprotectedvirtual

Reimplemented in visSurvey::PickSetDisplay.

◆ removeAll()

virtual void visSurvey::LocationDisplay::removeAll ( )
protectedvirtual

Reimplemented in visSurvey::PickSetDisplay.

◆ removePick()

void visSurvey::LocationDisplay::removePick ( int  ,
bool  setundo = true 
)
protected

◆ removePosition()

virtual void visSurvey::LocationDisplay::removePosition ( int  )
protectedvirtual

◆ removeSelection()

void visSurvey::LocationDisplay::removeSelection ( const Selector< Coord3 > &  ,
TaskRunner  
)

◆ removeSelections()

bool visSurvey::LocationDisplay::removeSelections ( TaskRunner )
overrideprotectedvirtual

Reimplemented from visSurvey::SurveyObject.

Reimplemented in visSurvey::PickSetDisplay.

◆ setChg()

virtual void visSurvey::LocationDisplay::setChg ( CallBacker cb)
protectedvirtual

◆ setColor()

void visSurvey::LocationDisplay::setColor ( OD::Color  )
overridevirtual

Reimplemented from visSurvey::SurveyObject.

Reimplemented in visSurvey::PickSetDisplay.

◆ setDisplayTransformation()

void visSurvey::LocationDisplay::setDisplayTransformation ( const mVisTrans *  )
override

◆ setDraggerNormal()

virtual void visSurvey::LocationDisplay::setDraggerNormal ( const Coord3 )
inlineprotectedvirtual

Reimplemented in visSurvey::PickSetDisplay.

◆ setOnlyAtSectionsDisplay()

void visSurvey::LocationDisplay::setOnlyAtSectionsDisplay ( bool  )
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ setPosition()

virtual void visSurvey::LocationDisplay::setPosition ( int  idx,
const Pick::Location ,
bool  add = false 
)
protectedvirtual

◆ setRightHandSystem()

void visSurvey::LocationDisplay::setRightHandSystem ( bool  yn)
overridevirtual

Sets whether the coordinate system is right or left handed.

Reimplemented from visBase::VisualObjectImpl.

◆ setSceneEventCatcher()

void visSurvey::LocationDisplay::setSceneEventCatcher ( visBase::EventCatcher )
overridevirtual

Reimplemented from visBase::VisualObject.

◆ setSet()

virtual void visSurvey::LocationDisplay::setSet ( Pick::Set )
virtual

◆ setSetMgr()

void visSurvey::LocationDisplay::setSetMgr ( Pick::SetMgr )

Only used for notifications.

◆ setZAxisTransform()

bool visSurvey::LocationDisplay::setZAxisTransform ( ZAxisTransform ,
TaskRunner  
)
overridevirtual

Reimplemented from visSurvey::SurveyObject.

◆ showAll()

void visSurvey::LocationDisplay::showAll ( bool  yn)

◆ sKeyID()

static const char* visSurvey::LocationDisplay::sKeyID ( )
staticprotected

◆ sKeyMarkerSize()

static const char* visSurvey::LocationDisplay::sKeyMarkerSize ( )
staticprotected

◆ sKeyMarkerType()

static const char* visSurvey::LocationDisplay::sKeyMarkerType ( )
staticprotected

◆ sKeyMgrName()

static const char* visSurvey::LocationDisplay::sKeyMgrName ( )
staticprotected

◆ sKeyShowAll()

static const char* visSurvey::LocationDisplay::sKeyShowAll ( )
staticprotected

◆ transformPos()

bool visSurvey::LocationDisplay::transformPos ( Pick::Location ) const
protected

◆ triggerDeSel()

void visSurvey::LocationDisplay::triggerDeSel ( )
overrideprotectedvirtual

Is called everytime object is deselected.

Reimplemented from visBase::VisualObject.

◆ turnOnSelectionMode()

void visSurvey::LocationDisplay::turnOnSelectionMode ( bool  )
inlineoverridevirtual

Reimplemented from visSurvey::SurveyObject.

Reimplemented in visSurvey::PickSetDisplay.

◆ updateDragger()

virtual void visSurvey::LocationDisplay::updateDragger ( )
inlineprotectedvirtual

Reimplemented in visSurvey::PickSetDisplay.

◆ usePar()

bool visSurvey::LocationDisplay::usePar ( const IOPar )
overridevirtual

Reimplemented from visBase::VisualObjectImpl.

Reimplemented in visSurvey::PickSetDisplay.

◆ world2Display()

Coord3 visSurvey::LocationDisplay::world2Display ( const Coord3 ) const
protected

Friends And Related Function Documentation

◆ Sower

friend class Sower
friend

Member Data Documentation

◆ allowdoubleclicks_

bool visSurvey::LocationDisplay::allowdoubleclicks_ = true
protected

◆ ctrldown_

bool visSurvey::LocationDisplay::ctrldown_ = false
protected

◆ datatransform_

ZAxisTransform* visSurvey::LocationDisplay::datatransform_ = nullptr
protected

◆ eventcatcher_

visBase::EventCatcher* visSurvey::LocationDisplay::eventcatcher_ = nullptr
protected

◆ invalidpicks_

TypeSet<int> visSurvey::LocationDisplay::invalidpicks_
protected

Replaced by areallshown_ in main branch Here only the first element used (as bool) invalidpicks_[0] == 0 <==> areallshown_

◆ manip_

Notifier<LocationDisplay> visSurvey::LocationDisplay::manip_
protected

◆ mousepressid_

VisID visSurvey::LocationDisplay::mousepressid_
protected

◆ painter_

SeedPainter* visSurvey::LocationDisplay::painter_
protected

◆ pickedsobjid_

VisID visSurvey::LocationDisplay::pickedsobjid_
protected

Picked SurveyObject ID.

◆ picksetmgr_

Pick::SetMgr* visSurvey::LocationDisplay::picksetmgr_ = nullptr
protected

◆ selectionmodel_

bool visSurvey::LocationDisplay::selectionmodel_ = false
protected

◆ set_

RefMan<Pick::Set> visSurvey::LocationDisplay::set_
protected

◆ showall_

bool visSurvey::LocationDisplay::showall_ = true
protected

◆ sower_

Sower* visSurvey::LocationDisplay::sower_
protected

◆ storedmid_

MultiID visSurvey::LocationDisplay::storedmid_
protected

◆ transformation_

const mVisTrans* visSurvey::LocationDisplay::transformation_ = nullptr
protected

◆ undoloccoord_

Coord3 visSurvey::LocationDisplay::undoloccoord_ = Coord3::udf()
protected

◆ undomove_

bool visSurvey::LocationDisplay::undomove_ = false
protected

◆ voiidx_

int visSurvey::LocationDisplay::voiidx_ = -1
protected

◆ waitsfordirectionid_

int visSurvey::LocationDisplay::waitsfordirectionid_ = -1
protected

◆ waitsforpositionid_

int visSurvey::LocationDisplay::waitsforpositionid_ = -1
protected

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