vtkGeoGraphRepresentation Class Reference

#include <vtkGeoGraphRepresentation.h>

Inheritance diagram for vtkGeoGraphRepresentation:

Inheritance graph
[legend]
Collaboration diagram for vtkGeoGraphRepresentation:

Collaboration graph
[legend]

List of all members.


Detailed Description

Displays a graph on a earth view.

vtkGeoGraphRepresentation is used to show a graph in a 3D geo view. Set the graph input with SetInputConnection(), then add the representation to a vtkGeoView.

See also:
vtkGeoView
Tests:
vtkGeoGraphRepresentation (Tests)

Definition at line 66 of file vtkGeoGraphRepresentation.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 SetExplodeFactor (double factor)
virtual double GetExplodeFactor ()
virtual void SetNumberOfSubdivisions (int num)
virtual int GetNumberOfSubdivisions ()
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 SetEdgeLayoutStrategyToGeo ()
virtual void SetEdgeLayoutStrategyToArcParallel ()
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 ()

Static Public Member Functions

static vtkGeoGraphRepresentationNew ()
static int IsTypeOf (const char *type)
static vtkGeoGraphRepresentationSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkGeoGraphRepresentation ()
 ~vtkGeoGraphRepresentation ()
virtual bool AddToView (vtkView *view)
virtual bool RemoveFromView (vtkView *view)
virtual vtkSelectionConvertSelection (vtkView *view, vtkSelection *selection)
virtual void SetLabelArrayName (const char *)
virtual char * GetLabelArrayName ()

Protected Attributes

char * LabelArrayName
bool In3DGeoView
vtkSmartPointer
< vtkGeoAssignCoordinates
AssignCoordinates
vtkSmartPointer
< vtkLabelSizeCalculator
LabelSize
vtkSmartPointer
< vtkPointSetToLabelHierarchy
LabelHierarchy
vtkSmartPointer< vtkLabelPlacerLabelPlacer
vtkSmartPointer
< vtkLabeledDataMapper
LabelMapper
vtkSmartPointer< vtkActor2DLabelActor
vtkSmartPointer< vtkEdgeLayoutEdgeLayout
vtkSmartPointer< vtkGraphMapperGraphMapper
vtkSmartPointer< vtkActorGraphActor
vtkSmartPointer
< vtkGraphToPolyData
GraphToPolyData
vtkSmartPointer< vtkEdgeCentersEdgeCenters
vtkSmartPointer
< vtkLabeledDataMapper
EdgeLabelMapper
vtkSmartPointer< vtkActor2DEdgeLabelActor
vtkSmartPointer< vtkMaskPointsEdgeLabelMaskPoints
vtkSmartPointer
< vtkSelectVisiblePoints
EdgeLabelSelectVisiblePoints
vtkSmartPointer
< vtkTransformPolyDataFilter
EdgeLabelTransform
vtkSmartPointer
< vtkExtractSelectedGraph
ExtractSelection
vtkSmartPointer< vtkGraphMapperSelectionMapper
vtkSmartPointer< vtkActorSelectionActor

Member Typedef Documentation

Reimplemented from vtkDataRepresentation.

Definition at line 70 of file vtkGeoGraphRepresentation.h.


Constructor & Destructor Documentation

vtkGeoGraphRepresentation::vtkGeoGraphRepresentation (  )  [protected]

vtkGeoGraphRepresentation::~vtkGeoGraphRepresentation (  )  [protected]


Member Function Documentation

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

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

Reimplemented from vtkDataRepresentation.

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

Reimplemented from vtkDataRepresentation.

static int vtkGeoGraphRepresentation::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 vtkGeoGraphRepresentation::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 vtkGeoGraphRepresentation* vtkGeoGraphRepresentation::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkDataRepresentation.

void vtkGeoGraphRepresentation::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 vtkGeoGraphRepresentation::SetInputConnection ( vtkAlgorithmOutput conn  )  [virtual]

Sets the input pipeline connection to this representation.

Reimplemented from vtkDataRepresentation.

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

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

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

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

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

Whether to show vertex labels.

virtual bool vtkGeoGraphRepresentation::GetVertexLabelVisibility (  )  [virtual]

Whether to show vertex labels.

virtual void vtkGeoGraphRepresentation::VertexLabelVisibilityOn (  )  [inline, virtual]

Whether to show vertex labels.

Definition at line 86 of file vtkGeoGraphRepresentation.h.

virtual void vtkGeoGraphRepresentation::VertexLabelVisibilityOff (  )  [inline, virtual]

Whether to show vertex labels.

Definition at line 87 of file vtkGeoGraphRepresentation.h.

virtual void vtkGeoGraphRepresentation::SetExplodeFactor ( double  factor  )  [virtual]

Sets the explode factor for the geo arcs.

virtual double vtkGeoGraphRepresentation::GetExplodeFactor (  )  [virtual]

Sets the explode factor for the geo arcs.

virtual void vtkGeoGraphRepresentation::SetNumberOfSubdivisions ( int  num  )  [virtual]

The number of subdivisions per arc.

virtual int vtkGeoGraphRepresentation::GetNumberOfSubdivisions (  )  [virtual]

The number of subdivisions per arc.

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

The point array holding the latitude.

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

The point array holding the latitude.

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

The point array holding the longitude.

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

The point array holding the longitude.

void vtkGeoGraphRepresentation::SetVertexLabelFontSize ( int  size  ) 

The size of the vertex labels in pixels.

int vtkGeoGraphRepresentation::GetVertexLabelFontSize (  ) 

The size of the vertex labels in pixels.

