OpendTect  6.6
Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
visSurvey::Seis2DDisplay Class Reference

Used for displaying a 2D line. More...

Inheritance diagram for visSurvey::Seis2DDisplay:
[legend]

Classes

struct  TraceDisplayInfo
 
struct  UpdateStageInfo
 

Public Member Functions

 Seis2DDisplay ()
 
bool allowMaterialEdit () const
 
bool allowsPicks () const
 
virtual void annotateNextUpdateStage (bool yn)
 
float calcDist (const Coord3 &) const
 
bool canDuplicate () const
 
void clearTexture (int)
 
SurveyObjectduplicate (TaskRunner *) const
 
void enableAttrib (int attrib, bool yn)
 
void fillPar (IOPar &) const
 
Pol2D3D getAllowedDataType () const
 
virtual Color getAnnotColor () const
 
SurveyObject::AttribFormat getAttributeFormat (int attrib) const
 
Color getColor () const
 
Coord getCoord (int trcnr) const
 
DataPack::ID getDataPackID (int attrib) const
 
virtual DataPackMgr::ID getDataPackMgrID () const
 
Interval< float > getDataTraceRange () const
 
DataPack::ID getDisplayedDataPackID (int attrib) const
 
const mVisTrans * getDisplayTransformation () const
 
const PosInfo::Line2DDatagetGeometry () const
 
Pos::GeomID getGeomID () const
 
BufferString getLineName () const
 
void getLineSegmentProjection (const Coord3 pos1, const Coord3 pos2, TypeSet< Coord3 > &projectedcoords)
 
NotifierAccessgetManipulationNotifier ()
 
const StepInterval< int > & getMaxTraceNrRange () const
 
StepInterval< float > getMaxZRange (bool displayspace) const
 
void getMousePosInfo (const visBase::EventInfo &, Coord3 &, BufferString &, BufferString &) const
 
void getMousePosInfo (const visBase::EventInfo &, IOPar &) const
 
NotifierAccessgetMovementNotifier ()
 
MultiID getMultiID () const
 
float getNearestSegment (const Coord3 &pos, bool usemaxrange, int &trcnr1st, int &trcnr2nd, float &frac) const
 
Coord3 getNearestSubPos (const Coord3 &pos, bool usemaxrange) const
 
int getNearestTraceNr (const Coord3 &) const
 
virtual Coord3 getNormal (const Coord3 &c) const
 
Coord getNormal (int trcnr) const
 
void getObjectInfo (BufferString &) const
 
float getPixelDensity () const
 
visBase::TexturePanelStripgetTexturePanelStrip () const
 
void getTraceKeyPath (TrcKeyPath &, TypeSet< Coord > *) const
 
Interval< int > getTraceNrRange () const
 
TrcKeyZSampling getTrcKeyZSampling (bool displayspace, int attrib=-1) const
 
TrcKeyZSampling getTrcKeyZSampling (int attrib=-1) const
 
const visBase::Text2getVisTextLineName ()
 
const ZAxisTransformgetZAxisTransform () const
 
StepInterval< float > getZRange (bool displayspace, int att=-1) const
 
bool hasColor () const
 
bool hasSingleColorFallback () const
 
bool isLineNameShown () const
 
bool isPanelShown () const
 
bool isPolyLineShown () const
 
const OD::LineStylelineStyle () const
 
int nrResolutions () const
 
Coord3 projectOnNearestPanel (const Coord3 &pos, int *nearestpanelidx=0)
 
virtual void setAnnotColor (Color)
 
void setColor (Color)
 
bool setDataPackID (int attrib, DataPack::ID, TaskRunner *)
 
void setDisplayTransformation (const mVisTrans *)
 
void setGeometry (const PosInfo::Line2DData &)
 
void setGeomID (Pos::GeomID geomid)
 
void setLineStyle (const OD::LineStyle &)
 
void setPixelDensity (float)
 
void setResolution (int, TaskRunner *)
 
