OpendTect-6_4  6.4
Classes | Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
visSurvey::PSEventDisplay Class Reference
Inheritance diagram for visSurvey::PSEventDisplay:
[legend]

Classes

struct  ParentAttachedObject
 

Public Types

enum  MarkerColor { Single, Quality, Velocity, VelocityFit }
 
enum  DisplayMode { ZeroOffset, FullOnSections, ZeroOffsetOnSections, FullOnGathers }
 
- Public Types inherited from visSurvey::SurveyObject
enum  AttribFormat {
  None, Cube, Traces, RandomPos,
  OtherFormat
}
 

Public Member Functions

 PSEventDisplay ()
 
 mDefaultFactoryInstantiation (visSurvey::SurveyObject, PSEventDisplay,"PSEventDisplay",::toUiString(sFactoryKeyword()))
 
bool isInlCrl () const
 
void setEventManager (PreStack::EventManager *)
 
void setHorizonID (int)
 
 mDeclareEnumUtils (MarkerColor)
 
void setMarkerColor (MarkerColor, bool update=true)
 
MarkerColor getMarkerColor () const
 
void setColTabMapper (const ColTab::MapperSetup &, bool update=true)
 
const ColTab::MapperSetupgetColTabMapper () const
 
void setColTabSequence (const ColTab::Sequence &, bool update=true)
 
virtual const ColTab::SequencegetColTabSequence (int ch=0) const
 
virtual void setColTabSequence (int, const ColTab::Sequence &, TaskRunner *)
 
virtual bool canSetColTabSequence () const
 
virtual int nrAttribs () const
 
virtual const ColTab::MapperSetupgetColTabMapperSetup (int, int) const
 
virtual void setPixelDensity (float)
 
 mDeclareEnumUtils (DisplayMode)
 
void setDisplayMode (DisplayMode)
 
DisplayMode getDisplayMode () const
 
void setLineStyle (const OD::LineStyle &)
 
OD::LineStyle getLineStyle () const
 
void setMarkerStyle (const MarkerStyle3D &, bool updat)
 
virtual bool hasColor () const
 
virtual Color getColor () const
 
const char ** markerColorNames () const
 
const char ** displayModeNames () const
 
bool hasParents () const
 
bool supportsDisplay () const
 
- Public Member Functions inherited from visBase::VisualObjectImpl
void setRightHandSystem (bool yn)
 
bool isRightHandSystem () const
 
void setLockable ()
 
void readLock ()
 
void readUnLock ()
 
bool tryReadLock ()
 
void writeLock ()
 
void writeUnLock ()
 
bool tryWriteLock ()
 
void setMaterial (Material *)
 
const MaterialgetMaterial () const
 
MaterialgetMaterial ()
 
virtual bool usePar (const IOPar &)
 
virtual void fillPar (IOPar &) const
 
- Public Member Functions inherited from visBase::VisualObject
virtual bool getBoundingBox (Coord3 &min, Coord3 &max) const
 
virtual void setSceneEventCatcher (EventCatcher *)
 
void setSelectable (bool yn)
 
bool selectable () const
 
NotifierAccessselection ()
 
NotifierAccessdeSelection ()
 
virtual NotifierAccessrightClicked ()
 
const EventInforightClickedEventInfo () 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
 
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 void setDisplayTransformation (const visBase::Transformation *)
 
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 Member Functions inherited from visSurvey::SurveyObject
void doRef ()
 
void doUnRef ()
 
virtual const char * get3DSurvGeomName () const
 
virtual Pos::GeomID getGeomID () const
 
virtual Coord3 getNormal (const Coord3 &pos) const
 
virtual float calcDist (const Coord3 &pos) const
 
virtual float maxDist () const
 
virtual bool allowsPicks () const
 
virtual bool isPicking () const
 
virtual void getPickingMessage (BufferString &msg) const
 
virtual void snapToTracePos (Coord3 &) const
 
