75#include "vtkGeovisCoreModule.h"
94 vtkGetVector3Macro(Position,
double);
104 vtkGetMacro(Longitude,
double);
114 vtkGetMacro(Latitude,
double);
125 vtkGetMacro(Distance,
double);
139 vtkGetMacro(Heading,
double);
150 vtkGetMacro(Tilt,
double);
178 vtkGetMacro(LockHeading,
bool);
188 vtkGetMacro(OriginLatitude,
double);
190 vtkGetMacro(OriginLongitude,
double);
198 vtkGetVector3Macro(Origin,
double);
200 this->Origin[0] = ox; this->Origin[1] = oy; this->Origin[2] = oz;
201 this->UpdateVTKCamera();
230 double ForwardNormal[3];
231 double RightNormal[3];
236 double LeftPlaneNormal[3];
237 double RightPlaneNormal[3];
238 double DownPlaneNormal[3];
239 double UpPlaneNormal[3];
245 void operator=(
const vtkGeoCamera&) VTK_DELETE_FUNCTION;
a virtual camera for 3D rendering
Geo interface to a camera.
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
void SetLongitude(double longitude)
Longitude is in degrees: (-180->180) Relative to absolute coordinates.
void SetHeading(double heading)
Heading is in degrees: (-180->180) Relative to Logitude and Latitude.
void ComputeRectilinearOrigin()
static vtkGeoCamera * New()
void SetOrigin(double ox, double oy, double oz)
void SetOriginLatitude(double oLat)
This point is shifted to 0,0,0 to avoid openGL issues.
void SetTilt(double tilt)
Tilt is also know as pitch.
void SetLatitude(double latitude)
Latitude is in degrees: (-90->90) Relative to Longitude.
void InitializeNodeAnalysis(int rendererSize[2])
We precompute some values to speed up update of the terrain.
vtkCamera * GetVTKCamera()
This vtk camera is updated to match this geo cameras state.
void SetOriginLongitude(double oLat)
vtkSmartPointer< vtkCamera > VTKCamera
double GetNodeCoverage(vtkGeoTerrainNode *node)
This method estimates how much of the view is covered by the sphere.
vtkSmartPointer< vtkTransform > Transform
void SetDistance(double Distance)
Distance is in Meters Relative to Longitude and Latitude.
a simple class to control print indentation
abstract base class for most VTK objects
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.