void setTraceNrRange (const Interval< int > &)
 
bool setZAxisTransform (ZAxisTransform *, TaskRunner *)
 
void setZRange (const StepInterval< float > &)
 
void showLineName (bool yn)
 
void showPanel (bool yn)
 
void showPolyLine (bool yn)
 
void snapToTracePos (Coord3 &) const
 
bool usePar (const IOPar &)
 
- Public Member Functions inherited from visSurvey::MultiTextureSurveyObject
bool addAttrib ()
 
virtual void allowShading (bool)
 
bool canAddAttrib (int nrattribstoadd=1) const
 
virtual bool canBDispOn2DViewer () const
 
bool canDisplayInteractively (Pos::GeomID geomid=-1) const
 
bool canEnableTextureInterpolation () const
 
bool canHaveMultipleAttribs () const
 
bool canHaveMultipleTextures () const
 
bool canRemoveAttrib () const
 
bool canSetColTabSequence () const
 
void clearTextures ()
 
void enableTextureInterpolation (bool)
 
const char * errMsg () const
 
unsigned char getAttribTransparency (int) const
 
visBase::TextureChannelsgetChannels () const
 
visBase::TextureChannel2RGBAgetChannels2RGBA ()
 
int getColTabID (int) const
 
const ColTab::MapperSetupgetColTabMapperSetup (int attrib, int version) const
 
const ColTab::MapperSetupgetColTabMapperSetup (int) const
 
const ColTab::SequencegetColTabSequence (int) const
 
const TypeSet< float > * getHistogram (int) const
 
int getResolution () const
 
const Attrib::SelSpecgetSelSpec (int attrib, int version=0) const
 
const TypeSet< Attrib::SelSpec > * getSelSpecs (int attrib) const
 
bool isAngle (int attrib) const
 
bool isAttribEnabled (int attrib) const
 
bool isOn () const
 
bool isShown () const
 
int nrAttribs () const
 
int nrTextures (int attrib) const
 
bool removeAttrib (int attrib)
 
int selectedTexture (int attrib) const
 
void selectTexture (int attrib, int texture)
 
void setAngleFlag (int attrib, bool yn)
 
void setAttribTransparency (int, unsigned char)
 
bool setChannels2RGBA (visBase::TextureChannel2RGBA *)
 
void setColTabMapperSetup (int, const ColTab::MapperSetup &, TaskRunner *)
 
void setColTabSequence (int, const ColTab::Sequence &, TaskRunner *)
 
void setSelSpec (int, const Attrib::SelSpec &)
 
void setSelSpecs (int attrib, const TypeSet< Attrib::SelSpec > &)
 
bool swapAttribs (int attrib0, int attrib1)
 
bool textureInterpolationEnabled () const
 
bool turnOn (bool yn)
 
- Public Member Functions inherited from visBase::VisualObjectImpl
MaterialgetMaterial ()
 
const MaterialgetMaterial () const
 
bool isRightHandSystem () const
 
void readLock ()
 
void readUnLock ()
 
void setLockable ()
 
void setMaterial (Material *)
 
void setRightHandSystem (bool yn)
 
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 ()
 
virtual void setSceneEventCatcher (EventCatcher *)
 
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)
 
int id () const
 
virtual bool isOK () 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)
 
void setUiName (const uiString &)
 
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 alreadyTransformed (int attrib) const
 
virtual bool canBeRemoved () const
 
virtual bool canHandleColTabSeqTrans (int) const
 
virtual bool canRemoveSelection () const
 
virtual bool canResetManipulation () const
 
virtual void clearSelections ()
 
virtual bool displayedOnlyAtSections () const
 
void doRef ()
 
void doUnRef ()
 
virtual void enableEditor (bool yn)
 
const Survey::Geometry3Dget3DSurvGeom () const
 
virtual const char * get3DSurvGeomName () const
 
Color getBackgroundColor () const
 