virtual NotifierAccessgetMovementNotifier ()
 
virtual void setTranslation (const Coord3 &)
 
virtual Coord3 getTranslation () const
 
virtual void getChildren (TypeSet< int > &) const
 
virtual bool canDuplicate () const
 
virtual SurveyObjectduplicate (TaskRunner *) const
 
virtual MultiID getMultiID () const
 
virtual bool hasPosModeManipulator () const
 
virtual void showManipulator (bool yn)
 
virtual bool isManipulatorShown () const
 
virtual bool isManipulated () const
 
virtual bool canResetManipulation () const
 
virtual void resetManipulation ()
 
virtual void acceptManipulation ()
 
virtual BufferString getManipulationString () const
 
virtual NotifierAccessgetManipulationNotifier ()
 
virtual void enableEditor (bool yn)
 
virtual bool allowMaterialEdit () const
 
virtual const OD::LineStylelineStyle () const
 
virtual void getLineWidthBounds (int &min, int &max)
 
virtual bool hasSpecificLineColor () const
 
virtual void setOnlyAtSectionsDisplay (bool)
 
virtual bool displayedOnlyAtSections () const
 
virtual bool usesColor () const
 
virtual void setColor (Color)
 
virtual void setAnnotColor (Color)
 
virtual Color getAnnotColor () const
 
virtual int nrResolutions () const
 
virtual BufferString getResolutionName (int) const
 
virtual int getResolution () const
 
virtual void setResolution (int, TaskRunner *)
 
virtual visBase::TextureChannelsgetChannels () const
 
virtual visBase::TextureChannel2RGBAgetChannels2RGBA ()
 
const visBase::TextureChannel2RGBAgetChannels2RGBA () const
 
virtual bool setChannels2RGBA (visBase::TextureChannel2RGBA *)
 
virtual AttribFormat getAttributeFormat (int attrib=-1) const
 
virtual bool canHaveMultipleAttribs () const
 
virtual bool canAddAttrib (int nrattribstoadd=1) const
 
virtual bool addAttrib ()
 
virtual bool canRemoveAttrib () const
 
virtual bool removeAttrib (int attrib)
 
virtual bool swapAttribs (int a0, int a1)
 
virtual void setAttribTransparency (int, unsigned char)
 
virtual unsigned char getAttribTransparency (int) const
 
void getChannelName (int, uiString &) const
 
virtual void setColTabMapperSetup (int, const ColTab::MapperSetup &, TaskRunner *)
 
virtual bool canHandleColTabSeqTrans (int) const
 
virtual void enableTextureInterpolation (bool)
 
virtual bool textureInterpolationEnabled () const
 
virtual bool canEnableTextureInterpolation () const
 
virtual bool isAngle (int attrib) const
 
virtual void setAngleFlag (int attrib, bool yn)
 
virtual void enableAttrib (int attrib, bool yn)
 
virtual bool isAttribEnabled (int attrib) const
 
bool isAnyAttribEnabled () const
 
virtual bool hasSingleColorFallback () const
 
virtual Pol2D3D getAllowedDataType () const
 
virtual const TypeSet< float > * getHistogram (int attrib) const
 
virtual bool canRemoveSelection () const
 
virtual bool removeSelections (TaskRunner *)
 
virtual void clearSelections ()
 
virtual void setSelSpec (int, const Attrib::SelSpec &)
 
virtual void setSelSpecs (int attrib, const TypeSet< Attrib::SelSpec > &)
 
virtual const Attrib::SelSpecgetSelSpec (int attrib, int version=0) const
 
virtual const TypeSet< Attrib::SelSpec > * getSelSpecs (int attrib) const
 
virtual bool canHaveMultipleTextures () const
 
virtual int nrTextures (int attrib) const
 
virtual void selectTexture (int attrib, int texture)
 
virtual int selectedTexture (int attrib) const
 
virtual void allowShading (bool)
 
