|
virtual vtkTypeBool | IsA (const char *type) |
| Return 1 if this class is the same type of (or a subclass of) the named class. More...
|
|
vtkGeoCamera * | NewInstance () const |
|
void | PrintSelf (ostream &os, vtkIndent indent) override |
| Methods invoked by print to print information about the object including superclasses. More...
|
|
vtkCamera * | GetVTKCamera () |
| This vtk camera is updated to match this geo cameras state. More...
|
|
void | InitializeNodeAnalysis (int rendererSize[2]) |
| We precompute some values to speed up update of the terrain. More...
|
|
double | GetNodeCoverage (vtkGeoTerrainNode *node) |
| This method estimates how much of the view is covered by the sphere. More...
|
|
|
virtual double * | GetPosition () |
| Get the world position without the origin shift. More...
|
|
virtual void | GetPosition (double &, double &, double &) |
| Get the world position without the origin shift. More...
|
|
virtual void | GetPosition (double [3]) |
| Get the world position without the origin shift. More...
|
|
|
void | SetLongitude (double longitude) |
| Longitude is in degrees: (-180->180) Relative to absolute coordinates. More...
|
|
virtual double | GetLongitude () |
| Longitude is in degrees: (-180->180) Relative to absolute coordinates. More...
|
|
|
void | SetLatitude (double latitude) |
| Latitude is in degrees: (-90->90) Relative to Longitude. More...
|
|
virtual double | GetLatitude () |
| Latitude is in degrees: (-90->90) Relative to Longitude. More...
|
|
|
void | SetDistance (double Distance) |
| Distance is in Meters Relative to Longitude and Latitude. More...
|
|
virtual double | GetDistance () |
| Distance is in Meters Relative to Longitude and Latitude. More...
|
|
|
void | SetHeading (double heading) |
| Heading is in degrees: (-180->180) Relative to Longitude and Latitude. More...
|
|
virtual double | GetHeading () |
| Heading is in degrees: (-180->180) Relative to Longitude and Latitude. More...
|
|
|
void | SetTilt (double tilt) |
| Tilt is also know as pitch. More...
|
|
virtual double | GetTilt () |
| Tilt is also know as pitch. More...
|
|
|
virtual bool | GetLockHeading () |
| Whether to lock the heading a particular value, or to let the heading "roam free" when performing latitude and longitude changes. More...
|
|
virtual void | SetLockHeading (bool) |
| Whether to lock the heading a particular value, or to let the heading "roam free" when performing latitude and longitude changes. More...
|
|
virtual void | LockHeadingOn () |
| Whether to lock the heading a particular value, or to let the heading "roam free" when performing latitude and longitude changes. More...
|
|
virtual void | LockHeadingOff () |
| Whether to lock the heading a particular value, or to let the heading "roam free" when performing latitude and longitude changes. More...
|
|
|
void | SetOriginLatitude (double oLat) |
| This point is shifted to 0,0,0 to avoid openGL issues. More...
|
|
virtual double | GetOriginLatitude () |
| This point is shifted to 0,0,0 to avoid openGL issues. More...
|
|
void | SetOriginLongitude (double oLat) |
| This point is shifted to 0,0,0 to avoid openGL issues. More...
|
|
virtual double | GetOriginLongitude () |
| This point is shifted to 0,0,0 to avoid openGL issues. More...
|
|
|
virtual double * | GetOrigin () |
| Get the rectilinear cooridinate location of the origin. More...
|
|
virtual void | GetOrigin (double &, double &, double &) |
| Get the rectilinear cooridinate location of the origin. More...
|
|
virtual void | GetOrigin (double [3]) |
| Get the rectilinear cooridinate location of the origin. More...
|
|
void | SetOrigin (double ox, double oy, double oz) |
| Get the rectilinear cooridinate location of the origin. More...
|
|
| vtkBaseTypeMacro (vtkObject, vtkObjectBase) |
|
virtual void | DebugOn () |
| Turn debugging output on. More...
|
|
virtual void | DebugOff () |
| Turn debugging output off. More...
|
|
bool | GetDebug () |
| Get the value of the debug flag. More...
|
|
void | SetDebug (bool debugFlag) |
| Set the value of the debug flag. More...
|
|
virtual void | Modified () |
| Update the modification time for this object. More...
|
|
virtual vtkMTimeType | GetMTime () |
| Return this object's modified time. More...
|
|
void | RemoveObserver (unsigned long tag) |
|
void | RemoveObservers (unsigned long event) |
|
void | RemoveObservers (const char *event) |
|
void | RemoveAllObservers () |
|
vtkTypeBool | HasObserver (unsigned long event) |
|
vtkTypeBool | HasObserver (const char *event) |
|
int | InvokeEvent (unsigned long event) |
|
int | InvokeEvent (const char *event) |
|
unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
|
|
unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
|
|
vtkCommand * | GetCommand (unsigned long tag) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
|
|
void | RemoveObserver (vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
|
|
void | RemoveObservers (unsigned long event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
|
|
void | RemoveObservers (const char *event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
|
|
vtkTypeBool | HasObserver (unsigned long event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
|
|
vtkTypeBool | HasObserver (const char *event, vtkCommand *) |
| Allow people to add/remove/invoke observers (callbacks) to any VTK object. More...
|
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
| Overloads to AddObserver that allow developers to add class member functions as callbacks for events. More...
|
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| Overloads to AddObserver that allow developers to add class member functions as callbacks for events. More...
|
|
template<class U , class T > |
unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| Allow user to set the AbortFlagOn() with the return value of the callback method. More...
|
|
int | InvokeEvent (unsigned long event, void *callData) |
| This method invokes an event and return whether the event was aborted or not. More...
|
|
int | InvokeEvent (const char *event, void *callData) |
| This method invokes an event and return whether the event was aborted or not. More...
|
|
const char * | GetClassName () const |
| Return the class name as a string. More...
|
|
virtual void | Delete () |
| Delete a VTK object. More...
|
|
virtual void | FastDelete () |
| Delete a reference to this object. More...
|
|
void | InitializeObjectBase () |
|
void | Print (ostream &os) |
| Print an object to an ostream. More...
|
|
virtual void | Register (vtkObjectBase *o) |
| Increase the reference count (mark as used by another object). More...
|
|
virtual void | UnRegister (vtkObjectBase *o) |
| Decrease the reference count (release by another object). More...
|
|
int | GetReferenceCount () |
| Return the current reference count of this object. More...
|
|
void | SetReferenceCount (int) |
| Sets the reference count. More...
|
|
void | PrintRevisions (ostream &) |
| Legacy. More...
|
|
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
| Methods invoked by print to print information about the object including superclasses. More...
|
|
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
| Methods invoked by print to print information about the object including superclasses. More...
|
|
Geo interface to a camera.
I wanted to hide the normal vtkCamera API so I did not make this a subclass. The camera is a helper object. You can get a pointer to the camera, but it should be treated like a const.
View up of the camera is restricted so there is no roll relative to the earth. I am going to keep view up of the camera orthogonalized to avoid the singularity that exists when the camera is pointing straight down. In this case, view up is the same as heading.
The state of the view is specified by the vector: (Longitude,Latitude,Distance,Heading,Tilt). Longitude in degrees: (-180->180) Relative to absolute coordinates. Latitude in degrees: (-90->90) Relative to Longitude. Distance in Meters Relative to Longitude and Latitude. above sea level ???? should we make this from center of earth ???? ???? what about equatorial bulge ???? Heading in degrees: (-180->180) Relative to Longitude and Latitude. 0 is north. 90 is east. ???? what is the standard ???? 180 is south. -90 is west. Tilt in degrees: (0->90) Relative to Longitude, Latitude, Distance and Heading.
Transformation: Post concatenate. All rotations use right hand rule and are around (0,0,0) (earth center). (0,0,0,0,0) is this rectilinear point (0, EarthRadius, 0) pointing (0,0,1), view up (0,1,0).
Rotate Tilt around x axis, Rotate Heading around -y axis Center, Translate EarthRadius in y direction. Rotate Latitude around x axis by Latitude, Rotate Longitude around z axis (earth axis),
- See also
- vtkGeoInteractorStyle vtkCamera
Definition at line 84 of file vtkGeoCamera.h.