36 #ifndef __vtkGeoTreeNode_h
37 #define __vtkGeoTreeNode_h
39 #include "vtkGeovisCoreModule.h"
40 #include "vtkObject.h"
41 #include "vtkSmartPointer.h"
50 void PrintSelf(ostream& os, vtkIndent indent);
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; }
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];
170 vtkSmartPointer<vtkGeoTreeNode> Children[4];
void SetNewer(vtkGeoTreeNode *node)
vtkGeoTreeNode * GetNewer()
void SetParent(vtkGeoTreeNode *node)
vtkGeoTreeNode * GetOlder()
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkGeoTreeNode * GetParentTreeNode()
Stores data for a patch of the globe.
virtual void DeleteData()
void SetOlder(vtkGeoTreeNode *node)
vtkGeoTreeNode * GetChildTreeNode(int idx)