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