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

Public Member Functions

void attachStateSet (osg::StateSet *)
 
void detachStateSet (osg::StateSet *)
 
virtual void setPixelDensity (float)
 
- 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

 NodeState ()
 
template<class T >
T * addAttribute (T *a)
 
template<class T >
void removeAttribute (T *a)
 

Private Member Functions

virtual void applyAttribute (osg::StateSet *, osg::StateAttribute *)
 
void doAdd (osg::StateAttribute *)
 
void doRemove (osg::StateAttribute *)
 

Private Attributes

ObjectSet< osg::StateAttribute > attributes_
 
ObjectSet< osg::StateSet > statesets_
 

Additional Inherited Members

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

Detailed Description

Baseclass for objects manipulating the osg::StateSet.

<>

Constructor & Destructor Documentation

◆ NodeState()

visBase::NodeState::NodeState ( )
protected

Member Function Documentation

◆ addAttribute()

template<class T >
T* visBase::NodeState::addAttribute ( T *  a)
inlineprotected

◆ applyAttribute()

virtual void visBase::NodeState::applyAttribute ( osg::StateSet *  ,
osg::StateAttribute *   
)
privatevirtual

Reimplemented in visBase::PolygonOffset, and visBase::Light.

◆ attachStateSet()

void visBase::NodeState::attachStateSet ( osg::StateSet *  )

◆ detachStateSet()

void visBase::NodeState::detachStateSet ( osg::StateSet *  )

◆ doAdd()

void visBase::NodeState::doAdd ( osg::StateAttribute *  )
private

◆ doRemove()

void visBase::NodeState::doRemove ( osg::StateAttribute *  )
private

◆ removeAttribute()

template<class T >
void visBase::NodeState::removeAttribute ( T *  a)
inlineprotected

◆ setPixelDensity()

virtual void visBase::NodeState::setPixelDensity ( float  )
inlinevirtual

Reimplemented in visBase::DrawStyle.

Member Data Documentation

◆ attributes_

ObjectSet<osg::StateAttribute> visBase::NodeState::attributes_
private

◆ statesets_

ObjectSet<osg::StateSet> visBase::NodeState::statesets_
private

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