#include <vtkGeoTransform.h>
This class takes two geographic projections and transforms point coordinates between them.
Definition at line 37 of file vtkGeoTransform.h.
Public Types | |
typedef vtkAbstractTransform | Superclass |
Public Member Functions | |
virtual void | PrintSelf (ostream &os, vtkIndent indent) |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
virtual void | TransformPoints (vtkPoints *src, vtkPoints *dst) |
virtual void | Inverse () |
virtual vtkAbstractTransform * | MakeTransform () |
void | SetSourceProjection (vtkGeoProjection *source) |
virtual vtkGeoProjection * | GetSourceProjection () |
void | SetDestinationProjection (vtkGeoProjection *dest) |
virtual vtkGeoProjection * | GetDestinationProjection () |
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]) |
Static Public Member Functions | |
static vtkGeoTransform * | New () |
static int | IsTypeOf (const char *type) |
static vtkGeoTransform * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkGeoTransform () | |
virtual | ~vtkGeoTransform () |
void | InternalTransformPoints (double *ptsInOut, vtkIdType numPts, int stride) |
Protected Attributes | |
vtkGeoProjection * | SourceProjection |
vtkGeoProjection * | DestinationProjection |
vtkGeoTransform::vtkGeoTransform | ( | ) | [protected] |
virtual vtkGeoTransform::~vtkGeoTransform | ( | ) | [protected, virtual] |
static vtkGeoTransform* vtkGeoTransform::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkObject.
virtual void vtkGeoTransform::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.
virtual const char* vtkGeoTransform::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkAbstractTransform.
static int vtkGeoTransform::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkAbstractTransform.
virtual int vtkGeoTransform::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 vtkTypeRevisionMacro found in vtkSetGet.h.
Reimplemented from vtkAbstractTransform.
static vtkGeoTransform* vtkGeoTransform::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkAbstractTransform.
void vtkGeoTransform::SetSourceProjection | ( | vtkGeoProjection * | source | ) |
The source geographic projection.
virtual vtkGeoProjection* vtkGeoTransform::GetSourceProjection | ( | ) | [virtual] |
The source geographic projection.
void vtkGeoTransform::SetDestinationProjection | ( | vtkGeoProjection * | dest | ) |
The target geographic projection.
virtual vtkGeoProjection* vtkGeoTransform::GetDestinationProjection | ( | ) | [virtual] |
The target geographic projection.
Transform many points at once.
Reimplemented from vtkAbstractTransform.
virtual void vtkGeoTransform::Inverse | ( | ) | [virtual] |
Invert the transformation.
Implements vtkAbstractTransform.
virtual void vtkGeoTransform::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 vtkGeoTransform::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 vtkGeoTransform::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 vtkGeoTransform::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* vtkGeoTransform::MakeTransform | ( | ) | [virtual] |
Make another transform of the same type.
Implements vtkAbstractTransform.
void vtkGeoTransform::InternalTransformPoints | ( | double * | ptsInOut, | |
vtkIdType | numPts, | |||
int | stride | |||
) | [protected] |
vtkGeoProjection* vtkGeoTransform::SourceProjection [protected] |
Definition at line 87 of file vtkGeoTransform.h.
vtkGeoProjection* vtkGeoTransform::DestinationProjection [protected] |
Definition at line 88 of file vtkGeoTransform.h.