virtual void getMousePosInfo (const visBase::EventInfo &, Coord3 &xyzpos, BufferString &val, BufferString &info) const
 
virtual void getMousePosInfo (const visBase::EventInfo &, IOPar &) const
 
virtual const MouseCursorgetMouseCursor () const
 
virtual void updateMouseCursorCB (CallBacker *)
 
virtual void getObjectInfo (BufferString &) const
 
virtual bool setDataPackID (int attrib, DataPack::ID, TaskRunner *)
 
virtual DataPack::ID getDataPackID (int attrib) const
 
virtual DataPack::ID getDisplayedDataPackID (int attrib) const
 
virtual DataPackMgr::ID getDataPackMgrID () const
 
virtual TrcKeyZSampling getTrcKeyZSampling (int attrib) const
 
virtual bool setDataVolume (int attrib, const RegularSeisDataPack *, TaskRunner *)
 
virtual const RegularSeisDataPackgetCacheVolume (int attr) const
 
virtual void getTraceKeyPath (TrcKeyPath &, TypeSet< Coord > *=0) const
 
virtual void getDataTraceBids (TypeSet< BinID > &) const
 
virtual Interval< float > getDataTraceRange () const
 
virtual void getRandomPos (DataPointSet &, TaskRunner *) const
 
virtual void getRandomPosCache (int attrib, DataPointSet &) const
 
virtual void setRandomPosData (int attrib, const DataPointSet *, TaskRunner *)
 
virtual void readAuxData ()
 
virtual void setScene (Scene *scn)
 
virtual const ScenegetScene () const
 
virtual ScenegetScene ()
 
virtual int getSceneID () const
 
virtual bool setZAxisTransform (ZAxisTransform *, TaskRunner *)
 
virtual const ZAxisTransformgetZAxisTransform () const
 
virtual bool alreadyTransformed (int attrib) const
 
virtual void annotateNextUpdateStage (bool yn)
 
int getUpdateStageNr () const
 
virtual void lock (bool yn)
 
virtual bool isLocked () const
 
virtual NotifierAccessgetLockNotifier ()
 
virtual void fillPar (IOPar &) const
 
virtual bool usePar (const IOPar &)
 
virtual bool canBDispOn2DViewer () const
 
virtual bool isVerticalPlane () const
 
virtual void turnOnSelectionMode (bool)
 
void setUserRefs (int attrib, BufferStringSet *nms)
 
void setSaveInSessionsFlag (bool yn)
 
bool getSaveInSessionsFlag () const
 
virtual bool canBeRemoved () const
 

Protected Member Functions

void clearAll ()
 
 ~PSEventDisplay ()
 
void otherObjectsMoved (const ObjectSet< const SurveyObject > &, int whichobj)
 
void setDisplayTransformation (const mVisTrans *)
 
const mVisTransgetDisplayTransformation () const
 
void eventChangeCB (CallBacker *)
 
void eventForceReloadCB (CallBacker *)
 
void updateDisplay ()
 
void updateDisplay (ParentAttachedObject *)
 
void clearDisplay (ParentAttachedObject *)
 
void retriveParents ()
 
float getMoveoutComp (const TypeSet< float > &, const TypeSet< float > &) const
 
- 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 triggerDeSel ()
 
void triggerRightClick (const EventInfo *)
 
 VisualObject (bool selectable=false)
 
 ~VisualObject ()
 
- Protected Member Functions inherited from visBase::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 ()
 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 &)
 

Protected Attributes

visBase::DrawStylelinestyle_
 
const mVisTransdisplaytransform_
 
ObjectSet< ParentAttachedObjectparentattached_
 
DisplayMode displaymode_
 
PreStack::EventManagereventman_
 
int horid_
 
Interval< float > qualityrange_
 
float offsetscale_
 
MarkerColor markercolor_
 
ColTab::Mapper ctabmapper_
 
ColTab::Sequence ctabsequence_
 