virtual const RegularSeisDataPackgetCacheVolume (int attr) const
 
void getChannelName (int, uiString &) const
 
const visBase::TextureChannel2RGBAgetChannels2RGBA () const
 
virtual void getChildren (TypeSet< int > &) const
 
virtual void getDataTraceBids (TypeSet< BinID > &) const
 
virtual void getLineWidthBounds (int &min, int &max)
 
virtual NotifierAccessgetLockNotifier ()
 
virtual BufferString getManipulationString () const
 
virtual const MouseCursorgetMouseCursor () const
 
virtual void getPickingMessage (BufferString &msg) const
 
virtual void getRandomPos (DataPointSet &, TaskRunner *) const
 
virtual void getRandomPosCache (int attrib, DataPointSet &) const
 
virtual BufferString getResolutionName (int) const
 
bool getSaveInSessionsFlag () const
 
virtual ScenegetScene ()
 
virtual const ScenegetScene () const
 
virtual int getSceneID () const
 
virtual Coord3 getTranslation () const
 
int getUpdateStageNr () const
 
virtual bool hasPosModeManipulator () const
 
virtual bool hasSpecificLineColor () const
 
bool isAnyAttribEnabled () const
 
virtual bool isInlCrl () const
 
virtual bool isLocked () const
 
virtual bool isManipulated () const
 
virtual bool isManipulatorShown () const
 
virtual bool isPicking () const
 
virtual bool isVerticalPlane () const
 
virtual void lock (bool yn)
 
virtual float maxDist () const
 
virtual void otherObjectsMoved (const ObjectSet< const SurveyObject > &, int whichobj)
 
virtual void readAuxData ()
 
virtual bool removeSelections (TaskRunner *)
 
virtual void resetManipulation ()
 
virtual void set3DSurvGeom (const Survey::Geometry3D *)
 
virtual bool setDataVolume (int attrib, const RegularSeisDataPack *, TaskRunner *)
 
virtual void setOnlyAtSectionsDisplay (bool)
 
virtual void setRandomPosData (int attrib, const DataPointSet *, TaskRunner *)
 
void setSaveInSessionsFlag (bool yn)
 
virtual void setScene (Scene *scn)
 
virtual void setTranslation (const Coord3 &)
 
void setUserRefs (int attrib, BufferStringSet *nms)
 
virtual void showManipulator (bool yn)
 
virtual void turnOnSelectionMode (bool)
 
virtual void updateMouseCursorCB (CallBacker *)
 
virtual bool usesColor () const
 

Static Public Member Functions

static Seis2DDisplaygetSeis2DDisplay (const MultiID &, const char *)
 
static Seis2DDisplaygetSeis2DDisplay (Pos::GeomID)
 
- 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

 ~Seis2DDisplay ()
 
virtual void addCache ()
 
void createTransformedDataPack (int attrib, TaskRunner *=0)
 
void dataTransformCB (CallBacker *)
 
void emptyCache (int)
 
bool getCacheValue (int attrib, int version, const Coord3 &, float &) const
 Coord is in attribute space. More...
 
bool getNearestTrace (const Coord3 &, int &idx, float &sqdist) const
 
const Interval< int > getSampleRange () const
 
bool hasCache (int) const
 
void removeCache (int)
 
void swapCache (int, int)
 
void updateChannels (int attrib, TaskRunner *)
 
void updateLineNamePos ()
 
void updatePanelStripPath ()
 
void updatePanelStripZRange ()
 
void updateRanges (bool trc, bool z)
 
void updateTexOriginAndScale (int attrib, const TrcKeyZSampling &)
 
- Protected Member Functions inherited from visSurvey::MultiTextureSurveyObject
 MultiTextureSurveyObject ()
 
 ~MultiTextureSurveyObject ()
 
void getValueString (const Coord3 &, BufferString &) const
 Coord is in ztransformed space. More...
 
virtual bool init ()
 
void updateMainSwitch ()
 
