Go to the documentation of this file.
72 #ifndef vtkGeoCamera_h
73 #define vtkGeoCamera_h
75 #include "vtkGeovisCoreModule.h"
83 #if !defined(VTK_LEGACY_REMOVE)
95 vtkGetVector3Macro(Position,
double);
105 vtkGetMacro(Longitude,
double);
115 vtkGetMacro(Latitude,
double);
126 vtkGetMacro(Distance,
double);
140 vtkGetMacro(Heading,
double);
151 vtkGetMacro(Tilt,
double);
179 vtkGetMacro(LockHeading,
bool);
180 vtkSetMacro(LockHeading,
bool);
181 vtkBooleanMacro(LockHeading,
bool);
189 vtkGetMacro(OriginLatitude,
double);
191 vtkGetMacro(OriginLongitude,
double);
199 vtkGetVector3Macro(Origin,
double);
201 this->Origin[0] = ox; this->Origin[1] = oy; this->Origin[2] = oz;
202 this->UpdateVTKCamera();
231 double ForwardNormal[3];
232 double RightNormal[3];
237 double LeftPlaneNormal[3];
238 double RightPlaneNormal[3];
239 double DownPlaneNormal[3];
240 double UpPlaneNormal[3];
249 #endif //VTK_LEGACY_REMOVE
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 Longitude 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.
void SetDistance(double Distance)
Distance is in Meters Relative to Longitude and Latitude.
void ComputeRectilinearOrigin()
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 PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void SetOriginLatitude(double oLat)
This point is shifted to 0,0,0 to avoid openGL issues.
void SetOrigin(double ox, double oy, double oz)