36 #ifndef __vtkGeoTreeNode_h
37 #define __vtkGeoTreeNode_h
54 vtkSetMacro(Id,
unsigned long);
55 vtkGetMacro(Id,
unsigned long);
60 vtkSetMacro(Level,
int);
61 vtkGetMacro(Level,
int);
66 vtkSetVector2Macro(LongitudeRange,
double);
67 vtkGetVector2Macro(LongitudeRange,
double);
68 vtkSetVector2Macro(LatitudeRange,
double);
69 vtkGetVector2Macro(LatitudeRange,
double);
81 { this->Parent = node; }
88 { this->Older = node; }
90 {
return this->Older; }
92 { this->Newer = node; }
94 {
return this->Newer; }
113 int GetWhichChildAreYou();
123 int CreateChildren();
129 {
return this->Children[idx]; }
137 {
return this->Parent; }
147 NodeStatus GetStatus();
148 void SetStatus(NodeStatus status);
165 double LongitudeRange[2];
166 double LatitudeRange[2];