00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00025
00026 #ifndef RemoteCoordPoint_H
00027 #define RemoteCoordPoint_H
00028
00029 #include "H3DNetworkingUtils/Config.h"
00030 #include "H3DNetworkingUtils/RemoteNodeField.h"
00031 #include <H3D/Coordinate.h>
00032 #include <H3D/MFVec3f.h>
00033
00034 template struct __declspec(dllimport) H3D::AutoUpdate <H3D::Field>;
00035
00036 namespace H3DNetworkingUtils {
00037
00057
00058 class H3D_NETWORKING_UTILS_DLL_SPEC RemoteCoordPoint : public RemoteNodeField<H3D::Coordinate, H3D::MFVec3f, &H3D::Coordinate::point> {
00059 public:
00061 RemoteCoordPoint();
00062
00064 static H3D::H3DNodeDatabase database;
00065
00066 protected:
00068 virtual void writeValue (H3D::Vec3f const & val);
00069
00071 virtual H3D::Vec3f readVal();
00072
00073 };
00074
00075 }
00076
00077 #endif