vtkGeoGraphRepresentation2D Class Reference

#include <vtkGeoGraphRepresentation2D.h>

Inheritance diagram for vtkGeoGraphRepresentation2D:

Inheritance graph
[legend]
Collaboration diagram for vtkGeoGraphRepresentation2D:

Collaboration graph
[legend]

List of all members.


Detailed Description

Displays a graph on a 2D earth view.

vtkGeoGraphRepresentation2D is used to show a graph in a 2D geo view. Set the graph input with SetInputConnection(), set the projection of the view with SetTransform(), then add the representation to a vtkGeoView2D.

See also:
vtkGeoView2D
Tests:
vtkGeoGraphRepresentation2D (Tests)

Definition at line 64 of file vtkGeoGraphRepresentation2D.h.


Public Types

typedef vtkDataRepresentation Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetInputConnection (vtkAlgorithmOutput *conn)
void ApplyViewTheme (vtkViewTheme *theme)
virtual void PrepareForRendering ()
virtual void SetVertexLabelArrayName (const char *name)
virtual const char * GetVertexLabelArrayName ()
virtual void SetVertexLabelVisibility (bool b)
virtual bool GetVertexLabelVisibility ()
virtual void VertexLabelVisibilityOn ()
virtual void VertexLabelVisibilityOff ()
virtual void SetLatitudeArrayName (const char *name)
virtual const char * GetLatitudeArrayName ()
virtual void SetLongitudeArrayName (const char *name)
virtual const char * GetLongitudeArrayName ()
void SetVertexLabelFontSize (int size)
int GetVertexLabelFontSize ()
void SetColorVertices (bool b)
bool GetColorVertices ()
virtual void ColorVerticesOn ()
virtual void ColorVerticesOff ()
void SetVertexColorArrayName (const char *name)
const char * GetVertexColorArrayName ()
void SetEdgeLabelVisibility (bool b)
bool GetEdgeLabelVisibility ()
virtual void EdgeLabelVisibilityOn ()
virtual void EdgeLabelVisibilityOff ()
void SetEdgeLabelArrayName (const char *name)
const char * GetEdgeLabelArrayName ()
virtual void SetEdgeLayoutStrategy (vtkEdgeLayoutStrategy *strategy)
virtual vtkEdgeLayoutStrategyGetEdgeLayoutStrategy ()
virtual void SetEdgeLayoutStrategyToArcParallel ()
virtual void SetEdgeLayoutStrategyToPassThrough ()
void SetEdgeLabelFontSize (int size)
int GetEdgeLabelFontSize ()
void SetColorEdges (bool b)
bool GetColorEdges ()
virtual void ColorEdgesOn ()
virtual void ColorEdgesOff ()
void SetEdgeColorArrayName (const char *name)
const char * GetEdgeColorArrayName ()
void SetTransform (vtkAbstractTransform *trans)
vtkAbstractTransformGetTransform ()
void SetUseLabelHierarchy (bool b)
virtual bool GetUseLabelHierarchy ()
virtual void UseLabelHierarchyOn ()
virtual void UseLabelHierarchyOff ()

Static Public Member Functions

static
vtkGeoGraphRepresentation2D
New ()
static int IsTypeOf (const char *type)
static
vtkGeoGraphRepresentation2D
SafeDownCast (vtkObject *o)

Protected Member Functions

 vtkGeoGraphRepresentation2D ()
 ~vtkGeoGraphRepresentation2D ()
virtual bool AddToView (vtkView *view)
virtual bool RemoveFromView (vtkView *view)
virtual vtkSelectionConvertSelection (vtkView *view, vtkSelection *selection)

Protected Attributes

