vtkGeoAssignCoordinates Class Reference

#include <vtkGeoAssignCoordinates.h>

Inheritance diagram for vtkGeoAssignCoordinates:

Inheritance graph
[legend]
Collaboration diagram for vtkGeoAssignCoordinates:

Collaboration graph
[legend]

List of all members.


Detailed Description

Given latitude and longitude arrays, take the values in those arrays and convert them to x,y,z world coordinates.

Givem latitude and longitude arrays, take the values in those arrays and convert them to x,y,z world coordinates. Uses a spherical model of the earth to do the conversion. The position is in meters relative to the center of the earth.

If a transform is given, use the transform to convert latitude and longitude to the world coordinate.

Tests:
vtkGeoAssignCoordinates (Tests)

Definition at line 44 of file vtkGeoAssignCoordinates.h.


Public Types

typedef vtkPassInputTypeAlgorithm Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetLongitudeArrayName (const char *)
virtual char * GetLongitudeArrayName ()
virtual void SetLatitudeArrayName (const char *)
virtual char * GetLatitudeArrayName ()
virtual void SetGlobeRadius (double)
virtual double GetGlobeRadius ()
virtual void SetTransform (vtkAbstractTransform *trans)
virtual vtkAbstractTransformGetTransform ()
virtual void SetCoordinatesInArrays (bool)
virtual bool GetCoordinatesInArrays ()
virtual void CoordinatesInArraysOn ()
virtual void CoordinatesInArraysOff ()

Static Public Member Functions

static vtkGeoAssignCoordinatesNew ()
static int IsTypeOf (const char *type)
static vtkGeoAssignCoordinatesSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkGeoAssignCoordinates ()
 ~vtkGeoAssignCoordinates ()
int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
int FillInputPortInformation (int port, vtkInformation *info)

Member Typedef Documentation

Reimplemented from vtkPassInputTypeAlgorithm.

Definition at line 49 of file vtkGeoAssignCoordinates.h.


Constructor & Destructor Documentation

vtkGeoAssignCoordinates::vtkGeoAssignCoordinates (  )  [protected]

vtkGeoAssignCoordinates::~vtkGeoAssignCoordinates (  )  [protected]


Member Function Documentation

static vtkGeoAssignCoordinates* vtkGeoAssignCoordinates::New (  )  [static]

Create an object with Debug turned off, modified time initialized to zero, and reference counting on.

Reimplemented from vtkPassInputTypeAlgorithm.

virtual const char* vtkGeoAssignCoordinates::GetClassName (  )  [virtual]

Reimplemented from vtkPassInputTypeAlgorithm.

static int vtkGeoAssignCoordinates::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 vtkPassInputTypeAlgorithm.

virtual int vtkGeoAssignCoordinates::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 vtkPassInputTypeAlgorithm.

static vtkGeoAssignCoordinates* vtkGeoAssignCoordinates::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkPassInputTypeAlgorithm.

void vtkGeoAssignCoordinates::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 vtkPassInputTypeAlgorithm.

virtual void vtkGeoAssignCoordinates::SetLongitudeArrayName ( const char *   )  [virtual]

Set the longitude coordinate array name.

virtual char* vtkGeoAssignCoordinates::GetLongitudeArrayName (  )  [virtual]

Set the longitude coordinate array name.

virtual void vtkGeoAssignCoordinates::SetLatitudeArrayName ( const char *   )  [virtual]

Set the latitude coordinate array name.

virtual char* vtkGeoAssignCoordinates::GetLatitudeArrayName (  )  [virtual]

Set the latitude coordinate array name.

virtual void vtkGeoAssignCoordinates::SetGlobeRadius ( double   )  [virtual]

The base radius to use in GLOBAL mode. Default is the earth's radius.

virtual double vtkGeoAssignCoordinates::GetGlobeRadius (  )  [virtual]

The base radius to use in GLOBAL mode. Default is the earth's radius.

virtual void vtkGeoAssignCoordinates::SetTransform ( vtkAbstractTransform trans  )  [virtual]

The transform to use to convert coordinates of the form (lat, long, 0) to (x, y z). If this is NULL (the default), use GlobeRadius to perform a spherical embedding.

virtual vtkAbstractTransform* vtkGeoAssignCoordinates::GetTransform (  )  [virtual]

The transform to use to convert coordinates of the form (lat, long, 0) to (x, y z). If this is NULL (the default), use GlobeRadius to perform a spherical embedding.

virtual void vtkGeoAssignCoordinates::SetCoordinatesInArrays ( bool   )  [virtual]

If on, uses LatitudeArrayName and LongitudeArrayName to move values in data arrays into the points of the data set. Turn off if the lattitude and longitude are already in the points.

virtual bool vtkGeoAssignCoordinates::GetCoordinatesInArrays (  )  [virtual]

If on, uses LatitudeArrayName and LongitudeArrayName to move values in data arrays into the points of the data set. Turn off if the lattitude and longitude are already in the points.

virtual void vtkGeoAssignCoordinates::CoordinatesInArraysOn (  )  [virtual]

If on, uses LatitudeArrayName and LongitudeArrayName to move values in data arrays into the points of the data set. Turn off if the lattitude and longitude are already in the points.

virtual void vtkGeoAssignCoordinates::CoordinatesInArraysOff (  )  [virtual]

If on, uses LatitudeArrayName and LongitudeArrayName to move values in data arrays into the points of the data set. Turn off if the lattitude and longitude are already in the points.

int vtkGeoAssignCoordinates::RequestData ( vtkInformation ,
vtkInformationVector **  ,
vtkInformationVector  
) [protected, virtual]

This is called within ProcessRequest when a request asks the algorithm to do its work. This is the method you should override to do whatever the algorithm is designed to do. This happens during the fourth pass in the pipeline execution process.

Reimplemented from vtkPassInputTypeAlgorithm.

int vtkGeoAssignCoordinates::FillInputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkPassInputTypeAlgorithm.


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

Generated on Wed Jun 3 19:04:53 2009 for VTK by  doxygen 1.5.6