#include <vtkGeoArcs.h>
Layout graph edges on a globe as arcs.
vtkGeoArcs produces arcs for each line in the input polydata. This is useful for viewing lines on a sphere (e.g. the earth). The arcs may "jump" above the sphere's surface using ExplodeFactor.
Definition at line 34 of file vtkGeoArcs.h.
Public Types | |
typedef vtkPolyDataAlgorithm | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | SetGlobeRadius (double) |
virtual double | GetGlobeRadius () |
virtual void | SetExplodeFactor (double) |
virtual double | GetExplodeFactor () |
virtual void | SetNumberOfSubdivisions (int) |
virtual int | GetNumberOfSubdivisions () |
Static Public Member Functions | |
static vtkGeoArcs * | New () |
static int | IsTypeOf (const char *type) |
static vtkGeoArcs * | SafeDownCast (vtkObject *o) |
Protected Member Functions | |
vtkGeoArcs () | |
~vtkGeoArcs () | |
int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
Protected Attributes | |
double | GlobeRadius |
double | ExplodeFactor |
int | NumberOfSubdivisions |
vtkGeoArcs::vtkGeoArcs | ( | ) | [protected] |
vtkGeoArcs::~vtkGeoArcs | ( | ) | [inline, protected] |
Definition at line 66 of file vtkGeoArcs.h.
static vtkGeoArcs* vtkGeoArcs::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkPolyDataAlgorithm.
virtual const char* vtkGeoArcs::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkPolyDataAlgorithm.
static int vtkGeoArcs::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 vtkPolyDataAlgorithm.
virtual int vtkGeoArcs::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 vtkPolyDataAlgorithm.
static vtkGeoArcs* vtkGeoArcs::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkPolyDataAlgorithm.
void vtkGeoArcs::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 vtkPolyDataAlgorithm.
virtual void vtkGeoArcs::SetGlobeRadius | ( | double | ) | [virtual] |
The base radius used to determine the earth's surface. Default is the earth's radius in meters.
virtual double vtkGeoArcs::GetGlobeRadius | ( | ) | [virtual] |
The base radius used to determine the earth's surface. Default is the earth's radius in meters.
virtual void vtkGeoArcs::SetExplodeFactor | ( | double | ) | [virtual] |
Factor on which to "explode" the arcs away from the surface. A value of 0.0 keeps the values on the surface. Values larger than 0.0 push the arcs away from the surface by a distance proportional to the distance between the points. The default is 0.2.
virtual double vtkGeoArcs::GetExplodeFactor | ( | ) | [virtual] |
Factor on which to "explode" the arcs away from the surface. A value of 0.0 keeps the values on the surface. Values larger than 0.0 push the arcs away from the surface by a distance proportional to the distance between the points. The default is 0.2.
virtual void vtkGeoArcs::SetNumberOfSubdivisions | ( | int | ) | [virtual] |
The number of subdivisions in the arc. The default is 20.
virtual int vtkGeoArcs::GetNumberOfSubdivisions | ( | ) | [virtual] |
The number of subdivisions in the arc. The default is 20.
int vtkGeoArcs::RequestData | ( | vtkInformation * | request, | |
vtkInformationVector ** | inputVector, | |||
vtkInformationVector * | outputVector | |||
) | [protected, virtual] |
This is called by the superclass. This is the method you should override.
Reimplemented from vtkPolyDataAlgorithm.
double vtkGeoArcs::GlobeRadius [protected] |
Definition at line 70 of file vtkGeoArcs.h.
double vtkGeoArcs::ExplodeFactor [protected] |
Definition at line 71 of file vtkGeoArcs.h.
int vtkGeoArcs::NumberOfSubdivisions [protected] |
Definition at line 72 of file vtkGeoArcs.h.