OpendTect  6.6
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
visBase::DrawStyle Class Reference
Inheritance diagram for visBase::DrawStyle:
[legend]

Public Types

enum  Style { Filled , Lines , Points , Invisible }
 

Public Member Functions

 DrawStyle ()
 
Style getDrawStyle () const
 
osg::LineStipple * getLineStipple ()
 
float getPointSize () const
 
const OD::LineStylelineStyle () const
 
void setDrawStyle (Style)
 
void setLineStyle (const OD::LineStyle &)
 
void setLineWidth (int)
 
void setPixelDensity (float)
 
void setPointSize (float)
 
- Public Member Functions inherited from visBase::NodeState
void attachStateSet (osg::StateSet *)
 
void detachStateSet (osg::StateSet *)
 
- 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
 

Protected Member Functions

void updateLineStyle ()
 
- Protected Member Functions inherited from visBase::NodeState
 NodeState ()
 
template<class T >
T * addAttribute (T *a)
 
template<class T >
void removeAttribute (T *a)
 

Protected Attributes

osg::LineStipple * linestippleattrib_
 
OD::LineStyle linestyle_
 
osg::LineWidth * linewidthattrib_
 
float pixeldensity_
 
float pointsize_
 
osg::Point * pointsizeattrib_
 

Additional Inherited Members

- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Detailed Description

<>

Member Enumeration Documentation

◆ Style

Enumerator
Filled 
Lines 
Points 
Invisible 

Constructor & Destructor Documentation

◆ DrawStyle()

visBase::DrawStyle::DrawStyle ( )

Member Function Documentation

◆ getDrawStyle()

Style visBase::DrawStyle::getDrawStyle ( ) const

◆ getLineStipple()

osg::LineStipple* visBase::DrawStyle::getLineStipple ( )
inline

◆ getPointSize()

float visBase::DrawStyle::getPointSize ( ) const

◆ lineStyle()

const OD::LineStyle& visBase::DrawStyle::lineStyle ( ) const
inline

◆ setDrawStyle()

void visBase::DrawStyle::setDrawStyle ( Style  )

◆ setLineStyle()

void visBase::DrawStyle::setLineStyle ( const OD::LineStyle )

Color in Linestyle is ignored, must be set separately.

◆ setLineWidth()

void visBase::DrawStyle::setLineWidth ( int  )

◆ setPixelDensity()

void visBase::DrawStyle::setPixelDensity ( float  )
virtual

Reimplemented from visBase::NodeState.

◆ setPointSize()

void visBase::DrawStyle::setPointSize ( float  )

◆ updateLineStyle()

void visBase::DrawStyle::updateLineStyle ( )
protected

Member Data Documentation

◆ linestippleattrib_

osg::LineStipple* visBase::DrawStyle::linestippleattrib_
protected

◆ linestyle_

OD::LineStyle visBase::DrawStyle::linestyle_
protected

◆ linewidthattrib_

osg::LineWidth* visBase::DrawStyle::linewidthattrib_
protected

◆ pixeldensity_

float visBase::DrawStyle::pixeldensity_
protected

◆ pointsize_

float visBase::DrawStyle::pointsize_
protected

◆ pointsizeattrib_

osg::Point* visBase::DrawStyle::pointsizeattrib_
protected

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