void vtkGeoGraphRepresentation::SetColorVertices ( bool  b  ) 

Whether to color vertices using a data array.

bool vtkGeoGraphRepresentation::GetColorVertices (  ) 

Whether to color vertices using a data array.

virtual void vtkGeoGraphRepresentation::ColorVerticesOn (  )  [virtual]

Whether to color vertices using a data array.

virtual void vtkGeoGraphRepresentation::ColorVerticesOff (  )  [virtual]

Whether to color vertices using a data array.

void vtkGeoGraphRepresentation::SetVertexColorArrayName ( const char *  name  ) 

The data array to use to color vertices.

const char* vtkGeoGraphRepresentation::GetVertexColorArrayName (  ) 

The data array to use to color vertices.

void vtkGeoGraphRepresentation::SetEdgeLabelVisibility ( bool  b  ) 

Whether to show edge labels.

bool vtkGeoGraphRepresentation::GetEdgeLabelVisibility (  ) 

Whether to show edge labels.

virtual void vtkGeoGraphRepresentation::EdgeLabelVisibilityOn (  )  [virtual]

Whether to show edge labels.

virtual void vtkGeoGraphRepresentation::EdgeLabelVisibilityOff (  )  [virtual]

Whether to show edge labels.

void vtkGeoGraphRepresentation::SetEdgeLabelArrayName ( const char *  name  ) 

The data array to use for labelling edges.

const char* vtkGeoGraphRepresentation::GetEdgeLabelArrayName (  ) 

The data array to use for labelling edges.

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

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

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

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

virtual void vtkGeoGraphRepresentation::SetEdgeLayoutStrategyToGeo (  )  [virtual]

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

virtual void vtkGeoGraphRepresentation::SetEdgeLayoutStrategyToArcParallel (  )  [virtual]

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

void vtkGeoGraphRepresentation::SetEdgeLabelFontSize ( int  size  ) 

The size of edge labels in pixels.

int vtkGeoGraphRepresentation::GetEdgeLabelFontSize (  ) 

The size of edge labels in pixels.

void vtkGeoGraphRepresentation::SetColorEdges ( bool  b  ) 

Whether to color edges using a data array.

bool vtkGeoGraphRepresentation::GetColorEdges (  ) 

Whether to color edges using a data array.

virtual void vtkGeoGraphRepresentation::ColorEdgesOn (  )  [virtual]

Whether to color edges using a data array.

virtual void vtkGeoGraphRepresentation::ColorEdgesOff (  )  [virtual]

Whether to color edges using a data array.

void vtkGeoGraphRepresentation::SetEdgeColorArrayName ( const char *  name  ) 

The data array to use for coloring edges.

const char* vtkGeoGraphRepresentation::GetEdgeColorArrayName (  ) 

The data array to use for coloring edges.

void vtkGeoGraphRepresentation::SetTransform ( vtkAbstractTransform trans  ) 

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

vtkAbstractTransform* vtkGeoGraphRepresentation::GetTransform (  ) 

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

void vtkGeoGraphRepresentation::ApplyViewTheme ( vtkViewTheme theme  ) 

Apply a theme to this view.

virtual void vtkGeoGraphRepresentation::PrepareForRendering (  )  [virtual]

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

virtual void vtkGeoGraphRepresentation::SetLabelArrayName ( const char *   )  [protected, virtual]

Store the name of the LabelText array so we dont update if we are already using the same array.

virtual char* vtkGeoGraphRepresentation::GetLabelArrayName (  )  [protected, virtual]

Store the name of the LabelText array so we dont update if we are already using the same array.

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

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

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

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

virtual vtkSelection* vtkGeoGraphRepresentation::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 213 of file vtkGeoGraphRepresentation.h.

Internal pipeline objects.

Definition at line 214 of file vtkGeoGraphRepresentation.h.

Internal pipeline objects.

Definition at line 215 of file vtkGeoGraphRepresentation.h.

Internal pipeline objects.

Definition at line 216 of file vtkGeoGraphRepresentation.h.

Internal pipeline objects.

Definition at line 217 of file vtkGeoGraphRepresentation.h.

Internal pipeline objects.

Definition at line 218 of file vtkGeoGraphRepresentation.h.

Internal pipeline objects.

Definition at line 219 of file vtkGeoGraphRepresentation.h.

Internal pipeline objects.

Definition at line 220 of file vtkGeoGraphRepresentation.h.

Internal pipeline objects.

Definition at line 221 of file vtkGeoGraphRepresentation.h.

Internal pipeline objects.

Definition at line 222 of file vtkGeoGraphRepresentation.h.

Internal pipeline objects.

Definition at line 223 of file vtkGeoGraphRepresentation.h.

Internal pipeline objects.

Definition at line 224 of file vtkGeoGraphRepresentation.h.

Internal pipeline objects.

Definition at line 225 of file vtkGeoGraphRepresentation.h.

Internal pipeline objects.

Definition at line 226 of file vtkGeoGraphRepresentation.h.

Internal pipeline objects.

Definition at line 227 of file vtkGeoGraphRepresentation.h.

Internal pipeline objects.

Definition at line 228 of file vtkGeoGraphRepresentation.h.

Internal pipeline objects.

Definition at line 229 of file vtkGeoGraphRepresentation.h.

Internal pipeline objects.

Definition at line 230 of file vtkGeoGraphRepresentation.h.

Internal pipeline objects.

Definition at line 231 of file vtkGeoGraphRepresentation.h.

Definition at line 235 of file vtkGeoGraphRepresentation.h.

Definition at line 236 of file vtkGeoGraphRepresentation.h.


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

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