bool UseLabelHierarchy
vtkSmartPointer
< vtkGeoAssignCoordinates
AssignCoordinates
vtkSmartPointer
< vtkPerturbCoincidentVertices
PerturbCoincidentVertices
vtkSmartPointer
< vtkLabelSizeCalculator
LabelSize
vtkSmartPointer
< vtkPointSetToLabelHierarchy
LabelHierarchy
vtkSmartPointer< vtkLabelPlacerLabelPlacer
vtkSmartPointer
< vtkLabeledDataMapper
LabelMapper
vtkSmartPointer< vtkActor2DLabelActor
vtkSmartPointer
< vtkDynamic2DLabelMapper
DynamicLabelMapper
vtkSmartPointer< vtkActor2DDynamicLabelActor
vtkSmartPointer< vtkEdgeLayoutEdgeLayout
vtkSmartPointer< vtkGraphMapperGraphMapper
vtkSmartPointer< vtkActorGraphActor
vtkSmartPointer
< vtkGraphToPolyData
GraphToPolyData
vtkSmartPointer< vtkEdgeCentersEdgeCenters
vtkSmartPointer
< vtkDynamic2DLabelMapper
EdgeLabelMapper
vtkSmartPointer< vtkActor2DEdgeLabelActor
vtkSmartPointer
< vtkExtractSelectedGraph
ExtractSelection
vtkSmartPointer< vtkGraphMapperSelectionMapper
vtkSmartPointer< vtkActorSelectionActor

Member Typedef Documentation

Reimplemented from vtkDataRepresentation.

Definition at line 68 of file vtkGeoGraphRepresentation2D.h.


Constructor & Destructor Documentation

vtkGeoGraphRepresentation2D::vtkGeoGraphRepresentation2D (  )  [protected]

vtkGeoGraphRepresentation2D::~vtkGeoGraphRepresentation2D (  )  [protected]


Member Function Documentation

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

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

Reimplemented from vtkDataRepresentation.

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

Reimplemented from vtkDataRepresentation.

static int vtkGeoGraphRepresentation2D::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 vtkDataRepresentation.

virtual int vtkGeoGraphRepresentation2D::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 vtkDataRepresentation.

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

Reimplemented from vtkDataRepresentation.

void vtkGeoGraphRepresentation2D::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 vtkDataRepresentation.

virtual void vtkGeoGraphRepresentation2D::SetInputConnection ( vtkAlgorithmOutput conn  )  [virtual]

Sets the input pipeGraph connection to this representation.

Reimplemented from vtkDataRepresentation.

virtual void vtkGeoGraphRepresentation2D::SetVertexLabelArrayName ( const char *  name  )  [virtual]

The array to use for vertex labeling. Default is "label".

virtual const char* vtkGeoGraphRepresentation2D::GetVertexLabelArrayName (  )  [virtual]

The array to use for vertex labeling. Default is "label".

virtual void vtkGeoGraphRepresentation2D::SetVertexLabelVisibility ( bool  b  )  [virtual]

Whether to show vertex labels.

virtual bool vtkGeoGraphRepresentation2D::GetVertexLabelVisibility (  )  [virtual]

Whether to show vertex labels.

virtual void vtkGeoGraphRepresentation2D::VertexLabelVisibilityOn (  )  [virtual]

Whether to show vertex labels.

virtual void vtkGeoGraphRepresentation2D::VertexLabelVisibilityOff (  )  [virtual]

Whether to show vertex labels.

virtual void vtkGeoGraphRepresentation2D::SetLatitudeArrayName ( const char *  name  )  [virtual]

The point array holding the latitude.

virtual const char* vtkGeoGraphRepresentation2D::GetLatitudeArrayName (  )  [virtual]

The point array holding the latitude.

virtual void vtkGeoGraphRepresentation2D::SetLongitudeArrayName ( const char *  name  )  [virtual]

The point array holding the longitude.

virtual const char* vtkGeoGraphRepresentation2D::GetLongitudeArrayName (  )  [virtual]

The point array holding the longitude.

void vtkGeoGraphRepresentation2D::SetVertexLabelFontSize ( int  size  ) 

The size of the vertex labels in pixels.

int vtkGeoGraphRepresentation2D::GetVertexLabelFontSize (  ) 

The size of the vertex labels in pixels.

void vtkGeoGraphRepresentation2D::SetColorVertices ( bool  b  ) 