MarkerStyle3D markerstyle_
 
visBase::MarkerSeteventmarkerset_
 
Threads::Lock lock_
 
- Protected Attributes inherited from visBase::VisualObjectImpl
Materialmaterial_
 
bool righthandsystem_
 
- Protected Attributes inherited from visBase::DataObject
DataObjectGroupparent_
 
- Protected Attributes inherited from visSurvey::SurveyObject
BufferString errmsg_
 
Scenescene_
 
int updatestagenr_
 
bool locked_
 
ObjectSet< BufferStringSetuserrefs_
 
const Survey::Geometry3Ds3dgeom_
 
BufferString survname_
 
bool saveinsessionsflag_
 

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 (const void *)
 Call only once from initialization. More...
 
static bool isVisualizationThread ()
 
static void requestSingleRedraw ()
 
static void setCommonViewer (osgViewer::CompositeViewer *)
 
static osgViewer::CompositeViewer * getCommonViewer ()
 
- Static Public Member Functions inherited from visSurvey::SurveyObject
static float sDefMaxDist ()
 
static const char * sKeyColTabID ()
 
static const char * sKeySequence ()
 
static const char * sKeyMapper ()
 
static const char * sKeyTextTrans ()
 
static const char * sKeyTC2RGBA ()
 
static const char * sKeyNrAttribs ()
 
static const char * sKeyAttribs ()
 
static const char * sKeyLocked ()
 
static const char * sKeySurvey ()
 
- Static Protected Member Functions inherited from visSurvey::SurveyObject
static int cValNameOffset ()
 

Detailed Description

Member Enumeration Documentation

Enumerator
ZeroOffset 
FullOnSections 
ZeroOffsetOnSections 
FullOnGathers 
Enumerator
Single 
Quality 
Velocity 
VelocityFit 

Constructor & Destructor Documentation

visSurvey::PSEventDisplay::PSEventDisplay ( )
visSurvey::PSEventDisplay::~PSEventDisplay ( )
protected

Member Function Documentation

virtual bool visSurvey::PSEventDisplay::canSetColTabSequence ( ) const
inlinevirtual

Reimplemented from visSurvey::SurveyObject.

void visSurvey::PSEventDisplay::clearAll ( )
protected
void visSurvey::PSEventDisplay::clearDisplay ( ParentAttachedObject )
protected
const char** visSurvey::PSEventDisplay::displayModeNames ( ) const
void visSurvey::PSEventDisplay::eventChangeCB ( CallBacker )
protected

<

Returns
true if the binid should not be viewed.
void visSurvey::PSEventDisplay::eventForceReloadCB ( CallBacker )
protected
virtual Color visSurvey::PSEventDisplay::getColor ( ) const
virtual

Reimplemented from visSurvey::SurveyObject.

const ColTab::MapperSetup& visSurvey::PSEventDisplay::getColTabMapper ( ) const
virtual const ColTab::MapperSetup* visSurvey::PSEventDisplay::getColTabMapperSetup ( int  ,
int   
) const
virtual

Reimplemented from visSurvey::SurveyObject.

virtual const ColTab::Sequence* visSurvey::PSEventDisplay::getColTabSequence ( int  ch = 0) const
virtual

Reimplemented from visSurvey::SurveyObject.

DisplayMode visSurvey::PSEventDisplay::getDisplayMode ( ) const
const mVisTrans* visSurvey::PSEventDisplay::getDisplayTransformation ( ) const
protectedvirtual

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.

OD::LineStyle visSurvey::PSEventDisplay::getLineStyle ( ) const
MarkerColor visSurvey::PSEventDisplay::getMarkerColor ( ) const
float visSurvey::PSEventDisplay::getMoveoutComp ( const TypeSet< float > &  ,
const TypeSet< float > &   
) const
protected
virtual bool visSurvey::PSEventDisplay::hasColor ( ) const
inlinevirtual

