Go to the documentation of this file.
72 #ifndef vtkGeoCamera_h
73 #define vtkGeoCamera_h
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;
vtkCamera * GetVTKCamera()
This vtk camera is updated to match this geo cameras state.
vtkSmartPointer< vtkTransform > Transform
static vtkGeoCamera * New()
void SetHeading(double heading)
Heading is in degrees: (-180->180) Relative to Logitude and Latitude.
vtkSmartPointer< vtkCamera > VTKCamera
void InitializeNodeAnalysis(int rendererSize[2])
We precompute some values to speed up update of the terrain.
abstract base class for most VTK objects
void SetOriginLongitude(double oLat)
a simple class to control print indentation
a virtual camera for 3D rendering
Geo interface to a camera.
void SetLongitude(double longitude)
Longitude is in degrees: (-180->180) Relative to absolute coordinates.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
void SetDistance(double Distance)
Distance is in Meters Relative to Longitude and Latitude.
void ComputeRectilinearOrigin()
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
void SetTilt(double tilt)
Tilt is also know as pitch.
double GetNodeCoverage(vtkGeoTerrainNode *node)
This method estimates how much of the view is covered by the sphere.
void SetLatitude(double latitude)
Latitude is in degrees: (-90->90) Relative to Longitude.
void SetOriginLatitude(double oLat)
This point is shifted to 0,0,0 to avoid openGL issues.
void SetOrigin(double ox, double oy, double oz)
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.