00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef COIN_SOPERSPECTIVECAMERA_H
00021 #define COIN_SOPERSPECTIVECAMERA_H
00022
00023 #include <Inventor/nodes/SoSubNode.h>
00024 #include <Inventor/nodes/SoCamera.h>
00025
00026
00027 class COIN_DLL_API SoPerspectiveCamera : public SoCamera {
00028 typedef SoCamera inherited;
00029
00030 SO_NODE_HEADER(SoPerspectiveCamera);
00031
00032 public:
00033 static void initClass(void);
00034 SoPerspectiveCamera(void);
00035
00036 SoSFFloat heightAngle;
00037
00038 virtual void scaleHeight(float scalefactor);
00039 virtual SbViewVolume getViewVolume(float useaspectratio = 0.0f) const;
00040
00041 protected:
00042 virtual ~SoPerspectiveCamera();
00043
00044 virtual void viewBoundingBox(const SbBox3f & box, float aspect, float slack);
00045 };
00046
00047 #endif // !COIN_SOPERSPECTIVECAMERA_H