16 #include "visbasemod.h" 22 namespace osg {
class Group; }
40 virtual void setMaterial(
Material* ) = 0;
43 virtual bool getBoundingBox(
Coord3& min,
Coord3& max)
const;
56 {
if (isselectable) selnotifier.trigger(); }
58 {
if (isselectable) deselnotifier.trigger(); }
94 static const char* sKeyMaterialID();
95 static const char* sKeyMaterial();
96 static const char* sKeyIsOn();
103 int addChild(osg::Node*);
105 void insertChild(
int pos,osg::Node*);
106 void removeChild(osg::Node*);
107 int childIndex(
const osg::Node*)
const;
115 virtual void setGroupNode(osg::Group*);
127 readLock(), readUnLock(), tryReadLock() )
Definition: visobject.h:37
#define mExpClass(module)
Definition: commondefs.h:160
void setRightHandSystem(bool yn)
Definition: visobject.h:76
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
RenderMode
Base class for all objects that are visual on the scene.
Definition: visobject.h:34
NotifierAccess * deSelection()
Definition: visobject.h:49
void setSelectable(bool yn)
Definition: visobject.h:46
void triggerSel()
Definition: visobject.h:55
Interface class for Notifier. See comments there.
Definition: callback.h:161
void usePar(const IOPar &iop, ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:188
DataObject is the base class off all objects that are used in Visualization and ought to be shared in...
Definition: visdata.h:65
VisualWriteLockLocker
Definition: visobject.h:128
virtual NotifierAccess * rightClicked()
Definition: visobject.h:50
Definition: visobject.h:34
#define mLockerClassImpl(mod, clssnm, clss, lockfn, unlockfn, trylockfn)
Is an object that is convenient to use when a mutex should be locked and unlocked automatically when ...
Definition: thread.h:199
bool selectable() const
Definition: visobject.h:47
Definition: visobject.h:34
Definition: visobject.h:34
const EventInfo * rcevinfo
Definition: visobject.h:68
bool isRightHandSystem() const
Definition: visobject.h:77
Definition: callback.h:254
Material * material_
Definition: visobject.h:118
VisualObjectImpl
Definition: visobject.h:128
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
osg::Group * osgroot_
Definition: visobject.h:123
void triggerDeSel()
Definition: visobject.h:57
const EventInfo * rightClickedEventInfo() const
Definition: visobject.h:51
Definition: vismaterial.h:37
const Material * getMaterial() const
Definition: visobject.h:91
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
A cartesian coordinate in 3D space.
Definition: coord.h:72
bool isselectable
Definition: visobject.h:64
Definition: visannot.h:43
Notifier< VisualObject > rightClick
Definition: visobject.h:67
Open Scene Graph.
Definition: visannot.h:29
Definition: visevent.h:44
virtual void setSceneEventCatcher(EventCatcher *)
Definition: visobject.h:44
Notifier< VisualObject > deselnotifier
Definition: visobject.h:66
bool righthandsystem_
Definition: visobject.h:119
Definition: visobject.h:72
Definition: visevent.h:87
NotifierAccess * selection()
Definition: visobject.h:48
Notifier< VisualObject > selnotifier
Definition: visobject.h:65