OpendTect-6_4  6.4
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 (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

 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...
 

Private Member Functions

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

Private Attributes

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

Detailed Description

Baseclass for objects manipulating the osg::StateSet.

Constructor & Destructor Documentation

visBase::NodeState::NodeState ( )
protected

Member Function Documentation

template<class T >
T* visBase::NodeState::addAttribute ( T *  a)
inlineprotected
virtual void visBase::NodeState::applyAttribute ( osg::StateSet *  ,
osg::StateAttribute *   
)
privatevirtual

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

void visBase::NodeState::attachStateSet ( osg::StateSet *  )
void visBase::NodeState::detachStateSet ( osg::StateSet *  )
void visBase::NodeState::doAdd ( osg::StateAttribute *  )
private
void visBase::NodeState::doRemove ( osg::StateAttribute *  )
private
visBase::NodeState::mRefCountImpl ( NodeState  )
private
template<class T >
void visBase::NodeState::removeAttribute ( T *  a)
inlineprotected
virtual void visBase::NodeState::setPixelDensity ( float  )
inlinevirtual

Reimplemented in visBase::DrawStyle.

Member Data Documentation

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

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