16 #include "visbasemod.h" 19 namespace osg {
class Camera;
class RenderInfo; }
37 osg::Camera* osgCamera() const;
38 Coord3 getTranslation() const;
40 void getRotation(
Coord3& vec,
double& angle)const;
41 void getLookAtMatrix(
Coord3&,Coord3&,Coord3&)const;
47 const
osg::RenderInfo* getRenderInfo()
const {
return renderinfo_; }
51 friend class DrawCallback;
53 void triggerDrawCallBack(
const DrawCallback*,
54 const osg::RenderInfo&);
#define mExpClass(module)
Definition: commondefs.h:160
keep osg camera status and render info
Definition: viscamera.h:30
DataObject is the base class off all objects that are used in Visualization and ought to be shared in...
Definition: visdata.h:65
DrawCallback * predraw_
Definition: viscamera.h:60
static Camera * create()
Definition: viscamera.h:34
Definition: callback.h:254
const osg::RenderInfo * renderinfo_
Definition: viscamera.h:59
A cartesian coordinate in 3D space.
Definition: coord.h:72
osg::Camera * camera_
Definition: viscamera.h:58
DrawCallback * postdraw_
Definition: viscamera.h:61
Definition: visannot.h:43
Open Scene Graph.
Definition: visannot.h:29
#define mCreateDataObj(clss)
Definition: visdata.h:209