36 #ifndef __vtkGeoTreeNode_h
37 #define __vtkGeoTreeNode_h
39 #include "vtkGeovisCoreModule.h"
55 vtkSetMacro(Id,
unsigned long);
56 vtkGetMacro(Id,
unsigned long);
61 vtkSetMacro(Level,
int);
62 vtkGetMacro(Level,
int);
67 vtkSetVector2Macro(LongitudeRange,
double);
68 vtkGetVector2Macro(LongitudeRange,
double);
69 vtkSetVector2Macro(LatitudeRange,
double);
70 vtkGetVector2Macro(LatitudeRange,
double);
82 { this->Parent = node; }
89 { this->Older = node; }
91 {
return this->Older; }
93 { this->Newer = node; }
95 {
return this->Newer; }
101 virtual bool HasData()
109 virtual void DeleteData()
114 int GetWhichChildAreYou();
124 int CreateChildren();
130 {
return this->Children[idx]; }
138 {
return this->Parent; }
148 NodeStatus GetStatus();
149 void SetStatus(NodeStatus status);
166 double LongitudeRange[2];
167 double LatitudeRange[2];