- 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 triggerDeSel ()
 
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 &)
 

Static Protected Member Functions

static const char * sKeyLineSetID ()
 
static const char * sKeyShowLineName ()
 
static const char * sKeyShowPanel ()
 
static const char * sKeyShowPolyLine ()
 
static const char * sKeyTextureID ()
 
static const char * sKeyTrcNrRange ()
 
static const char * sKeyZRange ()
 
- Static Protected Member Functions inherited from visSurvey::SurveyObject
static int cValNameOffset ()
 

Protected Attributes

TypeSet< DataPack::IDdatapackids_
 
MultiID datasetid_
 
ZAxisTransformdatatransform_
 
Notifier< Seis2DDisplaygeomchanged_
 
PosInfo::Line2DDatageometry_
 
Pos::GeomID geomid_
 
Notifier< Seis2DDisplaygeomidchanged_
 
visBase::Text2linename_
 
StepInterval< int > maxtrcnrrg_
 
visBase::TexturePanelStrippanelstrip_
 
float pixeldensity_
 
visBase::PolyLinepolyline_
 
visBase::DrawStylepolylineds_
 
int prevtrcidx_
 
TypeSet< DataPack::IDtransfdatapackids_
 
const mVisTrans * transformation_
 
TraceDisplayInfo trcdisplayinfo_
 
UpdateStageInfo updatestageinfo_
 
int voiidx_
 
- Protected Attributes inherited from visSurvey::MultiTextureSurveyObject
visBase::TextureChannelschannels_
 
int resolution_
 
- 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
}
 

Detailed Description

Used for displaying a 2D line.

<>

Constructor & Destructor Documentation

◆ Seis2DDisplay()

visSurvey::Seis2DDisplay::Seis2DDisplay ( )

◆ ~Seis2DDisplay()

visSurvey::Seis2DDisplay::~Seis2DDisplay ( )
protected

Member Function Documentation

◆ addCache()

virtual void visSurvey::Seis2DDisplay::addCache ( )
protectedvirtual

◆ allowMaterialEdit()

bool visSurvey::Seis2DDisplay::allowMaterialEdit ( ) const
inlinevirtual

Reimplemented from visSurvey::SurveyObject.

◆ allowsPicks()

bool visSurvey::Seis2DDisplay::allowsPicks ( ) const
inlinevirtual

Reimplemented from visSurvey::SurveyObject.

◆ annotateNextUpdateStage()

virtual void visSurvey::Seis2DDisplay::annotateNextUpdateStage ( bool  yn)
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.

◆ calcDist()

float visSurvey::Seis2DDisplay::calcDist ( const Coord3 ) const
virtual

Reimplemented from visSurvey::SurveyObject.

◆ canDuplicate()

bool visSurvey::Seis2DDisplay::canDuplicate ( ) const
inlinevirtual

Reimplemented from visSurvey::SurveyObject.

◆ clearTexture()

void visSurvey::Seis2DDisplay::clearTexture ( int  )

◆ createTransformedDataPack()

void visSurvey::Seis2DDisplay::createTransformedDataPack ( int  attrib,
TaskRunner = 0 
)
protected

◆ dataTransformCB()

void visSurvey::Seis2DDisplay::dataTransformCB ( CallBacker )
protected

◆ duplicate()

SurveyObject* visSurvey::Seis2DDisplay::duplicate ( TaskRunner ) const
virtual

Reimplemented from visSurvey::SurveyObject.

◆ emptyCache()

void visSurvey::Seis2DDisplay::emptyCache ( int  )
protectedvirtual

◆ enableAttrib()

void visSurvey::Seis2DDisplay::enableAttrib ( int  attrib,
bool  yn 
)
virtual

◆ fillPar()

void visSurvey::Seis2DDisplay::fillPar ( IOPar ) const
virtual

◆ getAllowedDataType()

Pol2D3D visSurvey::Seis2DDisplay::getAllowedDataType ( ) const
inlinevirtual

