OpendTect-6_4  6.4
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 ()
 
void setDrawStyle (Style)
 
Style getDrawStyle () const
 
void setPointSize (float)
 
float getPointSize () const
 
void setLineStyle (const OD::LineStyle &)
 
void setLineWidth (int)
 
const OD::LineStylelineStyle () const
 
void setPixelDensity (float)
 
osg::LineStipple * getLineStipple ()
 
- 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 (NotifierAccess &, const CallBack &, bool onlyifnew=false)
 
bool attachCB (NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false)
 
void detachCB (NotifierAccess &, const CallBack &)
 
void detachCB (NotifierAccess *notif, const CallBack &cb)
 
bool isNotifierAttached (NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 

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 Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

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

Detailed Description

Member Enumeration Documentation

Enumerator
Filled 
Lines 
Points 
Invisible 

Constructor & Destructor Documentation

visBase::DrawStyle::DrawStyle ( )

Member Function Documentation

Style visBase::DrawStyle::getDrawStyle ( ) const
osg::LineStipple* visBase::DrawStyle::getLineStipple ( )
inline
float visBase::DrawStyle::getPointSize ( ) const
const OD::LineStyle& visBase::DrawStyle::lineStyle ( ) const
inline
void visBase::DrawStyle::setDrawStyle ( Style  )
void visBase::DrawStyle::setLineStyle ( const OD::LineStyle )

Color in Linestyle is ignored, must be set separately.

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

Reimplemented from visBase::NodeState.

void visBase::DrawStyle::setPointSize ( float  )
void visBase::DrawStyle::updateLineStyle ( )
protected

Member Data Documentation

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

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