00001 00020 #ifndef VRML1ORTHOGRAPHICCAMERA_HH_ 00021 #define VRML1ORTHOGRAPHICCAMERA_HH_ 00022 00023 #include "Node.hh" 00024 #include "Attribute.hh" 00025 #include "SFVec3f.hh" 00026 #include "SFRotation.hh" 00027 00028 namespace vrml1 00029 { 00030 00031 class OrthographicCamera : public vrml1::Node 00032 { 00033 public: 00034 OrthographicCamera(); 00035 00036 void setPostion(SFVec3f position); 00037 SFVec3f position() const; 00038 00039 void setOrientation(SFRotation orientation); 00040 SFRotation orientation() const; 00041 00042 void setFocalDistance(float focalDistance); 00043 float focalDistance() const; 00044 00045 void setHeight(float height); 00046 float height() const; 00047 00048 virtual void setAttribute(Attribute *A); 00049 00050 private: 00051 SFVec3f m_position; 00052 SFRotation m_orientation; 00053 float m_focalDistance; 00054 float m_height; 00055 }; 00056 00057 } 00058 00059 #endif /*VRML1ORTHOGRAPHICCAMERA_HH_*/