OpendTect  6.6
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Annotations::CalloutDisplay Class Reference

Callout. More...

Inheritance diagram for Annotations::CalloutDisplay:
[legend]

Public Member Functions

const ColorgetBoxColor () const
 
float getScale () const
 
void setBoxColor (const Color &)
 
void setDisplayTransformation (const mVisTrans *)
 
void setScale (float)
 
- Public Member Functions inherited from visSurvey::LocationDisplay
void allowDoubleClick (bool yn)
 
virtual bool allowsPicks () const
 
bool allShown () const
 
bool canRemoveSelection () const
 
Coord3 convertCoords (const Coord3 &, bool disptoworld)
 
virtual bool displayedOnlyAtSections () const
 
const char * errMsg () const
 
virtual void fillPar (IOPar &) const
 
void fullRedraw (CallBacker *=0)
 
virtual Color getColor () const
 
virtual const mVisTrans * getDisplayTransformation () const
 
TypeSet< int > getInvalidLocations () const
 
virtual NotifierAccessgetManipulationNotifier ()
 
virtual BufferString getManipulationString () const
 
virtual void getMousePosInfo (const visBase::EventInfo &, Coord3 &, BufferString &, BufferString &) const
 
void getMousePosInfo (const visBase::EventInfo &ei, IOPar &iop) const
 
MultiID getMultiID () const
 
void getObjectInfo (BufferString &) const
 
SeedPaintergetPainter ()
 
const SurveyObjectgetPickedSurveyObject () const
 
int getPickIdx (visBase::DataObject *) const
 
Pick::SetgetSet ()
 
const Pick::SetgetSet () const
 
const ZAxisTransformgetZAxisTransform () const
 
virtual bool hasColor () const
 
bool isPainting () const
 
virtual bool isPicking () const
 
virtual void otherObjectsMoved (const ObjectSet< const SurveyObject > &, int)
 
void removeSelection (const Selector< Coord3 > &, TaskRunner *)
 
virtual void setColor (Color)
 
virtual void setOnlyAtSectionsDisplay (bool)
 
void setRightHandSystem (bool yn)
 
virtual void setSceneEventCatcher (visBase::EventCatcher *)
 
virtual void setSet (Pick::Set *)
 
void setSetMgr (Pick::SetMgr *)
 
bool setZAxisTransform (ZAxisTransform *, TaskRunner *)
 
void showAll (bool yn)
 
virtual void turnOnSelectionMode (bool)
 
virtual bool usePar (const IOPar &)
 
- Public Member Functions inherited from visBase::VisualObjectImpl
MaterialgetMaterial ()
 
const MaterialgetMaterial () const
 
bool isRightHandSystem () const
 
void readLock ()
 
void readUnLock ()
 
void setLockable ()
 
void setMaterial (Material *)
 
bool tryReadLock ()
 
bool tryWriteLock ()
 
void writeLock ()
 
void writeUnLock ()
 
- Public Member Functions inherited from visBase::VisualObject
NotifierAccessdeSelection ()
 
virtual bool getBoundingBox (Coord3 &min, Coord3 &max) const
 
virtual NotifierAccessrightClicked ()
 
const EventInforightClickedEventInfo () const
 
const TypeSet< int > * rightClickedPath () const
 
bool selectable () const
 
NotifierAccessselection ()
 
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
 
virtual BufferString getName () const
 
NodeStategetNodeState (int idx)
 
virtual float getPixelDensity () const
 
int 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
 
virtual const OD::Stringname () const
 
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 (int nid)
 
virtual void setName (const char *)
 
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 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
 
- 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 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 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 Pol2D3D getAllowedDataType () const
 
virtual Color getAnnotColor () const
 
virtual unsigned char getAttribTransparency (int) const
 
virtual AttribFormat getAttributeFormat (int attrib=-1) const
 
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< int > &) const
 
virtual const ColTab::MapperSetupgetColTabMapperSetup (int attrib, int version=0) const
 