Reimplemented from visSurvey::SurveyObject.

bool visSurvey::PSEventDisplay::hasParents ( ) const
bool visSurvey::PSEventDisplay::isInlCrl ( ) const
inlinevirtual

Reimplemented from visSurvey::SurveyObject.

const char** visSurvey::PSEventDisplay::markerColorNames ( ) const
visSurvey::PSEventDisplay::mDeclareEnumUtils ( MarkerColor  )
visSurvey::PSEventDisplay::mDeclareEnumUtils ( DisplayMode  )
visSurvey::PSEventDisplay::mDefaultFactoryInstantiation ( visSurvey::SurveyObject  ,
PSEventDisplay  ,
"PSEventDisplay"  ,
::toUiString(sFactoryKeyword())   
)
virtual int visSurvey::PSEventDisplay::nrAttribs ( ) const
inlinevirtual

Reimplemented from visSurvey::SurveyObject.

void visSurvey::PSEventDisplay::otherObjectsMoved ( const ObjectSet< const SurveyObject > &  ,
int  whichobj 
)
protectedvirtual

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.

void visSurvey::PSEventDisplay::retriveParents ( )
protected
void visSurvey::PSEventDisplay::setColTabMapper ( const ColTab::MapperSetup ,
bool  update = true 
)
void visSurvey::PSEventDisplay::setColTabSequence ( const ColTab::Sequence ,
bool  update = true 
)
virtual void visSurvey::PSEventDisplay::setColTabSequence ( int  ,
const ColTab::Sequence ,
TaskRunner  
)
virtual

Reimplemented from visSurvey::SurveyObject.

void visSurvey::PSEventDisplay::setDisplayMode ( DisplayMode  )
void visSurvey::PSEventDisplay::setDisplayTransformation ( const mVisTrans )
protected
void visSurvey::PSEventDisplay::setEventManager ( PreStack::EventManager )
void visSurvey::PSEventDisplay::setHorizonID ( int  )
void visSurvey::PSEventDisplay::setLineStyle ( const OD::LineStyle )
virtual

Reimplemented from visSurvey::SurveyObject.

void visSurvey::PSEventDisplay::setMarkerColor ( MarkerColor  ,
bool  update = true 
)
void visSurvey::PSEventDisplay::setMarkerStyle ( const MarkerStyle3D ,
bool  updat 
)
virtual void visSurvey::PSEventDisplay::setPixelDensity ( float  )
virtual

Reimplemented from visBase::DataObject.

bool visSurvey::PSEventDisplay::supportsDisplay ( ) const
void visSurvey::PSEventDisplay::updateDisplay ( )
protected
void visSurvey::PSEventDisplay::updateDisplay ( ParentAttachedObject )
protected

Member Data Documentation

ColTab::Mapper visSurvey::PSEventDisplay::ctabmapper_
protected
ColTab::Sequence visSurvey::PSEventDisplay::ctabsequence_
protected
DisplayMode visSurvey::PSEventDisplay::displaymode_
protected
const mVisTrans* visSurvey::PSEventDisplay::displaytransform_
protected
PreStack::EventManager* visSurvey::PSEventDisplay::eventman_
protected
visBase::MarkerSet* visSurvey::PSEventDisplay::eventmarkerset_
protected
int visSurvey::PSEventDisplay::horid_
protected
visBase::DrawStyle* visSurvey::PSEventDisplay::linestyle_
protected
Threads::Lock visSurvey::PSEventDisplay::lock_
mutableprotected
MarkerColor visSurvey::PSEventDisplay::markercolor_
protected
MarkerStyle3D visSurvey::PSEventDisplay::markerstyle_
protected
float visSurvey::PSEventDisplay::offsetscale_
protected
ObjectSet<ParentAttachedObject> visSurvey::PSEventDisplay::parentattached_
protected
Interval<float> visSurvey::PSEventDisplay::qualityrange_
protected

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