16 #include "visbasemod.h" 21 namespace osg {
class Node; }
26 class SelectionManager;
36 const char*
errMsg()
const;
39 int highestID()
const;
43 int getID(
const osg::Node*)
const;
46 int nrObjects()
const;
48 const DataObject* getIndexedObject(
int idx)
const;
72 static const char* sKeyFreeID();
73 static const char* sKeySelManPrefix();
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
#define mGlobal(module)
Definition: commondefs.h:163
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
Notifier< DataManager > removeallnotify
Definition: visdataman.h:57
Definition: callback.h:254
Set of pointers to objects.
Definition: commontypes.h:32
Definition: visdataman.h:30
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
ObjectSet< DataObject > objects_
Definition: visdataman.h:66
SelectionManager handles DataObject that can be selected. If an object can be selected, it has to register himself with regSelObject. At registration it has to give two objects, first of all, he gives the object that outside users will associate him with when they want to add their CB to detect his selection.
Definition: visselman.h:44
int freeid_
Definition: visdataman.h:68
SelectionManager & selMan()
Definition: visdataman.h:50
#define mDefineFactoryInClass(T, funcname)
Definition: factory.h:426
void fillPar(IOPar &iop, const ODPolygon< T > &poly, const char *inpkey)
Definition: polygon.h:175
Definition: visannot.h:43
OD::String with its own variable length buffer. The buffer has a guaranteed minimum size...
Definition: bufstring.h:40
Open Scene Graph.
Definition: visannot.h:29
const char * errMsg() const
Definition: horizontracker.h:61
BufferString errmsg_
Definition: visdataman.h:70
SelectionManager & selman_
Definition: visdataman.h:69