00001 #ifndef IGUANA_GL_BROWSERS_IG_3DCAMERA_UTILS_H
00002 # define IGUANA_GL_BROWSERS_IG_3DCAMERA_UTILS_H
00003
00004
00005
00006 # include "Iguana/GLBrowsers/interface/config.h"
00007
00008
00009
00010
00011
00012 class SoSFRotation;
00013 class SoSFVec3f;
00014 class SoSFFloat;
00015 class SbVec3f;
00016
00017
00018
00019
00020
00021 class IGUANA_GL_BROWSERS_API Ig3DCameraUtils
00022 {
00023 public:
00024 Ig3DCameraUtils (void);
00025
00026
00027
00028
00029 void setCamera (SoSFRotation *orientation,
00030 SoSFVec3f *position,
00031 SoSFFloat *focalDistance);
00032
00033 SbVec3f getFocalPoint (void) const;
00034 void setFocalPoint (const SbVec3f &focalPoint);
00035
00036 private:
00037 SoSFRotation*m_orientation;
00038 SoSFVec3f *m_position;
00039 SoSFFloat *m_focalDistance;
00040 };
00041
00042
00043
00044
00045 #endif // IGUANA_GL_BROWSERS_IG_3DCAMERA_UTILS_H