OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | Static Private Member Functions | List of all members
visBase::ThumbWheel Class Reference
Inheritance diagram for visBase::ThumbWheel:
[legend]

Public Member Functions

 ThumbWheel ()
 
virtual const char * getClassName () const
 
void setPosition (bool horizontal, float center_x, float center_y, float len, float width, float zval=0)
 
void setAnnotationColor (const Color &)
 
void enableFadeInOut (bool)
 
bool isFadeInOutEnabled () const
 
float getAngle () const
 
void setAngle (float angle, float rotationtime=0.0)
 angle in rad, rotation time in seconds More...
 
- Public Member Functions inherited from visBase::DataObject
virtual bool isOK () const
 
int id () const
 
void setID (int nid)
 
uiString name () const
 
virtual void setName (const uiString &)
 
osg::Node * osgNode (bool skipswitch=false)
 
const osg::Node * osgNode (bool skipswitch=false) const
 
void enableTraversal (unsigned int mask, bool yn=true)
 
bool isTraversalEnabled (unsigned int mask) const
 
SoNode * getInventorNode ()
 
const SoNode * getInventorNode () const
 
virtual bool turnOn (bool yn)
 
virtual bool isOn () const
 
bool isPickable (bool actively=true) const
 
void setPickable (bool actively, bool passively=true)
 
virtual bool rightClickable () const
 
virtual bool selectable () const
 
void select () const
 
void deSelect () const
 
void updateSel () const
 
virtual bool isSelected () const
 
virtual NotifierAccessselection ()
 
virtual NotifierAccessdeSelection ()
 
virtual NotifierAccessrightClicked ()
 
virtual const TypeSet< int > * rightClickedPath () const
 
virtual void setDisplayTransformation (const visBase::Transformation *)
 
virtual const visBase::TransformationgetDisplayTransformation () const
 
virtual void setRightHandSystem (bool yn)
 
virtual bool isRightHandSystem () const
 
virtual void setPixelDensity (float dpi)
 
virtual float getPixelDensity () const
 
virtual const char * errMsg () const
 
bool serialize (const char *filename, bool binary=false)
 
void setParent (DataObjectGroup *g)
 
template<class T >
T * addNodeState (T *ns)
 
NodeStateremoveNodeState (NodeState *)
 
NodeStategetNodeState (int idx)
 
- 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...
 

Static Public Member Functions

static ThumbWheelcreate ()
 
static void initClass ()
 
static const char * getStaticClassName ()
 
static const char * sFactoryKeyword ()
 
- Static Public Member Functions inherited from visBase::DataObject
static int getID (const osg::Node *)
 
static float getDefaultPixelDensity ()
 
static void setVisualizationThread (const void *)
 Call only once from initialization. More...
 
static bool isVisualizationThread ()
 
static void requestSingleRedraw ()
 
static void setCommonViewer (osgViewer::CompositeViewer *)
 
static osgViewer::CompositeViewer * getCommonViewer ()
 

Public Attributes

CNotifier< ThumbWheel, float > rotation
 passes rotation since last notification More...
 

Protected Member Functions

 ~ThumbWheel ()
 
- Protected Member Functions inherited from visBase::DataObject
virtual osg::StateSet * getStateSet ()
 
void doAddNodeState (NodeState *ns)
 
virtual void triggerSel ()
 
virtual void triggerDeSel ()
 
virtual void triggerRightClick (const EventInfo *=0)
 
 DataObject ()
 
template<class T >
T * setOsgNode (T *t)
 Must be called during construction. More...
 
void updateNodemask ()
 
- Protected Member Functions inherited from CallBacker
void detachAllNotifiers ()
 Call from the destructor of your inherited object. More...
 

Protected Attributes

osgGeo::ThumbWheel * thumbwheel_
 
ThumbWheelMessenger * messenger_
 
- Protected Attributes inherited from visBase::DataObject
DataObjectGroupparent_
 

Private Member Functions

ThumbWheeloperator= (const ThumbWheel &)
 
 ThumbWheel (const ThumbWheel &)
 

Static Private Member Functions

static visBase::DataObjectcreateInternal ()
 

Detailed Description

Constructor & Destructor Documentation

visBase::ThumbWheel::ThumbWheel ( const ThumbWheel )
private
visBase::ThumbWheel::ThumbWheel ( )
visBase::ThumbWheel::~ThumbWheel ( )
protected

Member Function Documentation

static ThumbWheel* visBase::ThumbWheel::create ( )
inlinestatic
static visBase::DataObject* visBase::ThumbWheel::createInternal ( )
inlinestaticprivate
void visBase::ThumbWheel::enableFadeInOut ( bool  )
float visBase::ThumbWheel::getAngle ( ) const
virtual const char* visBase::ThumbWheel::getClassName ( ) const
virtual

Reimplemented from visBase::DataObject.

static const char* visBase::ThumbWheel::getStaticClassName ( )
static
static void visBase::ThumbWheel::initClass ( )
static
bool visBase::ThumbWheel::isFadeInOutEnabled ( ) const
ThumbWheel& visBase::ThumbWheel::operator= ( const ThumbWheel )
private
void visBase::ThumbWheel::setAngle ( float  angle,
float  rotationtime = 0.0 
)

angle in rad, rotation time in seconds

void visBase::ThumbWheel::setAnnotationColor ( const Color )
void visBase::ThumbWheel::setPosition ( bool  horizontal,
float  center_x,
float  center_y,
float  len,
float  width,
float  zval = 0 
)
static const char* visBase::ThumbWheel::sFactoryKeyword ( )
static

Member Data Documentation

ThumbWheelMessenger* visBase::ThumbWheel::messenger_
protected
CNotifier<ThumbWheel,float> visBase::ThumbWheel::rotation

passes rotation since last notification

osgGeo::ThumbWheel* visBase::ThumbWheel::thumbwheel_
protected

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