OpendTect-6_4  6.4
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 ()
 
void setFactor (float)
 
float getFactor () const
 
void setUnits (float)
 
float getUnits () const
 
void setMode (unsigned int)
 
osg::PolygonOffset * osgPolygonOffset ()
 
unsigned int getMode ()
 
- 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 (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

 ~PolygonOffset ()
 
- 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

osg::PolygonOffset * offset_
 
unsigned int mode_
 

Private Member Functions

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

Detailed Description

Class that manipulates the zbuffer. See coin for details.

Member Enumeration Documentation

Enumerator
Off 
On 
Override 
Protected 
Inherit 

Constructor & Destructor Documentation

visBase::PolygonOffset::PolygonOffset ( )
visBase::PolygonOffset::~PolygonOffset ( )
protected

Member Function Documentation

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

Reimplemented from visBase::NodeState.

float visBase::PolygonOffset::getFactor ( ) const
unsigned int visBase::PolygonOffset::getMode ( )
inline
float visBase::PolygonOffset::getUnits ( ) const
osg::PolygonOffset* visBase::PolygonOffset::osgPolygonOffset ( )
inline
void visBase::PolygonOffset::setFactor ( float  )
void visBase::PolygonOffset::setMode ( unsigned  int)

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

void visBase::PolygonOffset::setUnits ( float  )

Member Data Documentation

unsigned int visBase::PolygonOffset::mode_
protected
osg::PolygonOffset* visBase::PolygonOffset::offset_
protected

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