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];
void SetNewer(vtkGeoTreeNode *node)
abstract base class for most VTK objects
vtkGeoTreeNode * GetNewer()
void SetParent(vtkGeoTreeNode *node)
vtkGeoTreeNode * GetOlder()
concrete dataset represents vertices, lines, polygons, and triangle strips
vtkGeoTreeNode * GetParentTreeNode()
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Stores data for a patch of the globe.
virtual void DeleteData()
void SetOlder(vtkGeoTreeNode *node)
vtkGeoTreeNode * GetChildTreeNode(int idx)