OpendTect  6.3
Public Member Functions | Static Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
visBase::Shape Class Reference
Inheritance diagram for visBase::Shape:
[legend]

Public Member Functions

MaterialgetMaterial ()
 
const MaterialgetMaterial () const
 
void setMaterial (Material *)
 
void setMaterialBinding (int)
 
int getMaterialBinding () const
 
void setRenderMode (RenderMode)
 
void enableRenderLighting (bool)
 
int usePar (const IOPar &)
 osg default render lighting is on More...
 
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 const char * getClassName () const
 
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
 
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
 
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 void setRightHandSystem (bool yn)
 
virtual bool isRightHandSystem () const
 
virtual void setPixelDensity (float dpi)
 
virtual float getPixelDensity () const
 
virtual const uiStringerrMsg () 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 (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const
 
bool attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const
 
void detachCB (const NotifierAccess &, const CallBack &) const
 
void detachCB (const NotifierAccess *notif, const CallBack &cb) const
 
bool isNotifierAttached (const NotifierAccess *) const
 Only for debugging purposes, don't use. More...
 
virtual bool isCapsule () const
 
void stopReceivingNotifications () const
 

Static Public Member Functions

static int cOverallMaterialBinding ()
 
static int cPerVertexMaterialBinding ()
 
- Static Public Member Functions inherited from visBase::DataObject
static int getID (const osg::Node *)
 
static float getDefaultPixelDensity ()
 
static void setVisualizationThread (Threads::ThreadID)
 Call only once from initialization. More...
 
static bool isVisualizationThread ()
 
static void requestSingleRedraw ()
 
static void setCommonViewer (osgViewer::CompositeViewer *)
 
static osgViewer::CompositeViewer * getCommonViewer ()
 
static const osgGeo::GLInfo * getGLInfo ()
 
static NotifierAccessglInfoAvailable ()
 
- Static Public Member Functions inherited from CallBacker
static void createReceiverForCurrentThread ()
 
static void removeReceiverForCurrentThread ()
 

Protected Member Functions

MaterialgtMaterial () const
 
 Shape ()
 
virtual ~Shape ()
 
- 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
 ~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 () const
 Call from the destructor of your inherited object. More...
 

Static Protected Member Functions

static const char * sKeyOnOff ()
 
static const char * sKeyTexture ()
 
static const char * sKeyMaterial ()
 

Protected Attributes

Materialmaterial_
 
- Protected Attributes inherited from visBase::DataObject
DataObjectGroupparent_
 

Detailed Description

Constructor & Destructor Documentation

visBase::Shape::Shape ( )
protected
virtual visBase::Shape::~Shape ( )
protectedvirtual

Member Function Documentation

static int visBase::Shape::cOverallMaterialBinding ( )
inlinestatic
static int visBase::Shape::cPerVertexMaterialBinding ( )
inlinestatic
void visBase::Shape::enableRenderLighting ( bool  )
void visBase::Shape::fillPar ( IOPar ) const
const Material* visBase::Shape::getMaterial ( ) const
inline
Material* visBase::Shape::getMaterial ( )
inlinevirtual

Implements visBase::VisualObject.

int visBase::Shape::getMaterialBinding ( ) const
Material* visBase::Shape::gtMaterial ( ) const
protected
void visBase::Shape::setMaterial ( Material )
virtual

Implements visBase::VisualObject.

Reimplemented in visBase::VertexShape.

void visBase::Shape::setMaterialBinding ( int  )
void visBase::Shape::setRenderMode ( RenderMode  )
static const char* visBase::Shape::sKeyMaterial ( )
staticprotected
static const char* visBase::Shape::sKeyOnOff ( )
staticprotected
static const char* visBase::Shape::sKeyTexture ( )
staticprotected
int visBase::Shape::usePar ( const IOPar )

osg default render lighting is on

Member Data Documentation

Material* visBase::Shape::material_
protected

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