Reimplemented from visSurvey::SurveyObject.

◆ getAnnotColor()

virtual Color visSurvey::Seis2DDisplay::getAnnotColor ( ) const
virtual

Reimplemented from visSurvey::SurveyObject.

◆ getAttributeFormat()

SurveyObject::AttribFormat visSurvey::Seis2DDisplay::getAttributeFormat ( int  attrib) const
virtual

Reimplemented from visSurvey::SurveyObject.

◆ getCacheValue()

bool visSurvey::Seis2DDisplay::getCacheValue ( int  attrib,
int  version,
const Coord3 ,
float &   
) const
protectedvirtual

Coord is in attribute space.

Implements visSurvey::MultiTextureSurveyObject.

◆ getColor()

Color visSurvey::Seis2DDisplay::getColor ( ) const
virtual

Reimplemented from visSurvey::SurveyObject.

◆ getCoord()

Coord visSurvey::Seis2DDisplay::getCoord ( int  trcnr) const

◆ getDataPackID()

DataPack::ID visSurvey::Seis2DDisplay::getDataPackID ( int  attrib) const
virtual

Reimplemented from visSurvey::SurveyObject.

◆ getDataPackMgrID()

virtual DataPackMgr::ID visSurvey::Seis2DDisplay::getDataPackMgrID ( ) const
inlinevirtual

Reimplemented from visSurvey::SurveyObject.

◆ getDataTraceRange()

Interval<float> visSurvey::Seis2DDisplay::getDataTraceRange ( ) const
virtual

Reimplemented from visSurvey::SurveyObject.

◆ getDisplayedDataPackID()

DataPack::ID visSurvey::Seis2DDisplay::getDisplayedDataPackID ( int  attrib) const
virtual

Reimplemented from visSurvey::SurveyObject.

◆ getDisplayTransformation()

const mVisTrans* visSurvey::Seis2DDisplay::getDisplayTransformation ( ) const
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.

◆ getGeometry()

const PosInfo::Line2DData& visSurvey::Seis2DDisplay::getGeometry ( ) const
inline

◆ getGeomID()

Pos::GeomID visSurvey::Seis2DDisplay::getGeomID ( ) const
inlinevirtual

Reimplemented from visSurvey::SurveyObject.

◆ getLineName()

BufferString visSurvey::Seis2DDisplay::getLineName ( ) const

◆ getLineSegmentProjection()

void visSurvey::Seis2DDisplay::getLineSegmentProjection ( const Coord3  pos1,
const Coord3  pos2,
TypeSet< Coord3 > &  projectedcoords 
)

◆ getManipulationNotifier()

NotifierAccess* visSurvey::Seis2DDisplay::getManipulationNotifier ( )
inlinevirtual

Reimplemented from visSurvey::SurveyObject.

◆ getMaxTraceNrRange()

const StepInterval<int>& visSurvey::Seis2DDisplay::getMaxTraceNrRange ( ) const

◆ getMaxZRange()

StepInterval<float> visSurvey::Seis2DDisplay::getMaxZRange ( bool  displayspace) const

◆ getMousePosInfo() [1/2]

void visSurvey::Seis2DDisplay::getMousePosInfo ( const visBase::EventInfo ,
Coord3 ,
BufferString ,
BufferString  
) const
virtual

Reimplemented from visSurvey::SurveyObject.

◆ getMousePosInfo() [2/2]

void visSurvey::Seis2DDisplay::getMousePosInfo ( const visBase::EventInfo ,
IOPar  
) const
virtual

Reimplemented from visSurvey::SurveyObject.

◆ getMovementNotifier()

NotifierAccess* visSurvey::Seis2DDisplay::getMovementNotifier ( )
inlinevirtual

Gives access to a notifier that is triggered when object is moved or modified.

Reimplemented from visSurvey::SurveyObject.

◆ getMultiID()

MultiID visSurvey::Seis2DDisplay::getMultiID ( ) const
inlinevirtual

