17 #ifndef AGXQT_CAMERAVIEWSET_H 18 #define AGXQT_CAMERAVIEWSET_H 26 #define DEFAULT_CAMERADESCRIPTION_FOV 30.0 47 class CameraDescription;
48 class CameraDescriptionSet;
90 void setActiveCameraViewIndex(
agx::UInt index);
96 agx::UInt getNumberOfCameraDescriptions();
99 bool setActiveViewFromName(
const agx::String& name);
102 bool removeCameraViewFromName(
const agx::String& name);
145 bool isValid()
const;
203 void storeCurrentView(osgViewer::Viewer *viewer);
206 void setActiveView(osgViewer::Viewer * viewer);
209 void setNextView(osgViewer::Viewer * viewer);
212 void setPreviousView(osgViewer::Viewer * viewer);
215 bool setActiveViewFromName(
const agx::String& name);
218 bool removeCameraViewFromName(
const agx::String& name);
227 bool storeViewsetAsCFGFile(
const agx::String& filename);
230 bool restoreViewsetFromCFGFile(
const agx::String& filename);
236 static CameraDescription* getCameraDescriptionFromOsgViewer(osgViewer::Viewer * viewer);
CameraDescriptionSetRef m_cameraSet
Contains classes/utility functions for connecting AGX to QT with OSG.
#define AGX_DECLARE_POINTER_TYPES(type)
CameraDescriptionList m_cameraDescriptionContainer
Base class providing referencing counted objects.
AGXMODEL_EXPORT agx::Vec3 getCenter(const agxCollide::Mesh::Triangle &triangle)
agx::UInt m_activeCameraIndex
Manager class that acts as a wrapper container for the CameravViewset class for OSG based view system...
Class that describes an abstract camera and it's properties.
agx::String m_name
Name of the camera description.
CameraViewSet is a class that handles and manages a set of cameras that the user should be able to sw...