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

Public Types

enum  Mode {
  Off =0 , On =1 , Override =2 , Protected =4 ,
  Inherit =8
}
 

Public Member Functions

 PolygonOffset ()
 
float getFactor () const
 
unsigned int getMode ()
 
float getUnits () const
 
osg::PolygonOffset * osgPolygonOffset ()
 
void setFactor (float)
 
void setMode (unsigned int)
 
void setUnits (float)
 
- Public Member Functions inherited from visBase::NodeState
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

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

Protected Attributes

unsigned int mode_
 
osg::PolygonOffset * offset_
 

Private Member Functions

void applyAttribute (osg::StateSet *, osg::StateAttribute *)
 

Additional Inherited Members

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

Detailed Description

Class that manipulates the zbuffer. See coin for details.

<>

Member Enumeration Documentation

◆ Mode

Enumerator
Off 
On 
Override 
Protected 
Inherit 

Constructor & Destructor Documentation

◆ PolygonOffset()

visBase::PolygonOffset::PolygonOffset ( )

◆ ~PolygonOffset()

visBase::PolygonOffset::~PolygonOffset ( )
protected

Member Function Documentation

◆ applyAttribute()

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

Reimplemented from visBase::NodeState.

◆ getFactor()

float visBase::PolygonOffset::getFactor ( ) const

◆ getMode()

unsigned int visBase::PolygonOffset::getMode ( )
inline

◆ getUnits()

float visBase::PolygonOffset::getUnits ( ) const

◆ osgPolygonOffset()

osg::PolygonOffset* visBase::PolygonOffset::osgPolygonOffset ( )
inline

◆ setFactor()

void visBase::PolygonOffset::setFactor ( float  )

◆ setMode()

void visBase::PolygonOffset::setMode ( unsigned int  )

coresponding to osg::StateAttributesvalue :GLMODE<OFF,ON,OVERRIDE,PROTECTED and INHERIT or their combination.

◆ setUnits()

void visBase::PolygonOffset::setUnits ( float  )

Member Data Documentation

◆ mode_

unsigned int visBase::PolygonOffset::mode_
protected

◆ offset_

osg::PolygonOffset* visBase::PolygonOffset::offset_
protected

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