Reimplemented from visSurvey::SurveyObject.

◆ getNearestSegment()

float visSurvey::Seis2DDisplay::getNearestSegment ( const Coord3 pos,
bool  usemaxrange,
int &  trcnr1st,
int &  trcnr2nd,
float &  frac 
) const

◆ getNearestSubPos()

Coord3 visSurvey::Seis2DDisplay::getNearestSubPos ( const Coord3 pos,
bool  usemaxrange 
) const

◆ getNearestTrace()

bool visSurvey::Seis2DDisplay::getNearestTrace ( const Coord3 ,
int &  idx,
float &  sqdist 
) const
protected

◆ getNearestTraceNr()

int visSurvey::Seis2DDisplay::getNearestTraceNr ( const Coord3 ) const

◆ getNormal() [1/2]

virtual Coord3 visSurvey::Seis2DDisplay::getNormal ( const Coord3 pos) const
inlinevirtual

Position and Normal are both in displayspace.

Reimplemented from visSurvey::SurveyObject.

◆ getNormal() [2/2]

Coord visSurvey::Seis2DDisplay::getNormal ( int  trcnr) const

◆ getObjectInfo()

void visSurvey::Seis2DDisplay::getObjectInfo ( BufferString ) const
virtual

Reimplemented from visSurvey::SurveyObject.

◆ getPixelDensity()

float visSurvey::Seis2DDisplay::getPixelDensity ( ) const
inlinevirtual

Reimplemented from visBase::DataObject.

◆ getSampleRange()

const Interval<int> visSurvey::Seis2DDisplay::getSampleRange ( ) const
protected

◆ getSeis2DDisplay() [1/2]

static Seis2DDisplay* visSurvey::Seis2DDisplay::getSeis2DDisplay ( const MultiID ,
const char *   
)
static

◆ getSeis2DDisplay() [2/2]

static Seis2DDisplay* visSurvey::Seis2DDisplay::getSeis2DDisplay ( Pos::GeomID  )
static

◆ getTexturePanelStrip()

visBase::TexturePanelStrip* visSurvey::Seis2DDisplay::getTexturePanelStrip ( ) const
inline

◆ getTraceKeyPath()

void visSurvey::Seis2DDisplay::getTraceKeyPath ( TrcKeyPath ,
TypeSet< Coord > *   
) const
virtual

If Coordinates are different from the trckeys, they can be delivered in the TypeSet<Coord>*

Reimplemented from visSurvey::SurveyObject.

◆ getTraceNrRange()

Interval<int> visSurvey::Seis2DDisplay::getTraceNrRange ( ) const

◆ getTrcKeyZSampling() [1/2]

TrcKeyZSampling visSurvey::Seis2DDisplay::getTrcKeyZSampling ( bool  displayspace,
int  attrib = -1 
) const

◆ getTrcKeyZSampling() [2/2]

TrcKeyZSampling visSurvey::Seis2DDisplay::getTrcKeyZSampling ( int  attrib = -1) const
inlinevirtual
Returns
the volume in world survey coordinates.

Reimplemented from visSurvey::SurveyObject.

◆ getVisTextLineName()

const visBase::Text2* visSurvey::Seis2DDisplay::getVisTextLineName ( )
inline

◆ getZAxisTransform()

const ZAxisTransform* visSurvey::Seis2DDisplay::getZAxisTransform ( ) const
virtual

Reimplemented from visSurvey::SurveyObject.

◆ getZRange()

StepInterval<float> visSurvey::Seis2DDisplay::getZRange ( bool  displayspace,
int  att = -1 
) const

◆ hasCache()

bool visSurvey::Seis2DDisplay::hasCache ( int  ) const
protectedvirtual

◆ hasColor()

bool visSurvey::Seis2DDisplay::hasColor ( ) const
inlinevirtual

Reimplemented from visSurvey::SurveyObject.

◆ hasSingleColorFallback()

