00001
00002
00003
00004
00006 #ifndef __VGRIDSLICE_HPP
00007 #define __VGRIDSLICE_HPP
00008
00009 #include <ocean/plankton/VValue.hpp>
00010 #include <field/Field.hpp>
00011 #include "Orientation.hpp"
00012
00013 namespace Wizt
00014 {
00015
00016 class fisheye_API VGridSlice
00017 {
00018 public:
00019 GridOrientation3 orient;
00020 double sliceCoord;
00021
00022 VGridSlice();
00023 ~VGridSlice();
00024
00025 bool getIndex(index_t&SliceNr,
00026 const RefPtr<Field>&Coords, const RefPtr<FragmentID>&f,
00027 double&minslice, double&maxslice);
00028 };
00029
00030
00031
00032
00033 template <>
00034 class fisheye_API VValueTrait<VGridSlice>
00035 {
00036 public:
00037
00038 static bool setValueFromText(VGridSlice&i, const string&s);
00039
00040 static string Text(const VGridSlice&s);
00041
00042 };
00043
00044 }
00045
00046 #endif // __VGRIDSLICE_HPP