VTK
|
A transformation between long-lat-alt and rect coords. More...
#include <vtkGeoSphereTransform.h>
Public Types | |
typedef vtkAbstractTransform | Superclass |
Public Member Functions | |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int | IsA (const char *type) |
vtkGeoSphereTransform * | NewInstance () const |
virtual void | Inverse () |
virtual vtkAbstractTransform * | MakeTransform () |
virtual void | InternalTransformPoint (const float in[3], float out[3]) |
virtual void | InternalTransformPoint (const double in[3], double out[3]) |
virtual void | InternalTransformDerivative (const float in[3], float out[3], float derivative[3][3]) |
virtual void | InternalTransformDerivative (const double in[3], double out[3], double derivative[3][3]) |
virtual void | SetToRectangular (bool) |
virtual bool | GetToRectangular () |
virtual void | ToRectangularOn () |
virtual void | ToRectangularOff () |
virtual void | SetBaseAltitude (double) |
virtual double | GetBaseAltitude () |
Static Public Member Functions | |
static vtkGeoSphereTransform * | New () |
static int | IsTypeOf (const char *type) |
static vtkGeoSphereTransform * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkGeoSphereTransform () | |
virtual | ~vtkGeoSphereTransform () |
Protected Attributes | |
bool | ToRectangular |
double | BaseAltitude |
A transformation between long-lat-alt and rect coords.
the cartesian coordinate system is the following (if BaseAltitude is 0),
Definition at line 39 of file vtkGeoSphereTransform.h.
Reimplemented from vtkAbstractTransform.
Definition at line 44 of file vtkGeoSphereTransform.h.
vtkGeoSphereTransform::vtkGeoSphereTransform | ( | ) | [protected] |
virtual vtkGeoSphereTransform::~vtkGeoSphereTransform | ( | ) | [protected, virtual] |
static vtkGeoSphereTransform* vtkGeoSphereTransform::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
virtual void vtkGeoSphereTransform::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) | [virtual] |
Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.
Reimplemented from vtkAbstractTransform.
static int vtkGeoSphereTransform::IsTypeOf | ( | const char * | name | ) | [static] |
Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkAbstractTransform.
virtual int vtkGeoSphereTransform::IsA | ( | const char * | name | ) | [virtual] |
Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkAbstractTransform.
static vtkGeoSphereTransform* vtkGeoSphereTransform::SafeDownCast | ( | vtkObjectBase * | o | ) | [static] |
Reimplemented from vtkAbstractTransform.
virtual vtkObjectBase* vtkGeoSphereTransform::NewInstanceInternal | ( | ) | const [protected, virtual] |
Reimplemented from vtkAbstractTransform.
Reimplemented from vtkAbstractTransform.
virtual void vtkGeoSphereTransform::Inverse | ( | ) | [virtual] |
Invert the transformation.
Implements vtkAbstractTransform.
virtual void vtkGeoSphereTransform::InternalTransformPoint | ( | const float | in[3], |
float | out[3] | ||
) | [virtual] |
This will calculate the transformation without calling Update. Meant for use only within other VTK classes.
Implements vtkAbstractTransform.
virtual void vtkGeoSphereTransform::InternalTransformPoint | ( | const double | in[3], |
double | out[3] | ||
) | [virtual] |
This will calculate the transformation without calling Update. Meant for use only within other VTK classes.
Implements vtkAbstractTransform.
virtual void vtkGeoSphereTransform::InternalTransformDerivative | ( | const float | in[3], |
float | out[3], | ||
float | derivative[3][3] | ||
) | [virtual] |
This will transform a point and, at the same time, calculate a 3x3 Jacobian matrix that provides the partial derivatives of the transformation at that point. This method does not call Update. Meant for use only within other VTK classes.
Implements vtkAbstractTransform.
virtual void vtkGeoSphereTransform::InternalTransformDerivative | ( | const double | in[3], |
double | out[3], | ||
double | derivative[3][3] | ||
) | [virtual] |
This will transform a point and, at the same time, calculate a 3x3 Jacobian matrix that provides the partial derivatives of the transformation at that point. This method does not call Update. Meant for use only within other VTK classes.
Implements vtkAbstractTransform.
virtual vtkAbstractTransform* vtkGeoSphereTransform::MakeTransform | ( | ) | [virtual] |
Make another transform of the same type.
Implements vtkAbstractTransform.
virtual void vtkGeoSphereTransform::SetToRectangular | ( | bool | ) | [virtual] |
If on, this transform converts (long,lat,alt) triples to (x,y,z) as an offset from the center of the earth. Alt, x, y, and z are all be in meters. If off, the transform works in the reverse direction. Initial value is on.
virtual bool vtkGeoSphereTransform::GetToRectangular | ( | ) | [virtual] |
If on, this transform converts (long,lat,alt) triples to (x,y,z) as an offset from the center of the earth. Alt, x, y, and z are all be in meters. If off, the transform works in the reverse direction. Initial value is on.
virtual void vtkGeoSphereTransform::ToRectangularOn | ( | ) | [virtual] |
If on, this transform converts (long,lat,alt) triples to (x,y,z) as an offset from the center of the earth. Alt, x, y, and z are all be in meters. If off, the transform works in the reverse direction. Initial value is on.
virtual void vtkGeoSphereTransform::ToRectangularOff | ( | ) | [virtual] |
If on, this transform converts (long,lat,alt) triples to (x,y,z) as an offset from the center of the earth. Alt, x, y, and z are all be in meters. If off, the transform works in the reverse direction. Initial value is on.
virtual void vtkGeoSphereTransform::SetBaseAltitude | ( | double | ) | [virtual] |
The base altitude to transform coordinates to. This can be useful for transforming lines just above the earth's surface. Default is 0.
virtual double vtkGeoSphereTransform::GetBaseAltitude | ( | ) | [virtual] |
The base altitude to transform coordinates to. This can be useful for transforming lines just above the earth's surface. Default is 0.
bool vtkGeoSphereTransform::ToRectangular [protected] |
Definition at line 89 of file vtkGeoSphereTransform.h.
double vtkGeoSphereTransform::BaseAltitude [protected] |
Definition at line 90 of file vtkGeoSphereTransform.h.