VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
vtkGeoAssignCoordinates Class Reference

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

#include <vtkGeoAssignCoordinates.h>

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

List of all members.

Public Types

typedef vtkPassInputTypeAlgorithm Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkGeoAssignCoordinatesNewInstance () const
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 (vtkObjectBase *o)

Protected Member Functions

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

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 45 of file vtkGeoAssignCoordinates.h.


Member Typedef Documentation

Reimplemented from vtkPassInputTypeAlgorithm.

Definition at line 50 of file vtkGeoAssignCoordinates.h.


Constructor & Destructor Documentation


Member Function Documentation

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

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 vtkTypeMacro 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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkPassInputTypeAlgorithm.

Reimplemented from vtkPassInputTypeAlgorithm.

virtual vtkObjectBase* vtkGeoAssignCoordinates::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkPassInputTypeAlgorithm.

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.

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.

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.

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 latitude and longitude are already in the points.

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

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

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

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: