00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef COIN_SOVRMLVIEWPOINT_H
00025 #define COIN_SOVRMLVIEWPOINT_H
00026
00027 #include <Inventor/nodes/SoSubNode.h>
00028 #include <Inventor/nodes/SoNode.h>
00029 #include <Inventor/fields/SoSFVec3f.h>
00030 #include <Inventor/fields/SoSFFloat.h>
00031 #include <Inventor/fields/SoSFBool.h>
00032 #include <Inventor/fields/SoSFTime.h>
00033 #include <Inventor/fields/SoSFString.h>
00034 #include <Inventor/fields/SoSFRotation.h>
00035
00036 class SoVRMLViewpointP;
00037
00038 class COIN_DLL_API SoVRMLViewpoint : public SoNode
00039 {
00040 typedef SoNode inherited;
00041 SO_NODE_HEADER(SoVRMLViewpoint);
00042
00043 public:
00044 static void initClass(void);
00045 SoVRMLViewpoint(void);
00046
00047 SoSFVec3f position;
00048 SoSFRotation orientation;
00049 SoSFFloat fieldOfView;
00050 SoSFString description;
00051 SoSFBool jump;
00052
00053 virtual void GLRender(SoGLRenderAction * action);
00054
00055 protected:
00056 virtual ~SoVRMLViewpoint();
00057 SoSFBool set_bind;
00058 SoSFTime bindTime;
00059 SoSFBool isBound;
00060
00061 private:
00062 SoVRMLViewpointP * pimpl;
00063 };
00064
00065 #endif // ! COIN_SOVRMLVIEWPOINT_H