![]() |
OpendTect
6.3
|
Used for displaying a 2D line. More...
Classes | |
| struct | TraceDisplayInfo |
| struct | UpdateStageInfo |
Public Member Functions | |
| Seis2DDisplay () | |
| mDefaultFactoryInstantiation (visSurvey::SurveyObject, Seis2DDisplay,"Seis2DDisplay", toUiString(sFactoryKeyword())) void setProbe(Probe *) | |
| Probe * | getProbe () |
| const Probe * | getProbe () const |
| const char * | getLineName () const |
| Pos::GeomID | getGeomID () const |
| void | setGeometry (const PosInfo::Line2DData &) |
| const PosInfo::Line2DData & | getGeometry () const |
| StepInterval< float > | getMaxZRange (bool displayspace) const |
| void | setZRange (const StepInterval< float > &) |
| StepInterval< float > | getZRange (bool displayspace, int att=-1) const |
| void | getTraceKeyPath (TrcKeyPath &, TypeSet< Coord > *) const |
| Interval< float > | getDataTraceRange () const |
| void | setTraceNrRange (const Interval< int > &) |
| const Interval< int > & | getTraceNrRange () const |
| const StepInterval< int > & | getMaxTraceNrRange () const |
| bool | setDataPackID (int attrib, DataPack::ID, TaskRunner *) |
| DataPack::ID | getDataPackID (int attrib) const |
| DataPack::ID | getDisplayedDataPackID (int attrib) const |
| virtual DataPackMgr::ID | getDataPackMgrID () const |
| bool | allowsPicks () const |
| bool | allowMaterialEdit () const |
| bool | hasColor () const |
| Color | getColor () const |
| void | setColor (Color) |
| const OD::LineStyle * | lineStyle () const |
| void | setLineStyle (const OD::LineStyle &) |
| void | enableAttrib (int attrib, bool yn) |
| bool | hasSingleColorFallback () const |
| void | showPanel (bool yn) |
| bool | isPanelShown () const |
| void | showPolyLine (bool yn) |
| bool | isPolyLineShown () const |
| void | showLineName (bool yn) |
| bool | isLineNameShown () const |
| bool | canDuplicate () const |
| SurveyObject * | duplicate (TaskRunner *) const |
| void | setDisplayTransformation (const mVisTrans *) |
| const mVisTrans * | getDisplayTransformation () const |
| void | setPixelDensity (float) |
| float | getPixelDensity () const |
| float | calcDist (const Coord3 &) const |
| int | nrResolutions () const |
| void | setResolution (int, TaskRunner *) |
| TrcKeyZSampling | getTrcKeyZSampling (int attrib=-1) const |
| TrcKeyZSampling | getTrcKeyZSampling (bool displayspace, int attrib=-1) const |
| Pol2D3D | getAllowedDataType () const |
| SurveyObject::AttribFormat | getAttributeFormat (int attrib) const |
| void | getMousePosInfo (const visBase::EventInfo &, Coord3 &, BufferString &, BufferString &) const |
| void | getMousePosInfo (const visBase::EventInfo &, IOPar &) const |
| void | getObjectInfo (BufferString &) const |
| void | snapToTracePos (Coord3 &) const |
| int | getNearestTraceNr (const Coord3 &) const |
| Coord3 | getNearestSubPos (const Coord3 &pos, bool usemaxrange) const |
| float | getNearestSegment (const Coord3 &pos, bool usemaxrange, int &trcnr1st, int &trcnr2nd, float &frac) const |
| Coord3 | projectOnNearestPanel (const Coord3 &pos, int *nearestpanelidx=0) |
| void | getLineSegmentProjection (const Coord3 pos1, const Coord3 pos2, TypeSet< Coord3 > &projectedcoords) |
| Coord | getCoord (int trcnr) const |
| virtual Coord3 | getNormal (const Coord3 &c) const |
| Coord | getNormal (int trcnr) const |
| bool | setZAxisTransform (ZAxisTransform *, TaskRunner *) |
| const ZAxisTransform * | getZAxisTransform () const |
| void | clearTexture (int) |
| virtual void | setAnnotColor (Color) |
| virtual Color | getAnnotColor () const |
| NotifierAccess * | getMovementNotifier () |
| NotifierAccess * | getManipulationNotifier () |
| virtual void | annotateNextUpdateStage (bool yn) |
| void | fillPar (IOPar &) const |
| bool | usePar (const IOPar &) |
| visBase::TexturePanelStrip * | getTexturePanelStrip () const |
| bool | isSection () const |
Public Member Functions inherited from visSurvey::MultiTextureSurveyObject | |
| bool | turnOn (bool yn) |
| bool | isOn () const |
| bool | isShown () const |
| int | getResolution () const |
| bool | setChannels2RGBA (visBase::TextureChannel2RGBA *) |
| visBase::TextureChannel2RGBA * | getChannels2RGBA () |
| visBase::TextureChannels * | getChannels () const |
| bool | canHaveMultipleAttribs () const |
| bool | canAddAttrib (int nrattribstoadd=1) const |
| bool | canRemoveAttrib () const |
| int | nrAttribs () const |
| bool | addAttrib () |
| bool | removeAttrib (int attrib) |
| bool | swapAttribs (int attrib0, int attrib1) |
| void | setAttribTransparency (int, unsigned char) |
| unsigned char | getAttribTransparency (int) const |
| virtual void | allowShading (bool) |
| const Attrib::SelSpec * | getSelSpec (int attrib, int version=0) const |
| const TypeSet< Attrib::SelSpec > * | getSelSpecs (int attrib) const |
| void | setSelSpec (int attrib, const Attrib::SelSpec &) |
| void | setSelSpecs (int attrib, const TypeSet< Attrib::SelSpec > &) |
| void | clearTextures () |
| void | enableTextureInterpolation (bool) |
| bool | textureInterpolationEnabled () const |
| bool | isAngle (int attrib) const |
| void | setAngleFlag (int attrib, bool yn) |
| bool | isAttribEnabled (int attrib) const |
| const ColTab::Mapper & | getColTabMapper (int attrib) const |
| void | setColTabMapper (int, const ColTab::Mapper &, TaskRunner *) |
| const ColTab::Sequence & | getColTabSequence (int) const |
| bool | canSetColTabSequence () const |
| void | setColTabSequence (int, const ColTab::Sequence &, TaskRunner *) |
| bool | canHaveMultipleTextures () const |
| int | nrTextures (int attrib) const |
| void | selectTexture (int attrib, int texture) |
| int | selectedTexture (int attrib) const |
| virtual bool | canBDispOn2DViewer () const |
| bool | canEnableTextureInterpolation () const |
| bool | canDisplayInteractively (Pos::GeomID geomid=-1) const |
| const uiString & | errMsg () 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 Material * | getMaterial () const |
| Material * | getMaterial () |
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 |
| 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 |
| 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 *) |
| 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 |
Static Public Member Functions | |
| static Seis2DDisplay * | getSeis2DDisplay (const DBKey &, const char *) |
| static Seis2DDisplay * | getSeis2DDisplay (Pos::GeomID) |
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 () |
Protected Member Functions | |
| ~Seis2DDisplay () | |
| virtual void | addCache () |
| void | removeCache (int) |
| void | swapCache (int, int) |
| void | emptyCache (int) |
| bool | hasCache (int) const |
| bool | getCacheValue (int attrib, int version, const Coord3 &, float &) const |
| Coord is in attribute space. More... | |
| const Interval< int > | getSampleRange () const |
| void | updatePanelStripPath () |
| void | updatePanelStripZRange () |
| void | updateLineNamePos () |
| void | updateTexOriginAndScale (int attrib, const TrcKeyZSampling &) |
| void | updateChannels (int attrib, TaskRunner *) |
| void | createTransformedDataPack (int attrib, TaskRunner *=0) |
| bool | getNearestTrace (const Coord3 &, int &idx, float &sqdist) const |
| void | dataTransformCB (CallBacker *) |
| void | updateRanges (bool trc, bool z) |
Protected Member Functions inherited from visSurvey::MultiTextureSurveyObject | |
| MultiTextureSurveyObject () | |
| ~MultiTextureSurveyObject () | |
| void | getValueString (const Coord3 &, BufferString &) const |
| Coord is in ztransformed space. More... | |
| void | updateMainSwitch () |
| virtual bool | init () |
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 | |
| ~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 * | sKeyLineSetID () |
| static const char * | sKeyTrcNrRange () |
| static const char * | sKeyZRange () |
| static const char * | sKeyShowLineName () |
| static const char * | sKeyShowPanel () |
| static const char * | sKeyShowPolyLine () |
Static Protected Member Functions inherited from visSurvey::SurveyObject | |
| static int | cValNameOffset () |
Private Member Functions | |
| mODTextTranslationClass (Seis2DDisplay) | |
Used for displaying a 2D line.
| visSurvey::Seis2DDisplay::Seis2DDisplay | ( | ) |
|
protected |
|
protectedvirtual |
Implements visSurvey::MultiTextureSurveyObject.
|
inlinevirtual |
Reimplemented from visSurvey::SurveyObject.
|
inlinevirtual |
Reimplemented from visSurvey::SurveyObject.
|
virtual |
Annotation to enumerate distinguishable stages in an update sequence. False resets updatestagenr_ to zero. For example: no updating #0 annotateNextUpdateStage( true ); update geometry #1 annotateNextUpdateStage( true ); update textures #2 annotateNextUpdateStage( false ); no updating #0 Derived class decides whether to neglect or act, e.g. by (de/re)freezing its display.
Reimplemented from visSurvey::SurveyObject.
|
virtual |
Reimplemented from visSurvey::SurveyObject.
|
inlinevirtual |
Reimplemented from visSurvey::SurveyObject.
| void visSurvey::Seis2DDisplay::clearTexture | ( | int | ) |
|
protected |
|
protected |
|
virtual |
Reimplemented from visSurvey::SurveyObject.
|
protectedvirtual |
Implements visSurvey::MultiTextureSurveyObject.
|
virtual |
Reimplemented from visSurvey::MultiTextureSurveyObject.
|
virtual |
Reimplemented from visSurvey::MultiTextureSurveyObject.
|
inlinevirtual |
Reimplemented from visSurvey::SurveyObject.
|
virtual |
Reimplemented from visSurvey::SurveyObject.
|
virtual |
Reimplemented from visSurvey::SurveyObject.
|
protectedvirtual |
Coord is in attribute space.
Implements visSurvey::MultiTextureSurveyObject.
|
virtual |
Reimplemented from visSurvey::SurveyObject.
| Coord visSurvey::Seis2DDisplay::getCoord | ( | int | trcnr | ) | const |
|
virtual |
Reimplemented from visSurvey::SurveyObject.
|
inlinevirtual |
Reimplemented from visSurvey::SurveyObject.
|
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.
|
inline |
|
virtual |
Reimplemented from visSurvey::SurveyObject.
| const char* visSurvey::Seis2DDisplay::getLineName | ( | ) | const |
| void visSurvey::Seis2DDisplay::getLineSegmentProjection | ( | const Coord3 | pos1, |
| const Coord3 | pos2, | ||
| TypeSet< Coord3 > & | projectedcoords | ||
| ) |
|
inlinevirtual |
Reimplemented from visSurvey::SurveyObject.
| const StepInterval<int>& visSurvey::Seis2DDisplay::getMaxTraceNrRange | ( | ) | const |
| StepInterval<float> visSurvey::Seis2DDisplay::getMaxZRange | ( | bool | displayspace | ) | const |
|
virtual |
Reimplemented from visSurvey::SurveyObject.
|
virtual |
Reimplemented from visSurvey::SurveyObject.
|
inlinevirtual |
Gives access to a notifier that is triggered when object is moved or modified.
Reimplemented from visSurvey::SurveyObject.
| float visSurvey::Seis2DDisplay::getNearestSegment | ( | const Coord3 & | pos, |
| bool | usemaxrange, | ||
| int & | trcnr1st, | ||
| int & | trcnr2nd, | ||
| float & | frac | ||
| ) | const |
|
protected |
| int visSurvey::Seis2DDisplay::getNearestTraceNr | ( | const Coord3 & | ) | const |
Position and Normal are both in displayspace.
Reimplemented from visSurvey::SurveyObject.
| Coord visSurvey::Seis2DDisplay::getNormal | ( | int | trcnr | ) | const |
|
virtual |
Reimplemented from visSurvey::SurveyObject.
|
inlinevirtual |
Reimplemented from visBase::DataObject.
|
inline |
|
inline |
|
protected |
|
static |
|
static |
|
inline |
|
virtual |
If Coordinates are different from the trckeys, they can be delivered in the TypeSet<Coord>*
Reimplemented from visSurvey::SurveyObject.
| const Interval<int>& visSurvey::Seis2DDisplay::getTraceNrRange | ( | ) | const |
|
inlinevirtual |
Reimplemented from visSurvey::SurveyObject.
| TrcKeyZSampling visSurvey::Seis2DDisplay::getTrcKeyZSampling | ( | bool | displayspace, |
| int | attrib = -1 |
||
| ) | const |
|
virtual |
Reimplemented from visSurvey::SurveyObject.
| StepInterval<float> visSurvey::Seis2DDisplay::getZRange | ( | bool | displayspace, |
| int | att = -1 |
||
| ) | const |
|
protectedvirtual |
Implements visSurvey::MultiTextureSurveyObject.
|
inlinevirtual |
Reimplemented from visSurvey::SurveyObject.
|
inlinevirtual |
Reimplemented from visSurvey::SurveyObject.
| bool visSurvey::Seis2DDisplay::isLineNameShown | ( | ) | const |
| bool visSurvey::Seis2DDisplay::isPanelShown | ( | ) | const |
| bool visSurvey::Seis2DDisplay::isPolyLineShown | ( | ) | const |
|
inlinevirtual |
Reimplemented from visSurvey::SurveyObject.
|
virtual |
Reimplemented from visSurvey::SurveyObject.
| visSurvey::Seis2DDisplay::mDefaultFactoryInstantiation | ( | visSurvey::SurveyObject | , |
| Seis2DDisplay | , | ||
| "Seis2DDisplay" | , | ||
| toUiString(sFactoryKeyword()) | |||
| ) |
|
private |
|
virtual |
Implements visSurvey::MultiTextureSurveyObject.
| Coord3 visSurvey::Seis2DDisplay::projectOnNearestPanel | ( | const Coord3 & | pos, |
| int * | nearestpanelidx = 0 |
||
| ) |
|
protectedvirtual |
Implements visSurvey::MultiTextureSurveyObject.
|
virtual |
Reimplemented from visSurvey::SurveyObject.
|
virtual |
Reimplemented from visSurvey::SurveyObject.
|
virtual |
Reimplemented from visSurvey::SurveyObject.
| void visSurvey::Seis2DDisplay::setDisplayTransformation | ( | const mVisTrans * | ) |
| void visSurvey::Seis2DDisplay::setGeometry | ( | const PosInfo::Line2DData & | ) |
|
virtual |
Reimplemented from visSurvey::SurveyObject.
|
virtual |
Reimplemented from visBase::DataObject.
|
virtual |
Implements visSurvey::MultiTextureSurveyObject.
| void visSurvey::Seis2DDisplay::setTraceNrRange | ( | const Interval< int > & | ) |
|
virtual |
Reimplemented from visSurvey::SurveyObject.
| void visSurvey::Seis2DDisplay::setZRange | ( | const StepInterval< float > & | ) |
| void visSurvey::Seis2DDisplay::showLineName | ( | bool | yn | ) |
| void visSurvey::Seis2DDisplay::showPanel | ( | bool | yn | ) |
| void visSurvey::Seis2DDisplay::showPolyLine | ( | bool | yn | ) |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
virtual |
Reimplemented from visSurvey::SurveyObject.
|
protectedvirtual |
Implements visSurvey::MultiTextureSurveyObject.
|
protected |
|
protected |
|
protected |
Sets the coordinates to the path in geometry_, limited by current trcnrrg_. Will also update texture coordinates.
|
protected |
|
protected |
|
protected |
|
virtual |
Reimplemented from visSurvey::MultiTextureSurveyObject.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
mutableprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017