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 RemoteNormalVector_H
00027 #define RemoteNormalVector_H
00028
00029 #include "H3DNetworkingUtils/Config.h"
00030 #include "H3DNetworkingUtils/RemoteNodeField.h"
00031 #include <H3D/Normal.h>
00032 #include <H3D/MFVec3f.h>
00033
00034 template struct __declspec(dllimport) H3D::AutoUpdate <H3D::Field>;
00035
00036 namespace H3DNetworkingUtils {
00037
00054
00055 class H3D_NETWORKING_UTILS_DLL_SPEC RemoteNormalVector :
00056 public RemoteNodeField<H3D::Normal, H3D::MFVec3f, &H3D::Normal::vector> {
00057 public:
00058 RemoteNormalVector();
00059
00060 static H3D::H3DNodeDatabase database;
00061
00062 protected:
00064 virtual void writeValue (H3D::Vec3f const & val);
00065
00067 virtual H3D::Vec3f readVal();
00068
00069 };
00070
00071 }
00072
00073 #endif