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

Public Types

enum  Pos { Left, Right, Top, Bottom }
 

Public Member Functions

 SceneColTab ()
 
virtual const char * getClassName () const
 
void setPos (Pos pos)
 
Pos getPos () const
 
void setWindowSize (int winx, int winy)
 
void setOrientation (bool horizontal)
 
bool getOrientation () const
 
void setAnnotFont (const FontData &)
 
void setColTabSequence (const ColTab::Sequence &)
 
void setColTabMapperSetup (const ColTab::MapperSetup &)
 
void setLegendColor (const Color &)
 
bool turnOn (bool)
 
void setSize (int w, int h)
 
Geom::Size2D< int > getSize ()
 
virtual void setPixelDensity (float dpi)
 
- Public Member Functions inherited from visBase::VisualObjectImpl
void setRightHandSystem (bool yn)
 
bool isRightHandSystem () const
 
void setLockable ()
 
void readLock ()
 
void readUnLock ()
 
bool tryReadLock ()
 
void writeLock ()
 
void writeUnLock ()
 
bool tryWriteLock ()
 
void setMaterial (Material *)
 
const MaterialgetMaterial () const
 
MaterialgetMaterial ()
 
virtual bool usePar (const IOPar &)
 
virtual void fillPar (IOPar &) const
 
- Public Member Functions inherited from visBase::VisualObject
virtual bool getBoundingBox (Coord3 &min, Coord3 &max) const
 
virtual void setSceneEventCatcher (EventCatcher *)
 
void setSelectable (bool yn)
 
bool selectable () const
 
NotifierAccessselection ()
 
NotifierAccessdeSelection ()
 
virtual NotifierAccessrightClicked ()
 
const EventInforightClickedEventInfo () const
 
const TypeSet< int > * rightClickedPath () const
 
- 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 isOn () const
 
bool isPickable (bool actively=true) const
 
void setPickable (bool actively, bool passively=true)
 
virtual bool rightClickable () const
 
void select () const
 
void deSelect () const
 
void updateSel () const
 
virtual bool isSelected () const
 
virtual void setDisplayTransformation (const visBase::Transformation *)
 
virtual const visBase::TransformationgetDisplayTransformation () const
 
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 SceneColTabcreate ()
 
static void initClass ()
 
static const char * getStaticClassName ()
 
static const char * sFactoryKeyword ()
 
- Static Public Member Functions inherited from visBase::VisualObjectImpl
static const char * sKeyMaterialID ()
 
static const char * sKeyMaterial ()
 
static const char * sKeyIsOn ()
 
- 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 ()
 

Protected Member Functions

 ~SceneColTab ()
 
void updateSequence ()
 
void setPos (float x, float y)
 
- Protected Member Functions inherited from visBase::VisualObjectImpl
int addChild (osg::Node *)
 
void insertChild (int pos, osg::Node *)
 
void removeChild (osg::Node *)
 
int childIndex (const osg::Node *) const
 
 VisualObjectImpl (bool selectable)
 
virtual ~VisualObjectImpl ()
 
virtual void materialChangeCB (CallBacker *)
 
virtual void setGroupNode (osg::Group *)
 Must be called during construction. More...
 
- Protected Member Functions inherited from visBase::VisualObject
void triggerSel ()
 
void triggerDeSel ()
 
void triggerRightClick (const EventInfo *)
 
 VisualObject (bool selectable=false)
 
 ~VisualObject ()
 
- Protected Member Functions inherited from visBase::DataObject
virtual osg::StateSet * getStateSet ()
 
void doAddNodeState (NodeState *ns)
 
 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

osg::Geode * osgcolorbar_
 
ColTab::Sequence sequence_
 
Interval< float > rg_
 
Pos pos_
 
bool flipseq_
 
bool horizontal_
 
int width_
 
int height_
 
float aspratio_
 
int winx_
 
int winy_
 
float pixeldensity_
 
int fontsize_
 
- Protected Attributes inherited from visBase::VisualObjectImpl
Materialmaterial_
 
bool righthandsystem_
 
- Protected Attributes inherited from visBase::DataObject
DataObjectGroupparent_
 

Private Member Functions

 mODTextTranslationClass (SceneColTab)
 
SceneColTaboperator= (const SceneColTab &)
 
 SceneColTab (const SceneColTab &)
 

Static Private Member Functions

static visBase::DataObjectcreateInternal ()
 

Detailed Description

Member Enumeration Documentation

Enumerator
Left 
Right 
Top 
Bottom 

Constructor & Destructor Documentation

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

Member Function Documentation

static SceneColTab* visBase::SceneColTab::create ( )
inlinestatic
static visBase::DataObject* visBase::SceneColTab::createInternal ( )
inlinestaticprivate
virtual const char* visBase::SceneColTab::getClassName ( ) const
virtual

Reimplemented from visBase::DataObject.

bool visBase::SceneColTab::getOrientation ( ) const
inline
Pos visBase::SceneColTab::getPos ( ) const
inline
Geom::Size2D<int> visBase::SceneColTab::getSize ( )
static const char* visBase::SceneColTab::getStaticClassName ( )
static
static void visBase::SceneColTab::initClass ( )
static
visBase::SceneColTab::mODTextTranslationClass ( SceneColTab  )
private
SceneColTab& visBase::SceneColTab::operator= ( const SceneColTab )
private
void visBase::SceneColTab::setAnnotFont ( const FontData )
void visBase::SceneColTab::setColTabMapperSetup ( const ColTab::MapperSetup )
void visBase::SceneColTab::setColTabSequence ( const ColTab::Sequence )
void visBase::SceneColTab::setLegendColor ( const Color )
void visBase::SceneColTab::setOrientation ( bool  horizontal)
virtual void visBase::SceneColTab::setPixelDensity ( float  dpi)
virtual

Reimplemented from visBase::DataObject.

void visBase::SceneColTab::setPos ( Pos  pos)
void visBase::SceneColTab::setPos ( float  x,
float  y 
)
protected
void visBase::SceneColTab::setSize ( int  w,
int  h 
)
void visBase::SceneColTab::setWindowSize ( int  winx,
int  winy 
)
static const char* visBase::SceneColTab::sFactoryKeyword ( )
static
bool visBase::SceneColTab::turnOn ( bool  )
virtual

Reimplemented from visBase::DataObject.

void visBase::SceneColTab::updateSequence ( )
protected

Member Data Documentation

float visBase::SceneColTab::aspratio_
protected
bool visBase::SceneColTab::flipseq_
protected
int visBase::SceneColTab::fontsize_
protected
int visBase::SceneColTab::height_
protected
bool visBase::SceneColTab::horizontal_
protected
osg::Geode* visBase::SceneColTab::osgcolorbar_
protected
float visBase::SceneColTab::pixeldensity_
protected
Pos visBase::SceneColTab::pos_
protected
Interval<float> visBase::SceneColTab::rg_
protected
ColTab::Sequence visBase::SceneColTab::sequence_
protected
int visBase::SceneColTab::width_
protected
int visBase::SceneColTab::winx_
protected
int visBase::SceneColTab::winy_
protected

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