00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef FILE_NODES_HXX
00021
00022
00023 #include "errors.cxx"
00024 #include <stdio.h>
00025
00026
00027 namespace Multivac
00028 {
00029
00031
00033
00034
00035 template <class T>
00036 class CFastMarchingNode
00037 {
00038
00039
00040
00041
00042
00043
00044 public:
00045
00046 typedef T value_type;
00047 typedef T* pointer;
00048 typedef const T* const_pointer;
00049 typedef T& reference;
00050 typedef const T& const_reference;
00051
00052
00053
00054
00055
00056
00057 protected:
00058
00059 T time;
00060 int X;
00061 int Y;
00062
00063
00064
00065
00066
00067
00068 public:
00069
00070 CFastMarchingNode() throw();
00071 CFastMarchingNode(T time_, int X_, int Y_) throw();
00072
00073 ~CFastMarchingNode() throw();
00074
00075
00076
00077
00078
00079
00080 public:
00081
00082 void Init(T time_, int X_, int Y_);
00083 value_type GetValue() const;
00084 int GetX() const;
00085 int GetY() const;
00086 void SetValue(value_type time_);
00087
00088
00089 };
00090
00091
00092 }
00093
00094
00095 #define FILE_NODES_HXX
00096 #endif