Whether to color vertices using a data array.

bool vtkGeoGraphRepresentation2D::GetColorVertices (  ) 

Whether to color vertices using a data array.

virtual void vtkGeoGraphRepresentation2D::ColorVerticesOn (  )  [virtual]

Whether to color vertices using a data array.

virtual void vtkGeoGraphRepresentation2D::ColorVerticesOff (  )  [virtual]

Whether to color vertices using a data array.

void vtkGeoGraphRepresentation2D::SetVertexColorArrayName ( const char *  name  ) 

The data array to use to color vertices.

const char* vtkGeoGraphRepresentation2D::GetVertexColorArrayName (  ) 

The data array to use to color vertices.

void vtkGeoGraphRepresentation2D::SetEdgeLabelVisibility ( bool  b  ) 

Whether to show edge labels.

bool vtkGeoGraphRepresentation2D::GetEdgeLabelVisibility (  ) 

Whether to show edge labels.

virtual void vtkGeoGraphRepresentation2D::EdgeLabelVisibilityOn (  )  [virtual]

Whether to show edge labels.

virtual void vtkGeoGraphRepresentation2D::EdgeLabelVisibilityOff (  )  [virtual]

Whether to show edge labels.

void vtkGeoGraphRepresentation2D::SetEdgeLabelArrayName ( const char *  name  ) 

The data array to use for labelling edges.

const char* vtkGeoGraphRepresentation2D::GetEdgeLabelArrayName (  ) 

The data array to use for labelling edges.

virtual void vtkGeoGraphRepresentation2D::SetEdgeLayoutStrategy ( vtkEdgeLayoutStrategy strategy  )  [virtual]

The edge layout strategy to use. The default is vtkArcParallelEdgeStrategy.

virtual vtkEdgeLayoutStrategy* vtkGeoGraphRepresentation2D::GetEdgeLayoutStrategy (  )  [virtual]

The edge layout strategy to use. The default is vtkArcParallelEdgeStrategy.

virtual void vtkGeoGraphRepresentation2D::SetEdgeLayoutStrategyToArcParallel (  )  [virtual]

The edge layout strategy to use. The default is vtkArcParallelEdgeStrategy.

virtual void vtkGeoGraphRepresentation2D::SetEdgeLayoutStrategyToPassThrough (  )  [virtual]

The edge layout strategy to use. The default is vtkArcParallelEdgeStrategy.

void vtkGeoGraphRepresentation2D::SetEdgeLabelFontSize ( int  size  ) 

The size of edge labels in pixels.

int vtkGeoGraphRepresentation2D::GetEdgeLabelFontSize (  ) 

The size of edge labels in pixels.

void vtkGeoGraphRepresentation2D::SetColorEdges ( bool  b  ) 

Whether to color edges using a data array.

bool vtkGeoGraphRepresentation2D::GetColorEdges (  ) 

Whether to color edges using a data array.

virtual void vtkGeoGraphRepresentation2D::ColorEdgesOn (  )  [virtual]

Whether to color edges using a data array.

virtual void vtkGeoGraphRepresentation2D::ColorEdgesOff (  )  [virtual]

Whether to color edges using a data array.

void vtkGeoGraphRepresentation2D::SetEdgeColorArrayName ( const char *  name  ) 

The data array to use for coloring edges.

const char* vtkGeoGraphRepresentation2D::GetEdgeColorArrayName (  ) 

The data array to use for coloring edges.

void vtkGeoGraphRepresentation2D::SetTransform ( vtkAbstractTransform trans  ) 

The transform used in vtkGeoAssignCoordinates to transform the vertex locations from lat/long to world coordinates.

vtkAbstractTransform* vtkGeoGraphRepresentation2D::GetTransform (  ) 

The transform used in vtkGeoAssignCoordinates to transform the vertex locations from lat/long to world coordinates.

void vtkGeoGraphRepresentation2D::ApplyViewTheme ( vtkViewTheme theme  ) 

Apply a theme to this view.

