#include <vtkGeoGraphRepresentation2D.h>
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.
Definition at line 64 of file vtkGeoGraphRepresentation2D.h.
Reimplemented from vtkDataRepresentation.
Definition at line 68 of file vtkGeoGraphRepresentation2D.h.
vtkGeoGraphRepresentation2D::vtkGeoGraphRepresentation2D | ( | ) | [protected] |
vtkGeoGraphRepresentation2D::~vtkGeoGraphRepresentation2D | ( | ) | [protected] |
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.
Internal pipeline objects.
Definition at line 200 of file vtkGeoGraphRepresentation2D.h.
vtkSmartPointer<vtkPerturbCoincidentVertices> vtkGeoGraphRepresentation2D::PerturbCoincidentVertices [protected] |
Internal pipeline objects.
Definition at line 201 of file vtkGeoGraphRepresentation2D.h.
Internal pipeline objects.
Definition at line 202 of file vtkGeoGraphRepresentation2D.h.
vtkSmartPointer<vtkPointSetToLabelHierarchy> vtkGeoGraphRepresentation2D::LabelHierarchy [protected] |
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.
vtkSmartPointer<vtkDynamic2DLabelMapper> vtkGeoGraphRepresentation2D::DynamicLabelMapper [protected] |
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.
bool vtkGeoGraphRepresentation2D::UseLabelHierarchy [protected] |
Definition at line 222 of file vtkGeoGraphRepresentation2D.h.