OpendTect  6.3
Public Member Functions | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
visSurvey::PolyLineDisplay Class Reference
Inheritance diagram for visSurvey::PolyLineDisplay:
[legend]

Public Member Functions

 PolyLineDisplay ()
 
 mDefaultFactoryInstantiation (visSurvey::SurveyObject, PolyLineDisplay,"PolyLineDisplay", toUiString(sFactoryKeyword()))
 
void fillPolyLine (const TypeSet< Coord > &)
 
void fillPolyLine (const Coord3 &)
 
void setDisplayTransformation (const mVisTrans *)
 
const mVisTransgetDisplayTransformation () const
 
const uiStringerrMsg () const
 
virtual void setPixelDensity (float)
 
- 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
 
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
 
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 (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
 

Protected Member Functions

 ~PolyLineDisplay ()
 
- 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 &)
 

Protected Attributes

visBase::PolyLinepolyline_
 
- Protected Attributes inherited from visBase::VisualObjectImpl
Materialmaterial_
 
bool righthandsystem_
 
- Protected Attributes inherited from visBase::DataObject
DataObjectGroupparent_
 
- Protected Attributes inherited from visSurvey::SurveyObject
uiString errmsg_
 
Scenescene_
 
int updatestagenr_
 
bool locked_
 
ObjectSet< BufferStringSetuserrefs_
 
const Survey::Geometry3Ds3dgeom_
 
BufferString survname_
 
bool saveinsessionsflag_
 

Private Member Functions

 mODTextTranslationClass (PolyLineDisplay)
 

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 (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 NotifierAccessglInfoAvailable ()
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 
- Static Protected Member Functions inherited from visSurvey::SurveyObject
static int cValNameOffset ()
 

Detailed Description

Constructor & Destructor Documentation

visSurvey::PolyLineDisplay::PolyLineDisplay ( )
visSurvey::PolyLineDisplay::~PolyLineDisplay ( )
protected

Member Function Documentation

const uiString& visSurvey::PolyLineDisplay::errMsg ( ) const
inlinevirtual

Reimplemented from visBase::DataObject.

void visSurvey::PolyLineDisplay::fillPolyLine ( const TypeSet< Coord > &  )
void visSurvey::PolyLineDisplay::fillPolyLine ( const Coord3 )
const mVisTrans* visSurvey::PolyLineDisplay::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.

visSurvey::PolyLineDisplay::mDefaultFactoryInstantiation ( visSurvey::SurveyObject  ,
PolyLineDisplay  ,
"PolyLineDisplay"  ,
toUiString(sFactoryKeyword())   
)
visSurvey::PolyLineDisplay::mODTextTranslationClass ( PolyLineDisplay  )
private
void visSurvey::PolyLineDisplay::setDisplayTransformation ( const mVisTrans )
virtual void visSurvey::PolyLineDisplay::setPixelDensity ( float  )
virtual

Reimplemented from visBase::DataObject.

Member Data Documentation

visBase::PolyLine* visSurvey::PolyLineDisplay::polyline_
protected

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