bool visSurvey::Seis2DDisplay::hasSingleColorFallback ( ) const
inlinevirtual

Reimplemented from visSurvey::SurveyObject.

◆ isLineNameShown()

bool visSurvey::Seis2DDisplay::isLineNameShown ( ) const

◆ isPanelShown()

bool visSurvey::Seis2DDisplay::isPanelShown ( ) const

◆ isPolyLineShown()

bool visSurvey::Seis2DDisplay::isPolyLineShown ( ) const

◆ lineStyle()

const OD::LineStyle* visSurvey::Seis2DDisplay::lineStyle ( ) const
virtual
Note
Modification of color should be done with setMaterial on visBase::VisualObject If the linestyle can be set, a non-zero pointer should be return.

Reimplemented from visSurvey::SurveyObject.

◆ nrResolutions()

int visSurvey::Seis2DDisplay::nrResolutions ( ) const
virtual

◆ projectOnNearestPanel()

Coord3 visSurvey::Seis2DDisplay::projectOnNearestPanel ( const Coord3 pos,
int *  nearestpanelidx = 0 
)

◆ removeCache()

void visSurvey::Seis2DDisplay::removeCache ( int  )
protectedvirtual

◆ setAnnotColor()

virtual void visSurvey::Seis2DDisplay::setAnnotColor ( Color  )
virtual

Reimplemented from visSurvey::SurveyObject.

◆ setColor()

void visSurvey::Seis2DDisplay::setColor ( Color  )
virtual

Reimplemented from visSurvey::SurveyObject.

◆ setDataPackID()

bool visSurvey::Seis2DDisplay::setDataPackID ( int  attrib,
DataPack::ID  ,
TaskRunner  
)
virtual

Reimplemented from visSurvey::SurveyObject.

◆ setDisplayTransformation()

void visSurvey::Seis2DDisplay::setDisplayTransformation ( const mVisTrans *  )

◆ setGeometry()

void visSurvey::Seis2DDisplay::setGeometry ( const PosInfo::Line2DData )

◆ setGeomID()

void visSurvey::Seis2DDisplay::setGeomID ( Pos::GeomID  geomid)

◆ setLineStyle()

void visSurvey::Seis2DDisplay::setLineStyle ( const OD::LineStyle )
virtual

Reimplemented from visSurvey::SurveyObject.

◆ setPixelDensity()

void visSurvey::Seis2DDisplay::setPixelDensity ( float  )
virtual

Reimplemented from visBase::DataObject.

◆ setResolution()

void visSurvey::Seis2DDisplay::setResolution ( int  ,
TaskRunner  
)
virtual

◆ setTraceNrRange()

void visSurvey::Seis2DDisplay::setTraceNrRange ( const Interval< int > &  )

◆ setZAxisTransform()

bool visSurvey::Seis2DDisplay::setZAxisTransform ( ZAxisTransform ,
TaskRunner  
)
virtual

Reimplemented from visSurvey::SurveyObject.

◆ setZRange()

void visSurvey::Seis2DDisplay::setZRange ( const StepInterval< float > &  )

◆ showLineName()

void visSurvey::Seis2DDisplay::showLineName ( bool  yn)

◆ showPanel()

void visSurvey::Seis2DDisplay::showPanel ( bool  yn)

◆ showPolyLine()

void visSurvey::Seis2DDisplay::showPolyLine ( bool  yn)

◆ sKeyLineSetID()

static const char* visSurvey::Seis2DDisplay::sKeyLineSetID ( )
staticprotected

◆ sKeyShowLineName()

static const char* visSurvey::Seis2DDisplay::sKeyShowLineName ( )
staticprotected

◆ sKeyShowPanel()

static const char* visSurvey::Seis2DDisplay::sKeyShowPanel ( )
staticprotected

◆ sKeyShowPolyLine()

static const char* visSurvey::Seis2DDisplay::sKeyShowPolyLine ( )
staticprotected

