36#ifndef vtkGeoTerrain_h
37#define vtkGeoTerrain_h
39#include "vtkGeovisCoreModule.h"
62 {
return this->GeoSource; }
86 vtkSetVector3Macro(Origin,
double);
87 vtkGetVector3Macro(Origin,
double);
95 vtkGetMacro(MaxLevel,
int);
create hierarchies of vtkProp3Ds (transformable props)
create and manipulate unsorted lists of objects
Geo interface to a camera.
A multi-resolution geographic data source.
A 3D terrain model for the globe.
virtual vtkGeoSource * GetSource()
The source used to obtain geometry patches.
void PrintTree(ostream &os, vtkIndent indent, vtkGeoTerrainNode *node)
Print the tree of terrain nodes.
void SaveDatabase(const char *path, int depth)
Save the set of patches up to a given maximum depth.
vtkExtractSelectedFrustum * Extractor
vtkGeoTreeNodeCache * Cache
void Initialize()
Initialize the terrain with a new source.
virtual int EvaluateNode(vtkGeoTerrainNode *node)
AddActors() calls to to evaluate whether a node should be refined (1), coarsened (-1),...
static vtkGeoTerrain * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetGeoSource(vtkGeoSource *source)
virtual void SetGeoCamera(vtkGeoCamera *camera)
virtual void InitializeNodeAnalysis(vtkRenderer *ren)
AddActors() calls this to setup parameters for evaluating nodes.
virtual void SetSource(vtkGeoSource *source)
void AddActors(vtkRenderer *ren, vtkAssembly *assembly, vtkCollection *imageReps)
Update the actors in an assembly used to render the globe.
virtual bool NodeInViewport(vtkGeoTerrainNode *node)
AddActors() calls this to determine if a node is in the current viewport.
Manages a list of vtkGeoTreeNodes.
a simple class to control print indentation
abstract base class for most VTK objects
abstract specification for renderers
boost::graph_traits< vtkGraph * >::vertex_descriptor source(boost::graph_traits< vtkGraph * >::edge_descriptor e, vtkGraph *)