virtual const ColTab::SequencegetColTabSequence (int) const
 
virtual DataPack::ID getDataPackID (int attrib) const
 
virtual DataPackMgr::ID getDataPackMgrID () const
 
virtual void getDataTraceBids (TypeSet< BinID > &) const
 
virtual Interval< float > getDataTraceRange () const
 
virtual DataPack::ID 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 int getSceneID () const
 
virtual const Attrib::SelSpecgetSelSpec (int attrib, int version=0) const
 
virtual const TypeSet< Attrib::SelSpec > * getSelSpecs (int attrib) const
 
virtual void getTraceKeyPath (TrcKeyPath &, TypeSet< Coord > *=0) const
 
virtual Coord3 getTranslation () const
 
virtual TrcKeyZSampling getTrcKeyZSampling (int attrib) const
 
int getUpdateStageNr () const
 
virtual bool hasPosModeManipulator () const
 
virtual bool hasSingleColorFallback () const
 
virtual bool hasSpecificLineColor () 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 isVerticalPlane () const
 
virtual const OD::LineStylelineStyle () const
 
virtual void lock (bool yn)
 
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 (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, DataPack::ID, TaskRunner *)
 
virtual bool setDataVolume (int attrib, const RegularSeisDataPack *, TaskRunner *)
 
virtual void setLineStyle (const OD::LineStyle &)
 
virtual void setRandomPosData (int attrib, const DataPointSet *, TaskRunner *)
 
virtual void setResolution (int, TaskRunner *)
 
void setSaveInSessionsFlag (bool yn)
 
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 snapToTracePos (Coord3 &) const
 
virtual bool swapAttribs (int a0, int a1)
 
virtual bool textureInterpolationEnabled () const
 
virtual void updateMouseCursorCB (CallBacker *)
 
virtual bool usesColor () const
 

Static Public Member Functions

static CalloutDisplaycreate () mCreateDataObj(CalloutDisplay)
 
static const char * sKeyText ()
 
static const char * sKeyURL ()
 
- 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 int 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 CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 
- 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 ()
 

Protected Member Functions

 ~CalloutDisplay ()
 
visBase::VisualObjectcreateLocation () const
 
void directionChangeCB (CallBacker *)
 
bool hasDirection () const
 
bool hasText () const
 
bool isManipulatorShown () const
 
int isMarkerClick (const TypeSet< int > &) const
 
void setPosition (int loc, const Pick::Location &)
 
void setScaleTransform (visBase::DataObject *) const
 
void setScene (visSurvey::Scene *)
 
void showManipulator (bool)
 
void urlClickCB (CallBacker *)
 
void zScaleChangeCB (CallBacker *)
 
- Protected Member Functions inherited from visSurvey::LocationDisplay
 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 int isDirMarkerClick (const TypeSet< int > &) 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)
 
virtual bool removeSelections (TaskRunner *)
 
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 ()
 
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 *)
 
void triggerSel ()
 
- Protected Member Functions inherited from visBase::DataObject
 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 NamedCallBacker
void sendDelNotif () const
 
- Protected Member Functions inherited from visSurvey::SurveyObject
 SurveyObject ()
 
 ~SurveyObject ()
 
void initAdaptiveMouseCursor (CallBacker *eventcb, int objid, int inplanedragkeys, MouseCursor &)
 

Protected Attributes

visBase::Materialactivedraggermaterial_
 
visBase::Materialboxmaterial_
 
float scale_
 
visBase::Materialtextmaterial_
 
- Protected Attributes inherited from visSurvey::LocationDisplay
bool allowdoubleclicks_ = true
 
bool ctrldown_
 
ZAxisTransformdatatransform_
 
visBase::EventCatchereventcatcher_
 
TypeSet< int > invalidpicks_
 
Notifier< LocationDisplaymanip_
 
int mousepressid_
 
int pickedsobjid_
 Picked SurveyObject ID. More...
 
Pick::SetMgrpicksetmgr_
 
