VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkGeoSphereTransform Class Reference

A transformation between long-lat-alt and rect coords. More...

#include <vtkGeoSphereTransform.h>

Inheritance diagram for vtkGeoSphereTransform:
Inheritance graph
[legend]
Collaboration diagram for vtkGeoSphereTransform:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkAbstractTransform Superclass

Public Member Functions

virtual void PrintSelf (ostream &os, vtkIndent indent)
virtual int IsA (const char *type)
vtkGeoSphereTransformNewInstance () const
virtual void Inverse ()
virtual vtkAbstractTransformMakeTransform ()
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 vtkGeoSphereTransformNew ()
static int IsTypeOf (const char *type)
static vtkGeoSphereTransformSafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkGeoSphereTransform ()
virtual ~vtkGeoSphereTransform ()

Protected Attributes

bool ToRectangular
double BaseAltitude

Detailed Description

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.


Member Typedef Documentation

Reimplemented from vtkAbstractTransform.

Definition at line 44 of file vtkGeoSphereTransform.h.


Constructor & Destructor Documentation

virtual vtkGeoSphereTransform::~vtkGeoSphereTransform ( ) [protected, virtual]

Member Function Documentation

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.

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.

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.

The base altitude to transform coordinates to. This can be useful for transforming lines just above the earth's surface. Default is 0.


Member Data Documentation

Definition at line 89 of file vtkGeoSphereTransform.h.

Definition at line 90 of file vtkGeoSphereTransform.h.


The documentation for this class was generated from the following file: