![]() |
OpendTect
6.3
|
Used for displaying a random or arbitrary line. More...
Classes | |
| struct | UpdateStageInfo |
Public Member Functions | |
| RandomTrackDisplay () | |
| mDefaultFactoryInstantiation (visSurvey::SurveyObject, RandomTrackDisplay,"RandomTrackDisplay", toUiString(sFactoryKeyword())) | |
| void | setProbe (Probe *) |
| int | getRandomLineID () const |
| Geometry::RandomLine * | getRandomLine () |
| bool | isInlCrl () const |
| bool | isSection () const |
| int | nrResolutions () const |
| void | setResolution (int, TaskRunner *) |
| bool | hasPosModeManipulator () const |
| void | showManipulator (bool yn) |
| bool | isManipulatorShown () const |
| bool | isManipulated () const |
| bool | canResetManipulation () const |
| void | resetManipulation () |
| void | acceptManipulation () |
| BufferString | getManipulationString () const |
| bool | canDuplicate () const |
| SurveyObject * | duplicate (TaskRunner *) const |
| DBKey | getDBKey () const |
| bool | allowMaterialEdit () const |
| SurveyObject::AttribFormat | getAttributeFormat (int attrib) const |
| TypeSet< BinID > * | getPath () |
| TrcKeyPath * | getTrcKeyPath () |
| BinID-based coding: inner nodes single. More... | |
| void | getDataTraceBids (TypeSet< BinID > &) const |
| Segment-based coding: inner nodes doubled. More... | |
| void | getTraceKeyPath (TrcKeyPath &, TypeSet< Coord > *) const |
| Interval< float > | getDataTraceRange () const |
| TypeSet< Coord > | getTrueCoords () 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 | canAddNode (int nodenr) const |
| void | addNode (int nodenr) |
| int | nrNodes () const |
| void | addNode (const BinID &) |
| void | insertNode (int, const BinID &) |
| void | setNodePos (int, const BinID &) |
| BinID | getNodePos (int) const |
| BinID | getManipNodePos (int) const |
| void | getAllNodePos (TypeSet< BinID > &) const |
| TypeSet< BinID > * | getNodes () |
| void | removeNode (int) |
| void | removeAllNodes () |
| bool | setNodePositions (const TypeSet< BinID > &) |
| void | lockGeometry (bool) |
| bool | isGeometryLocked () const |
| TrcKeyZSampling | getTrcKeyZSampling (int attrib) const |
| void | setDepthInterval (const Interval< float > &) |
| Interval< float > | getDepthInterval () const |
| const MouseCursor * | getMouseCursor () const |
| bool | getSelMousePosInfo (const visBase::EventInfo &, Coord3 &, BufferString &, BufferString &) const |
| void | getMousePosInfo (const visBase::EventInfo &, Coord3 &, BufferString &, BufferString &) const |
| void | getMousePosInfo (const visBase::EventInfo &, IOPar &) const |
| int | getSelNodeIdx () const |
| knotidx>=0, panelidx<0 More... | |
| NotifierAccess * | posChanged () |
| virtual NotifierAccess * | getMovementNotifier () |
| NotifierAccess * | getManipulationNotifier () |
| int | getClosestPanelIdx (const Coord &, double *fracptr=0) const |
| Coord3 | getNormal (const Coord3 &) const |
| virtual float | calcDist (const Coord3 &) const |
| virtual bool | allowsPicks () const |
| virtual void | fillPar (IOPar &) const |
| virtual bool | usePar (const IOPar &) |
| bool | canBDispOn2DViewer () const |
| void | setSceneEventCatcher (visBase::EventCatcher *) |
| void | setRightHandSystem (bool) |
| const uiString & | errMsg () const |
| void | setPolyLineMode (bool yn) |
| bool | createFromPolyLine () |
| void | setColor (Color) |
| bool | setZAxisTransform (ZAxisTransform *, TaskRunner *) |
| const ZAxisTransform * | getZAxisTransform () const |
| void | setDisplayTransformation (const mVisTrans *) |
| const mVisTrans * | getDisplayTransformation () const |
| virtual void | annotateNextUpdateStage (bool yn) |
| virtual void | setPixelDensity (float) |
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) |
| void | enableAttrib (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 |
| bool | canEnableTextureInterpolation () const |
| bool | canDisplayInteractively (Pos::GeomID geomid=-1) const |
Public Member Functions inherited from visBase::VisualObjectImpl | |
| bool | isRightHandSystem () const |
| void | setLockable () |
| void | readLock () |
| void | readUnLock () |
| bool | tryReadLock () |
| void | writeLock () |
| void | writeUnLock () |
| bool | tryWriteLock () |
| void | setMaterial (Material *) |
| const Material * | getMaterial () const |
| Material * | getMaterial () |
Public Member Functions inherited from visBase::VisualObject | |
| virtual bool | getBoundingBox (Coord3 &min, Coord3 &max) const |
| void | setSelectable (bool yn) |
| bool | selectable () const |
| NotifierAccess * | selection () |
| NotifierAccess * | deSelection () |
| virtual NotifierAccess * | rightClicked () |
| const EventInfo * | rightClickedEventInfo () const |
| const TypeSet< int > * | rightClickedPath () const |
Public Member Functions inherited from visBase::DataObject | |
| virtual const char * | getClassName () const |
| virtual bool | isOK () const |
| int | id () const |
| void | setID (int nid) |
| uiString | name () const |
| virtual void | setName (const uiString &) |
| osg::Node * | osgNode (bool skipswitch=false) |
| const osg::Node * | osgNode (bool skipswitch=false) const |
| void | enableTraversal (unsigned int mask, bool yn=true) |
| bool | isTraversalEnabled (unsigned int mask) const |
| 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 |
| 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 const char * | sKeyPanelDepthKey () |
| static const char * | sKeyPanelPlaneKey () |
| static const char * | sKeyPanelRotateKey () |
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 () |
Public Attributes | |
| Notifier< RandomTrackDisplay > | moving_ |
| Notifier< RandomTrackDisplay > | nodemoving_ |
| Notifier< RandomTrackDisplay > | poschanged_ |
Protected Member Functions | |
| ~RandomTrackDisplay () | |
| void | addNodeInternal (const BinID &) |
| void | insertNodeInternal (int, const BinID &) |
| void | removeNodeInternal (int) |
| void | movingNodeInternal (int selnodeidx) |
| void | finishNodeMoveInternal () |
| void | setNodePositions (const TypeSet< BinID > &, bool onlyinternal) |
| bool | getCacheValue (int attrib, int version, const Coord3 &, float &) const |
| Coord is in attribute space. More... | |
| void | addCache () |
| void | removeCache (int) |
| void | swapCache (int, int) |
| void | emptyCache (int) |
| bool | hasCache (int) const |
| void | getDataTraceBids (TypeSet< BinID > &, TypeSet< int > *segments) const |
| BinID | proposeNewPos (int node) const |
| bool | isMappingTraceOfBid (BinID bid, int trcidx, bool forward) const |
| void | updateTexOriginAndScale (int attrib, const TrcKeyPath &, const StepInterval< float > &zrg) |
| void | updateChannels (int attrib, TaskRunner *) |
| void | createTransformedDataPack (int attrib, TaskRunner *=0) |
| void | setNodePos (int, const BinID &, bool check) |
| BinID | snapPosition (const BinID &) const |
| bool | checkPosition (const BinID &) const |
| void | geomChangeCB (CallBacker *) |
| void | geomNodeMoveCB (CallBacker *) |
| void | nodeMoved (CallBacker *) |
| void | draggerRightClick (CallBacker *) |
| void | mouseCB (CallBacker *) |
| void | pickCB (CallBacker *) |
| bool | isPicking () const |
| bool | checkValidPick (const visBase::EventInfo &) const |
| void | addPickPos (const Coord3 &pos) |
| void | removePickPos (const Coord3 &) |
| void | removePickPos (int polyidx) |
| void | dataTransformCB (CallBacker *) |
| void | updateRanges (bool, bool) |
| void | updatePanelStripPath () |
| void | setPanelStripZRange (const Interval< float > &) |
| float | appliedZRangeStep () const |
| void | draggerMoveFinished (CallBacker *) |
| void | updateMouseCursorCB (CallBacker *) |
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 * | sKeyTrack () |
| static const char * | sKeyNrKnots () |
| static const char * | sKeyKnotPrefix () |
| static const char * | sKeyDepthInterval () |
| static const char * | sKeyLockGeometry () |
Static Protected Member Functions inherited from visSurvey::SurveyObject | |
| static int | cValNameOffset () |
Private Member Functions | |
| mODTextTranslationClass (RandomTrackDisplay) | |
Used for displaying a random or arbitrary line.
RandomTrackDisplay is the front-end class for displaying arbitrary lines. The complete line consists of separate sections connected at inline/crossline positions, called knots or nodes. Several functions are available for adding or inserting node positions. The depth range of the line can be changed by setDepthInterval(const Interval<float>&)
| visSurvey::RandomTrackDisplay::RandomTrackDisplay | ( | ) |
|
protected |
|
virtual |
Reimplemented from visSurvey::SurveyObject.
|
protectedvirtual |
Implements visSurvey::MultiTextureSurveyObject.
| void visSurvey::RandomTrackDisplay::addNode | ( | int | nodenr | ) |
If nodenr<nrNodes, a node is added before the nodenr. If nodenr==nrNodes, a node is added at the end.
| void visSurvey::RandomTrackDisplay::addNode | ( | const BinID & | ) |
|
protected |
|
protected |
|
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.
|
protected |
|
virtual |
Reimplemented from visSurvey::SurveyObject.
| bool visSurvey::RandomTrackDisplay::canAddNode | ( | int | nodenr | ) | const |
If nodenr<nrNodes the function Checks if a node can be added before the nodenr. If nodenr==nrNodes, it checks if a node can be added.
|
inlinevirtual |
Reimplemented from visSurvey::MultiTextureSurveyObject.
|
inlinevirtual |
Reimplemented from visSurvey::SurveyObject.
|
inlinevirtual |
Reimplemented from visSurvey::SurveyObject.
|
protected |
|
protected |
| bool visSurvey::RandomTrackDisplay::createFromPolyLine | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
virtual |
Reimplemented from visSurvey::SurveyObject.
|
protectedvirtual |
Implements visSurvey::MultiTextureSurveyObject.
|
inlinevirtual |
Reimplemented from visSurvey::MultiTextureSurveyObject.
|
virtual |
Reimplemented from visSurvey::MultiTextureSurveyObject.
|
protected |
|
protected |
|
protected |
|
virtual |
Reimplemented from visSurvey::SurveyObject.
|
protectedvirtual |
Coord is in attribute space.
Implements visSurvey::MultiTextureSurveyObject.
| int visSurvey::RandomTrackDisplay::getClosestPanelIdx | ( | const Coord & | , |
| double * | fracptr = 0 |
||
| ) | const |
|
virtual |
Reimplemented from visSurvey::SurveyObject.
|
inlinevirtual |
Reimplemented from visSurvey::SurveyObject.
Segment-based coding: inner nodes doubled.
Reimplemented from visSurvey::SurveyObject.
|
protected |
|
virtual |
Reimplemented from visSurvey::SurveyObject.
|
virtual |
Reimplemented from visSurvey::SurveyObject.
| Interval<float> visSurvey::RandomTrackDisplay::getDepthInterval | ( | ) | const |
|
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.
| BinID visSurvey::RandomTrackDisplay::getManipNodePos | ( | int | ) | const |
|
inlinevirtual |
Reimplemented from visSurvey::SurveyObject.
|
virtual |
Reimplemented from visSurvey::SurveyObject.
|
inlinevirtual |
Returns a mouse cursor that will be used if this object under the mouse in Act mode.
Reimplemented from visSurvey::SurveyObject.
|
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.
| BinID visSurvey::RandomTrackDisplay::getNodePos | ( | int | ) | const |
Position and Normal are both in displayspace.
Reimplemented from visSurvey::SurveyObject.
| Geometry::RandomLine* visSurvey::RandomTrackDisplay::getRandomLine | ( | ) |
| int visSurvey::RandomTrackDisplay::getRandomLineID | ( | ) | const |
|
virtual |
Reimplemented from visSurvey::SurveyObject.
|
inline |
knotidx>=0, panelidx<0
|
virtual |
If Coordinates are different from the trckeys, they can be delivered in the TypeSet<Coord>*
Reimplemented from visSurvey::SurveyObject.
|
inline |
BinID-based coding: inner nodes single.
|
virtual |
Reimplemented from visSurvey::SurveyObject.
|
virtual |
Reimplemented from visSurvey::SurveyObject.
|
protectedvirtual |
Implements visSurvey::MultiTextureSurveyObject.
|
inlinevirtual |
Reimplemented from visSurvey::SurveyObject.
| void visSurvey::RandomTrackDisplay::insertNode | ( | int | , |
| const BinID & | |||
| ) |
|
protected |
| bool visSurvey::RandomTrackDisplay::isGeometryLocked | ( | ) | const |
|
inlinevirtual |
Reimplemented from visSurvey::SurveyObject.
|
virtual |
Reimplemented from visSurvey::SurveyObject.
|
virtual |
Reimplemented from visSurvey::SurveyObject.
|
protected |
|
protectedvirtual |
Reimplemented from visSurvey::SurveyObject.
|
inlinevirtual |
Reimplemented from visSurvey::SurveyObject.
| void visSurvey::RandomTrackDisplay::lockGeometry | ( | bool | ) |
| visSurvey::RandomTrackDisplay::mDefaultFactoryInstantiation | ( | visSurvey::SurveyObject | , |
| RandomTrackDisplay | , | ||
| "RandomTrackDisplay" | , | ||
| toUiString(sFactoryKeyword()) | |||
| ) |
|
private |
|
protected |
|
protected |
|
protected |
| int visSurvey::RandomTrackDisplay::nrNodes | ( | ) | const |
|
inlinevirtual |
Implements visSurvey::MultiTextureSurveyObject.
|
protected |
|
inline |
|
protected |
| void visSurvey::RandomTrackDisplay::removeAllNodes | ( | ) |
|
protectedvirtual |
Implements visSurvey::MultiTextureSurveyObject.
| void visSurvey::RandomTrackDisplay::removeNode | ( | int | ) |
|
protected |
|
protected |
|
protected |
|
virtual |
Reimplemented from visSurvey::SurveyObject.
|
virtual |
Reimplemented from visSurvey::SurveyObject.
|
virtual |
Reimplemented from visSurvey::SurveyObject.
| void visSurvey::RandomTrackDisplay::setDepthInterval | ( | const Interval< float > & | ) |
| void visSurvey::RandomTrackDisplay::setDisplayTransformation | ( | const mVisTrans * | ) |
| void visSurvey::RandomTrackDisplay::setNodePos | ( | int | , |
| const BinID & | |||
| ) |
|
protected |
|
protected |
|
protected |
|
virtual |
Reimplemented from visBase::DataObject.
| void visSurvey::RandomTrackDisplay::setPolyLineMode | ( | bool | yn | ) |
| void visSurvey::RandomTrackDisplay::setProbe | ( | Probe * | ) |
|
virtual |
Implements visSurvey::MultiTextureSurveyObject.
|
virtual |
Sets whether the coordinate system is right or left handed.
Reimplemented from visBase::VisualObjectImpl.
|
virtual |
Reimplemented from visBase::VisualObject.
|
virtual |
Reimplemented from visSurvey::SurveyObject.
|
virtual |
Reimplemented from visSurvey::SurveyObject.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
staticprotected |
|
protectedvirtual |
Implements visSurvey::MultiTextureSurveyObject.
|
protected |
|
protectedvirtual |
Reimplemented from visSurvey::SurveyObject.
|
protected |
|
protected |
|
protected |
|
virtual |
Reimplemented from visSurvey::MultiTextureSurveyObject.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| Notifier<RandomTrackDisplay> visSurvey::RandomTrackDisplay::moving_ |
| Notifier<RandomTrackDisplay> visSurvey::RandomTrackDisplay::nodemoving_ |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| Notifier<RandomTrackDisplay> visSurvey::RandomTrackDisplay::poschanged_ |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017