Go to the documentation of this file.
28 #ifndef vtkGeoTerrainNode_h
29 #define vtkGeoTerrainNode_h
31 #include "vtkGeovisCoreModule.h"
37 #if !defined(VTK_LEGACY_REMOVE)
74 vtkGetMacro(BoundingSphereRadius,
double);
75 vtkGetVector3Macro(BoundingSphereCenter,
double);
78 vtkGetVector3Macro(CornerNormal00,
double);
79 vtkGetVector3Macro(CornerNormal01,
double);
80 vtkGetVector3Macro(CornerNormal10,
double);
81 vtkGetVector3Macro(CornerNormal11,
double);
88 vtkGetVector4Macro(ProjectionBounds,
double);
89 vtkSetVector4Macro(ProjectionBounds,
double);
96 vtkGetMacro(GraticuleLevel,
int);
97 vtkSetMacro(GraticuleLevel,
int);
105 vtkGetMacro(Error,
double);
106 vtkSetMacro(Error,
double);
114 vtkGetMacro(Coverage,
float);
115 vtkSetMacro(Coverage,
float);
146 double BoundingSphereCenter[3];
151 double CornerNormal00[3];
152 double CornerNormal01[3];
153 double CornerNormal10[3];
154 double CornerNormal11[3];
156 double ProjectionBounds[4];
166 #endif //VTK_LEGACY_REMOVE
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
double BoundingSphereRadius
void DeepCopy(vtkGeoTreeNode *src) override
Stores data for a patch of the globe.
void ShallowCopy(vtkGeoTreeNode *src) override
Shallow and Deep copy.
vtkPolyData * GetModel()
Get the terrrain model.
void SetModel(vtkPolyData *model)
void DeleteData() override
Deletes the data associated with the node to make this an "empty" node.
void UpdateBoundingSphere()
Bounding sphere is precomputed for faster updates of terrain.
a simple class to control print indentation
bool HasData() override
Returns whether this node has valid data associated with it, or if it is an "empty" node.
vtkGeoTerrainNode * GetChild(int idx)
Every subclass implements these methods returning the specific type.
vtkSmartPointer< vtkPolyData > Model
vtkGeoTerrainNode * GetParent()
concrete dataset represents vertices, lines, polygons, and triangle strips
double GetAltitude(double longitude, double latitude)
Given, a long, lat position, return altitude in meters relative to sea level.
~vtkGeoTerrainNode() override
static vtkGeoTerrainNode * New()