![]() |
VR-Forces 4.0.4 Class Documentation
|
00001 /****************************************************************************** 00002 ** Copyright (c) 2007 MAK Technologies, Inc. 00003 ** All rights reserved. 00004 ******************************************************************************/ 00005 /****************************************************************************** 00006 ** $RCSfile: DtSlaveCameraManipulator.h,v $ $Revision: 1.9 $ $State: Exp $ 00007 ******************************************************************************/ 00008 00012 00013 #ifndef DtSlaveCameraManipulator_H_ 00014 #define DtSlaveCameraManipulator_H_ 00015 00016 #include <vrvOsg/vrvOsg.h> 00017 #include <vrvOsg/DtSlaveCameraController.h> 00018 #include <osgGA/CameraManipulator> 00019 00020 namespace makVrv 00021 { 00022 00023 class DtDe; 00024 00030 class DT_DLL_VRVOSG DtSlaveCameraManipulator : public osgGA::CameraManipulator, public DtSlaveCameraController 00031 { 00032 00033 public: 00034 00036 DtSlaveCameraManipulator(DtDe& de); 00037 00039 virtual ~DtSlaveCameraManipulator(); 00040 00042 virtual const char* className() const { return "DtSlaveCameraManipulator"; } 00043 00046 virtual void setByMatrix(const osg::Matrixd &matrix); 00047 00050 virtual void setByInverseMatrix(const osg::Matrixd &matrix); 00051 00053 virtual osg::Matrixd getMatrix() const; 00054 00057 virtual osg::Matrixd getInverseMatrix() const; 00058 00061 virtual bool handle (const osgGA::GUIEventAdapter &ea, osgGA::GUIActionAdapter &us); 00062 00063 }; 00064 } 00065 00066 #endif 00067