Go to the documentation of this file.
31 #ifndef vtkGeoTerrainNode_h
32 #define vtkGeoTerrainNode_h
34 #include "vtkGeovisCoreModule.h"
76 vtkGetMacro(BoundingSphereRadius,
double);
77 vtkGetVector3Macro(BoundingSphereCenter,
double);
80 vtkGetVector3Macro(CornerNormal00,
double);
81 vtkGetVector3Macro(CornerNormal01,
double);
82 vtkGetVector3Macro(CornerNormal10,
double);
83 vtkGetVector3Macro(CornerNormal11,
double);
90 vtkGetVector4Macro(ProjectionBounds,
double);
91 vtkSetVector4Macro(ProjectionBounds,
double);
98 vtkGetMacro(GraticuleLevel,
int);
107 vtkGetMacro(Error,
double);
116 vtkGetMacro(Coverage,
float);
148 double BoundingSphereCenter[3];
153 double CornerNormal00[3];
154 double CornerNormal01[3];
155 double CornerNormal10[3];
156 double CornerNormal11[3];
158 double ProjectionBounds[4];
double BoundingSphereRadius
virtual bool HasData()
Returns whether this node has valid data associated with it, or if it is an "empty" node.
Stores data for a patch of the globe.
vtkPolyData * GetModel()
Get the terrrain model.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void SetModel(vtkPolyData *model)
virtual void DeleteData()
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
vtkGeoTerrainNode * GetChild(int idx)
Every subclass implements these methods returning the specific type.
vtkSmartPointer< vtkPolyData > Model
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkGeoTerrainNode * GetParent()
concrete dataset represents vertices, lines, polygons, and triangle strips
virtual void ShallowCopy(vtkGeoTreeNode *src)
Shallow and Deep copy.
double GetAltitude(double longitude, double latitude)
Given, a long, lat position, return altitude in meters relative to sea level.
virtual void DeepCopy(vtkGeoTreeNode *src)
static vtkGeoTerrainNode * New()