16 #include "visbasemod.h" 24 namespace osg {
class Group; }
28 class SelectionManager;
48 void setCameraAmbientLight(
float);
49 float getCameraAmbientLight() const;
50 void setCameraLightIntensity(
float );
51 float getCameraLightIntensity() const;
53 Light* getDirectionalLight() const;
56 bool saveCurrentOffsetAsDefault()
const;
58 bool blockMouseSelection(
bool yn);
63 virtual void setCamera(
Camera*);
70 float getPolygonOffsetFactor()
const;
71 float getPolygonOffsetUnits()
const;
79 static const char*
sKeyOffset() {
return "Polygon offset"; }
90 void fillOffsetPar(
IOPar& )
const;
#define mExpClass(module)
Definition: commondefs.h:160
To be able to send and/or receive CallBacks, inherit from this class.
Definition: callback.h:272
keep osg camera status and render info
Definition: viscamera.h:30
int getUpdateQueueID() const
Definition: visscene.h:67
EventCatcher & events_
Definition: visscene.h:86
static Scene * create()
Definition: visscene.h:43
bool blockmousesel_
Definition: visscene.h:103
Definition: visdatagroup.h:27
int updatequeueid_
Definition: visscene.h:95
DataObject is the base class off all objects that are used in Visualization and ought to be shared in...
Definition: visdata.h:65
int fixedIdx() const
Definition: visscene.h:68
Definition: uistring.h:89
Camera * camera_
Definition: visscene.h:106
Definition: callback.h:254
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:47
Notifier< Scene > nameChanged
Definition: visscene.h:75
Class for all lights. More options are available in osg, but only what we currently need is implement...
Definition: vislight.h:35
int fixedidx_
Definition: visscene.h:96
Camera * getCamera()
Definition: visscene.h:61
Notifier< Scene > contextIsUp
Definition: visscene.h:76
PolygonOffset * polygonoffset_
Definition: visscene.h:100
Definition: visannot.h:43
int mousedownid_
Definition: visscene.h:94
Scene manages all DataObjects and has some managing functions such as the selection management and va...
Definition: visscene.h:40
static const char * sKeyFactor()
Definition: visscene.h:80
static const char * sKeyLight()
Definition: visscene.h:82
Open Scene Graph.
Definition: visannot.h:29
static const char * sKeyOffset()
Definition: visscene.h:79
#define mCreateDataObj(clss)
Definition: visdata.h:209
Light * light_
Definition: visscene.h:101
const Camera * getCamera() const
Definition: visscene.h:62
Definition: vispolygonoffset.h:25
static const char * sKeyUnits()
Definition: visscene.h:81
osg::Group * osgsceneroot_
Definition: visscene.h:104
Definition: visevent.h:87