bool selectionmodel_
 
ObjectSet< Selector< Coord3 > > selectors_
 
Pick::Setset_
 
bool showall_
 
Sowersower_
 
MultiID storedmid_
 
const mVisTrans * transformation_
 
Coord3 undoloccoord_
 
bool undomove_
 
int voiidx_
 
int waitsfordirectionid_
 
int waitsforpositionid_
 
- 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_
 
const Survey::Geometry3Ds3dgeom_
 
bool saveinsessionsflag_
 
Scenescene_
 
BufferString survname_
 
int updatestagenr_
 
ObjectSet< BufferStringSetuserrefs_
 

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 Protected Member Functions inherited from visSurvey::LocationDisplay
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 ()
 

Detailed Description

Callout.

<>

Constructor & Destructor Documentation

◆ ~CalloutDisplay()

Annotations::CalloutDisplay::~CalloutDisplay ( )
protected

Member Function Documentation

◆ create()

static CalloutDisplay* Annotations::CalloutDisplay::create ( )
static

◆ createLocation()

visBase::VisualObject* Annotations::CalloutDisplay::createLocation ( ) const
protected

◆ directionChangeCB()

void Annotations::CalloutDisplay::directionChangeCB ( CallBacker )
protected

◆ getBoxColor()

const Color& Annotations::CalloutDisplay::getBoxColor ( ) const

◆ getScale()

float Annotations::CalloutDisplay::getScale ( ) const

◆ hasDirection()

bool Annotations::CalloutDisplay::hasDirection ( ) const
inlineprotectedvirtual

Reimplemented from visSurvey::LocationDisplay.

◆ hasText()

bool Annotations::CalloutDisplay::hasText ( ) const
inlineprotectedvirtual

Reimplemented from visSurvey::LocationDisplay.

◆ isManipulatorShown()

bool Annotations::CalloutDisplay::isManipulatorShown ( ) const
protectedvirtual

Reimplemented from visSurvey::SurveyObject.

◆ isMarkerClick()

int Annotations::CalloutDisplay::isMarkerClick ( const TypeSet< int > &  ) const
protected

◆ setBoxColor()

void Annotations::CalloutDisplay::setBoxColor ( const Color )

◆ setDisplayTransformation()

void Annotations::CalloutDisplay::setDisplayTransformation ( const mVisTrans *  )
virtual

Reimplemented from visSurvey::LocationDisplay.

◆ setPosition()

void Annotations::CalloutDisplay::setPosition ( int  loc,
const Pick::Location  
)
protected

◆ setScale()

void Annotations::CalloutDisplay::setScale ( float  )

◆ setScaleTransform()

void Annotations::CalloutDisplay::setScaleTransform ( visBase::DataObject ) const
protected

◆ setScene()

void Annotations::CalloutDisplay::setScene ( visSurvey::Scene )
protectedvirtual

Reimplemented from visSurvey::SurveyObject.

◆ showManipulator()

void Annotations::CalloutDisplay::showManipulator ( bool  )
protectedvirtual

Reimplemented from visSurvey::SurveyObject.

◆ sKeyText()

static const char* Annotations::CalloutDisplay::sKeyText ( )
inlinestatic

◆ sKeyURL()

static const char* Annotations::CalloutDisplay::sKeyURL ( )
inlinestatic

◆ urlClickCB()

void Annotations::CalloutDisplay::urlClickCB ( CallBacker )
protected

◆ zScaleChangeCB()

void Annotations::CalloutDisplay::zScaleChangeCB ( CallBacker )
protected

Member Data Documentation

◆ activedraggermaterial_

visBase::Material* Annotations::CalloutDisplay::activedraggermaterial_
protected

◆ boxmaterial_

visBase::Material* Annotations::CalloutDisplay::boxmaterial_
protected

◆ scale_

float Annotations::CalloutDisplay::scale_
protected

◆ textmaterial_

visBase::Material* Annotations::CalloutDisplay::textmaterial_
protected

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