◆ sKeyTextureID()

static const char* visSurvey::Seis2DDisplay::sKeyTextureID ( )
staticprotected

◆ sKeyTrcNrRange()

static const char* visSurvey::Seis2DDisplay::sKeyTrcNrRange ( )
staticprotected

◆ sKeyZRange()

static const char* visSurvey::Seis2DDisplay::sKeyZRange ( )
staticprotected

◆ snapToTracePos()

void visSurvey::Seis2DDisplay::snapToTracePos ( Coord3 ) const
virtual

Reimplemented from visSurvey::SurveyObject.

◆ swapCache()

void visSurvey::Seis2DDisplay::swapCache ( int  ,
int   
)
protectedvirtual

◆ updateChannels()

void visSurvey::Seis2DDisplay::updateChannels ( int  attrib,
TaskRunner  
)
protected

◆ updateLineNamePos()

void visSurvey::Seis2DDisplay::updateLineNamePos ( )
protected

◆ updatePanelStripPath()

void visSurvey::Seis2DDisplay::updatePanelStripPath ( )
protected

Sets the coordinates to the path in geometry_, limited by current trcnrrg_. Will also update texture coordinates.

◆ updatePanelStripZRange()

void visSurvey::Seis2DDisplay::updatePanelStripZRange ( )
protected

◆ updateRanges()

void visSurvey::Seis2DDisplay::updateRanges ( bool  trc,
bool  z 
)
protected

◆ updateTexOriginAndScale()

void visSurvey::Seis2DDisplay::updateTexOriginAndScale ( int  attrib,
const TrcKeyZSampling  
)
protected

◆ usePar()

bool visSurvey::Seis2DDisplay::usePar ( const IOPar )
virtual

Member Data Documentation

◆ datapackids_

TypeSet<DataPack::ID> visSurvey::Seis2DDisplay::datapackids_
protected

◆ datasetid_

MultiID visSurvey::Seis2DDisplay::datasetid_
protected

◆ datatransform_

ZAxisTransform* visSurvey::Seis2DDisplay::datatransform_
protected

◆ geomchanged_

Notifier<Seis2DDisplay> visSurvey::Seis2DDisplay::geomchanged_
protected

◆ geometry_

PosInfo::Line2DData& visSurvey::Seis2DDisplay::geometry_
protected

◆ geomid_

Pos::GeomID visSurvey::Seis2DDisplay::geomid_
protected

◆ geomidchanged_

Notifier<Seis2DDisplay> visSurvey::Seis2DDisplay::geomidchanged_
protected

◆ linename_

visBase::Text2* visSurvey::Seis2DDisplay::linename_
protected

◆ maxtrcnrrg_

StepInterval<int> visSurvey::Seis2DDisplay::maxtrcnrrg_
protected

◆ panelstrip_

visBase::TexturePanelStrip* visSurvey::Seis2DDisplay::panelstrip_
protected

◆ pixeldensity_

float visSurvey::Seis2DDisplay::pixeldensity_
protected

◆ polyline_

visBase::PolyLine* visSurvey::Seis2DDisplay::polyline_
protected

◆ polylineds_

visBase::DrawStyle* visSurvey::Seis2DDisplay::polylineds_
protected

◆ prevtrcidx_

int visSurvey::Seis2DDisplay::prevtrcidx_
mutableprotected

◆ transfdatapackids_

TypeSet<DataPack::ID> visSurvey::Seis2DDisplay::transfdatapackids_
protected

◆ transformation_

const mVisTrans* visSurvey::Seis2DDisplay::transformation_
protected

◆ trcdisplayinfo_

TraceDisplayInfo visSurvey::Seis2DDisplay::trcdisplayinfo_
protected

◆ updatestageinfo_

UpdateStageInfo visSurvey::Seis2DDisplay::updatestageinfo_
protected

◆ voiidx_

int visSurvey::Seis2DDisplay::voiidx_
protected

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