15 #include "visbasemod.h" 22 namespace osg {
class Group; }
34 void setSeparate(
bool yn=true ) { separate_=yn; }
38 virtual int size()
const;
39 virtual void addObject( DataObject* );
40 void addObject(
int id );
43 virtual void insertObject(
int idx, DataObject* );
45 virtual int getFirstIdx(
int id )
const;
50 virtual int getFirstIdx(
const DataObject* )
const;
56 virtual void removeObject(
int idx );
59 {
return objects_.size()>idx ? objects_[idx] :0;}
64 void setDisplayTransformation(
const mVisTrans*);
65 const mVisTrans* getDisplayTransformation()
const;
69 void setRightHandSystem(
bool);
70 bool isRightHandSystem()
const;
72 void setPixelDensity(
float dpi);
#define mExpClass(module)
Definition: commondefs.h:160
Definition: visdatagroup.h:27
DataObject is the base class off all objects that are used in Visualization and ought to be shared in...
Definition: visdata.h:65
virtual DataObject * getObject(int idx)
Definition: visdatagroup.h:58
ObjectSet< DataObject > objects_
Definition: visdatagroup.h:87
Definition: callback.h:254
Set of pointers to objects.
Definition: commontypes.h:32
const DataObject * getObject(int idx) const
Definition: visdatagroup.h:60
float getPixelDensity() const
Definition: visdatagroup.h:73
#define mVisTrans
Definition: visdata.h:31
Definition: visannot.h:43
bool separate_
Definition: visdatagroup.h:88
Open Scene Graph.
Definition: visannot.h:29
#define mCreateDataObj(clss)
Definition: visdata.h:209
static DataObjectGroup * create()
Definition: visdatagroup.h:31
bool righthandsystem_
Definition: visdatagroup.h:82
osg::Group * osggroup_
Definition: visdatagroup.h:80
float pixeldensity_
Definition: visdatagroup.h:83
Notifier< DataObjectGroup > change
Definition: visdatagroup.h:75