#include <vtkGeoAssignCoordinates.h>
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.
Definition at line 44 of file vtkGeoAssignCoordinates.h.
Reimplemented from vtkPassInputTypeAlgorithm.
Definition at line 49 of file vtkGeoAssignCoordinates.h.
vtkGeoAssignCoordinates::vtkGeoAssignCoordinates | ( | ) | [protected] |
vtkGeoAssignCoordinates::~vtkGeoAssignCoordinates | ( | ) | [protected] |
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.