OpendTect
7.0
|
Public Types | |
enum | Mode { Off =0 , On =1 , Override =2 , Protected =4 , Inherit =8 } |
Public Types inherited from ObjectWithName | |
typedef OD::String | name_type |
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 SharedObject | |
SharedObject (const char *nm=nullptr) | |
SharedObject (const SharedObject &) | |
Public Member Functions inherited from NamedCallBacker | |
NamedCallBacker (const char *nm=0) | |
NamedCallBacker (const NamedCallBacker &) | |
virtual Notifier< NamedCallBacker > & | objectToBeDeleted () const |
bool | operator== (const NamedCallBacker &oth) const |
bool | operator== (const NamedObject &oth) const |
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 |
virtual CallBacker * | trueCaller () |
Public Member Functions inherited from NamedObject | |
NamedObject (const char *nm=nullptr) | |
NamedObject (const NamedObject &oth) | |
virtual | ~NamedObject () |
virtual BufferString | getName () const |
bool | getNameFromPar (const IOPar &) |
const name_type & | name () const override |
NamedObject & | operator= (const NamedObject &) |
bool | operator== (const NamedObject &oth) const |
virtual void | setName (const char *nm) |
Public Member Functions inherited from ObjectWithName | |
virtual | ~ObjectWithName () |
bool | hasName (const char *nm) const |
bool | hasName (const name_type &nm) const |
void | putNameInPar (IOPar &) const |
Public Member Functions inherited from RefCount::Referenced | |
void | addObserver (WeakPtrBase *obs) |
Not for normal use. May become private. More... | |
int | nrRefs () const |
Only for expert use. More... | |
void | ref () const |
bool | refIfReffed () const |
Don't use in production, for debugging. More... | |
void | removeObserver (WeakPtrBase *obs) |
Not for normal use. May become private. More... | |
bool | tryRef () const |
Not for normal use. May become private. More... | |
void | unRef () const |
void | unRefNoDelete () const |
Protected Member Functions | |
~PolygonOffset () | |
Protected Member Functions inherited from visBase::NodeState | |
NodeState () | |
virtual | ~NodeState () |
template<class T > | |
T * | addAttribute (T *a) |
template<class T > | |
void | removeAttribute (T *a) |
Protected Member Functions inherited from SharedObject | |
virtual | ~SharedObject () |
Protected Member Functions inherited from NamedCallBacker | |
void | sendDelNotif () const |
Protected Member Functions inherited from RefCount::Referenced | |
Referenced () | |
Referenced (const Referenced &) | |
virtual | ~Referenced () |
Referenced & | operator= (const Referenced &) |
Protected Attributes | |
unsigned int | mode_ |
osg::PolygonOffset * | offset_ |
Protected Attributes inherited from NamedCallBacker | |
Threads::Atomic< bool > | delalreadytriggered_ |
Notifier< NamedCallBacker > | delnotif_ |
Protected Attributes inherited from NamedObject | |
BufferString | name_ |
Private Member Functions | |
void | applyAttribute (osg::StateSet *, osg::StateAttribute *) override |
Additional Inherited Members | |
Static Public Member Functions inherited from SharedObject | |
static Notifier< SharedObject > & | instanceCreated () |
Static Public Member Functions inherited from CallBacker | |
static void | createReceiverForCurrentThread () |
static void | removeReceiverForCurrentThread () |
Static Public Member Functions inherited from RefCount::Referenced | |
static bool | isSane (const Referenced *) |
Class that manipulates the zbuffer. See coin for details.
<>
visBase::PolygonOffset::PolygonOffset | ( | ) |
|
protected |
|
overrideprivatevirtual |
Reimplemented from visBase::NodeState.
float visBase::PolygonOffset::getFactor | ( | ) | const |
|
inline |
float visBase::PolygonOffset::getUnits | ( | ) | const |
|
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 | ) |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024