virtual void vtkGeoGraphRepresentation2D::PrepareForRendering (  )  [virtual]

Called by the view when the renderer is about to render.

void vtkGeoGraphRepresentation2D::SetUseLabelHierarchy ( bool  b  ) 

When on uses vtkLabelPlacer otherwise use older vtkDynamic2DLabelMapper, which has O(n^2) preprocessing time.

virtual bool vtkGeoGraphRepresentation2D::GetUseLabelHierarchy (  )  [virtual]

When on uses vtkLabelPlacer otherwise use older vtkDynamic2DLabelMapper, which has O(n^2) preprocessing time.

virtual void vtkGeoGraphRepresentation2D::UseLabelHierarchyOn (  )  [virtual]

When on uses vtkLabelPlacer otherwise use older vtkDynamic2DLabelMapper, which has O(n^2) preprocessing time.

virtual void vtkGeoGraphRepresentation2D::UseLabelHierarchyOff (  )  [virtual]

When on uses vtkLabelPlacer otherwise use older vtkDynamic2DLabelMapper, which has O(n^2) preprocessing time.

virtual bool vtkGeoGraphRepresentation2D::AddToView ( vtkView view  )  [protected, virtual]

Adds the representation to the view. This is called from vtkView::AddRepresentation().

virtual bool vtkGeoGraphRepresentation2D::RemoveFromView ( vtkView view  )  [protected, virtual]

Removes the representation to the view. This is called from vtkView::RemoveRepresentation().

virtual vtkSelection* vtkGeoGraphRepresentation2D::ConvertSelection ( vtkView view,
vtkSelection selection 
) [protected, virtual]

Convert the selection to a type appropriate for sharing with other representations through vtkSelectionLink. If the selection cannot be applied to this representation, returns NULL.

Reimplemented from vtkDataRepresentation.


Member Data Documentation

Internal pipeline objects.

Definition at line 200 of file vtkGeoGraphRepresentation2D.h.

Internal pipeline objects.

Definition at line 201 of file vtkGeoGraphRepresentation2D.h.

Internal pipeline objects.

Definition at line 202 of file vtkGeoGraphRepresentation2D.h.

Internal pipeline objects.

Definition at line 203 of file vtkGeoGraphRepresentation2D.h.

Internal pipeline objects.

Definition at line 204 of file vtkGeoGraphRepresentation2D.h.

Internal pipeline objects.

Definition at line 205 of file vtkGeoGraphRepresentation2D.h.

Internal pipeline objects.

Definition at line 206 of file vtkGeoGraphRepresentation2D.h.

Internal pipeline objects.

Definition at line 207 of file vtkGeoGraphRepresentation2D.h.

Internal pipeline objects.

Definition at line 208 of file vtkGeoGraphRepresentation2D.h.

Internal pipeline objects.

Definition at line 209 of file vtkGeoGraphRepresentation2D.h.

Internal pipeline objects.

Definition at line 210 of file vtkGeoGraphRepresentation2D.h.

Internal pipeline objects.

Definition at line 211 of file vtkGeoGraphRepresentation2D.h.

Internal pipeline objects.

Definition at line 212 of file vtkGeoGraphRepresentation2D.h.

Internal pipeline objects.

Definition at line 213 of file vtkGeoGraphRepresentation2D.h.

Internal pipeline objects.

Definition at line 214 of file vtkGeoGraphRepresentation2D.h.

Internal pipeline objects.

Definition at line 215 of file vtkGeoGraphRepresentation2D.h.

Internal pipeline objects.

Definition at line 216 of file vtkGeoGraphRepresentation2D.h.

Internal pipeline objects.

Definition at line 217 of file vtkGeoGraphRepresentation2D.h.

Internal pipeline objects.

Definition at line 218 of file vtkGeoGraphRepresentation2D.h.

Definition at line 222 of file vtkGeoGraphRepresentation2D.h.


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

Generated on Wed Jun 3 19:05:09 2009 for VTK by  doxygen 1.5.6