#include <vtkHierarchicalGraphView.h>
Takes a graph and a hierarchy (currently a tree) and lays out the graph vertices based on their categorization within the hierarchy.
.SEE ALSO vtkTreeLayoutView vtkGraphLayoutView
Definition at line 84 of file vtkHierarchicalGraphView.h.
vtkHierarchicalGraphView::vtkHierarchicalGraphView | ( | ) | [protected] |
vtkHierarchicalGraphView::~vtkHierarchicalGraphView | ( | ) | [protected] |
static vtkHierarchicalGraphView* vtkHierarchicalGraphView::New | ( | ) | [static] |
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
Reimplemented from vtkRenderView.
virtual const char* vtkHierarchicalGraphView::GetClassName | ( | ) | [virtual] |
Reimplemented from vtkRenderView.
static int vtkHierarchicalGraphView::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 vtkRenderView.
virtual int vtkHierarchicalGraphView::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 vtkRenderView.
static vtkHierarchicalGraphView* vtkHierarchicalGraphView::SafeDownCast | ( | vtkObject * | o | ) | [static] |
Reimplemented from vtkRenderView.
void vtkHierarchicalGraphView::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 vtkRenderView.
vtkDataRepresentation* vtkHierarchicalGraphView::SetHierarchyFromInputConnection | ( | vtkAlgorithmOutput * | conn | ) |
Set the tree and graph representations to the appropriate input ports.
vtkDataRepresentation* vtkHierarchicalGraphView::SetHierarchyFromInput | ( | vtkDataObject * | input | ) |
Set the tree and graph representations to the appropriate input ports.
vtkDataRepresentation* vtkHierarchicalGraphView::SetGraphFromInputConnection | ( | vtkAlgorithmOutput * | conn | ) |
Set the tree and graph representations to the appropriate input ports.
vtkDataRepresentation* vtkHierarchicalGraphView::SetGraphFromInput | ( | vtkDataObject * | input | ) |
Set the tree and graph representations to the appropriate input ports.
void vtkHierarchicalGraphView::SetVertexLabelArrayName | ( | const char * | name | ) |
The array to use for vertex labeling. Default is "label".
const char* vtkHierarchicalGraphView::GetVertexLabelArrayName | ( | ) |
The array to use for vertex labeling. Default is "label".
void vtkHierarchicalGraphView::SetEdgeLabelArrayName | ( | const char * | name | ) |
The array to use for edge labeling. Default is "label".
const char* vtkHierarchicalGraphView::GetEdgeLabelArrayName | ( | ) |
The array to use for edge labeling. Default is "label".
void vtkHierarchicalGraphView::SetVertexLabelVisibility | ( | bool | vis | ) |
Whether to show vertex labels. Default is off.
bool vtkHierarchicalGraphView::GetVertexLabelVisibility | ( | ) |
Whether to show vertex labels. Default is off.
void vtkHierarchicalGraphView::VertexLabelVisibilityOn | ( | ) |
Whether to show vertex labels. Default is off.
void vtkHierarchicalGraphView::VertexLabelVisibilityOff | ( | ) |
Whether to show vertex labels. Default is off.
void vtkHierarchicalGraphView::SetEdgeLabelVisibility | ( | bool | vis | ) |
Whether to show edge labels. Default is off.
bool vtkHierarchicalGraphView::GetEdgeLabelVisibility | ( | ) |
Whether to show edge labels. Default is off.
void vtkHierarchicalGraphView::EdgeLabelVisibilityOn | ( | ) |
Whether to show edge labels. Default is off.
void vtkHierarchicalGraphView::EdgeLabelVisibilityOff | ( | ) |
Whether to show edge labels. Default is off.
void vtkHierarchicalGraphView::SetVertexColorArrayName | ( | const char * | name | ) |
The array to use for coloring vertices. Default is "color".
const char* vtkHierarchicalGraphView::GetVertexColorArrayName | ( | ) |
The array to use for coloring vertices. Default is "color".
void vtkHierarchicalGraphView::SetColorVertices | ( | bool | vis | ) |
Whether to color vertices. Default is off.
bool vtkHierarchicalGraphView::GetColorVertices | ( | ) |
Whether to color vertices. Default is off.
void vtkHierarchicalGraphView::ColorVerticesOn | ( | ) |
Whether to color vertices. Default is off.
void vtkHierarchicalGraphView::ColorVerticesOff | ( | ) |
Whether to color vertices. Default is off.
void vtkHierarchicalGraphView::SetEdgeColorArrayName | ( | const char * | name | ) |
The array to use for coloring edges. Default is "color".
const char* vtkHierarchicalGraphView::GetEdgeColorArrayName | ( | ) |
The array to use for coloring edges. Default is "color".
void vtkHierarchicalGraphView::SetEdgeColorToSplineFraction | ( | ) |
Set the color to be the spline fraction
void vtkHierarchicalGraphView::SetColorEdges | ( | bool | vis | ) |
Whether to color edges. Default is off.
bool vtkHierarchicalGraphView::GetColorEdges | ( | ) |
Whether to color edges. Default is off.
void vtkHierarchicalGraphView::ColorEdgesOn | ( | ) |
Whether to color edges. Default is off.
void vtkHierarchicalGraphView::ColorEdgesOff | ( | ) |
Whether to color edges. Default is off.
void vtkHierarchicalGraphView::SetRadialLayout | ( | bool | radial | ) |
Set whether to use radial layout.
void vtkHierarchicalGraphView::SetRadialAngle | ( | int | angle | ) |
Set the radial layout angle.
void vtkHierarchicalGraphView::SetLogSpacingFactor | ( | double | spacing | ) |
Set the log spacing for the layout.
void vtkHierarchicalGraphView::SetLeafSpacing | ( | double | spacing | ) |
Set the leaf spacing for the layout.
void vtkHierarchicalGraphView::SetBundlingStrength | ( | double | strength | ) |
Set the bundling strength.
virtual vtkDataRepresentation* vtkHierarchicalGraphView::GetTreeVisibilityRepresentation | ( | ) | [virtual] |
Retrieve a special representation whose selection link controls what tree nodes are visible. After extracting the selection, the resulting graph must be a tree or an error will result.
virtual vtkDataRepresentation* vtkHierarchicalGraphView::GetGraphRepresentation | ( | ) | [inline, virtual] |
Retrieve the graph and tree representations.
Definition at line 181 of file vtkHierarchicalGraphView.h.
virtual vtkDataRepresentation* vtkHierarchicalGraphView::GetTreeRepresentation | ( | ) | [inline, virtual] |
Retrieve the graph and tree representations.
Definition at line 183 of file vtkHierarchicalGraphView.h.
void vtkHierarchicalGraphView::SetIconTexture | ( | vtkTexture * | texture | ) |
The icon sheet to use for textures.
void vtkHierarchicalGraphView::AddIconType | ( | char * | type, | |
int | index | |||
) |
Associate the icon at index "index" in the vtkTexture to all vertices containing "type" as a value in the vertex attribute array specified by IconArrayName.
void vtkHierarchicalGraphView::ClearIconTypes | ( | ) |
Clear all icon mappings.
void vtkHierarchicalGraphView::SetIconSize | ( | int * | size | ) |
Each icon's size on the sheet.
void vtkHierarchicalGraphView::SetIconAlignment | ( | int | alignment | ) |
Specify where the icons should be placed in relation to the vertex. See vtkIconGlyphFilter.h for possible values.
void vtkHierarchicalGraphView::SetIconVisibility | ( | bool | b | ) |
Whether icons are visible (default off).
bool vtkHierarchicalGraphView::GetIconVisibility | ( | ) |
Whether icons are visible (default off).
virtual void vtkHierarchicalGraphView::IconVisibilityOn | ( | ) | [virtual] |
Whether icons are visible (default off).
virtual void vtkHierarchicalGraphView::IconVisibilityOff | ( | ) | [virtual] |
Whether icons are visible (default off).
void vtkHierarchicalGraphView::SetIconArrayName | ( | const char * | name | ) |
The array used for assigning icons
const char* vtkHierarchicalGraphView::GetIconArrayName | ( | ) |
The array used for assigning icons
void vtkHierarchicalGraphView::SetTreeEdgeVisibility | ( | bool | b | ) |
Whether the TREE edges are visible (default off).
bool vtkHierarchicalGraphView::GetTreeEdgeVisibility | ( | ) |
Whether the TREE edges are visible (default off).
void vtkHierarchicalGraphView::TreeEdgeVisibilityOn | ( | ) |
Whether the TREE edges are visible (default off).
void vtkHierarchicalGraphView::TreeEdgeVisibilityOff | ( | ) |
Whether the TREE edges are visible (default off).
void vtkHierarchicalGraphView::SetScalingArrayName | ( | const char * | name | ) |
The array used for scaling (if ScaledGlyphs is ON)
const char* vtkHierarchicalGraphView::GetScalingArrayName | ( | ) |
The array used for scaling (if ScaledGlyphs is ON)
void vtkHierarchicalGraphView::SetScaledGlyphs | ( | bool | arg | ) |
Whether to use scaled glyphs or not. Default is off.
bool vtkHierarchicalGraphView::GetScaledGlyphs | ( | ) |
Whether to use scaled glyphs or not. Default is off.
virtual void vtkHierarchicalGraphView::ScaledGlyphsOn | ( | ) | [virtual] |
Whether to use scaled glyphs or not. Default is off.
virtual void vtkHierarchicalGraphView::ScaledGlyphsOff | ( | ) | [virtual] |
Whether to use scaled glyphs or not. Default is off.
void vtkHierarchicalGraphView::SetLayoutStrategy | ( | const char * | name | ) |
The layout strategy to use when performing the tree layout. The possible strings are: "Tree" - The regular tree layout. "CosmicTree" - A tree layout using orbits (not well tested) Default is "Tree".
void vtkHierarchicalGraphView::SetLayoutStrategyToTree | ( | ) | [inline] |
The layout strategy to use when performing the tree layout. The possible strings are: "Tree" - The regular tree layout. "CosmicTree" - A tree layout using orbits (not well tested) Default is "Tree".
Definition at line 245 of file vtkHierarchicalGraphView.h.
void vtkHierarchicalGraphView::SetLayoutStrategyToCosmicTree | ( | ) | [inline] |
The layout strategy to use when performing the tree layout. The possible strings are: "Tree" - The regular tree layout. "CosmicTree" - A tree layout using orbits (not well tested) Default is "Tree".
Definition at line 246 of file vtkHierarchicalGraphView.h.
const char* vtkHierarchicalGraphView::GetLayoutStrategyName | ( | ) | [inline] |
The layout strategy to use when performing the tree layout. The possible strings are: "Tree" - The regular tree layout. "CosmicTree" - A tree layout using orbits (not well tested) Default is "Tree".
Definition at line 247 of file vtkHierarchicalGraphView.h.
virtual vtkGraphLayoutStrategy* vtkHierarchicalGraphView::GetLayoutStrategy | ( | ) | [virtual] |
The layout strategy to use when performing the graph layout. This signature allows an application to create a layout object directly and simply set the pointer through this method
void vtkHierarchicalGraphView::SetLayoutStrategy | ( | vtkGraphLayoutStrategy * | s | ) |
The layout strategy to use when performing the graph layout. This signature allows an application to create a layout object directly and simply set the pointer through this method
virtual void vtkHierarchicalGraphView::SetupRenderWindow | ( | vtkRenderWindow * | win | ) | [virtual] |
Sets up interactor style.
Reimplemented from vtkRenderView.
virtual void vtkHierarchicalGraphView::ApplyViewTheme | ( | vtkViewTheme * | theme | ) | [virtual] |
Apply the theme to this view.
Reimplemented from vtkRenderView.
virtual void vtkHierarchicalGraphView::SetVertexLabelFontSize | ( | const int | size | ) | [virtual] |
The size of the font used for vertex labeling
virtual int vtkHierarchicalGraphView::GetVertexLabelFontSize | ( | ) | [virtual] |
The size of the font used for vertex labeling
virtual void vtkHierarchicalGraphView::SetEdgeLabelFontSize | ( | const int | size | ) | [virtual] |
The size of the font used for edge labeling
virtual int vtkHierarchicalGraphView::GetEdgeLabelFontSize | ( | ) | [virtual] |
The size of the font used for edge labeling
virtual void vtkHierarchicalGraphView::ProcessEvents | ( | vtkObject * | caller, | |
unsigned long | eventId, | |||
void * | callData | |||
) | [protected, virtual] |
Called to process the user event from the interactor style.
Reimplemented from vtkRenderView.
virtual void vtkHierarchicalGraphView::AddInputConnection | ( | int | port, | |
int | item, | |||
vtkAlgorithmOutput * | conn, | |||
vtkAlgorithmOutput * | selectConn | |||
) | [protected, virtual] |
Connects the algorithm output to the internal pipelines.
virtual void vtkHierarchicalGraphView::RemoveInputConnection | ( | int | port, | |
int | item, | |||
vtkAlgorithmOutput * | conn, | |||
vtkAlgorithmOutput * | selectConn | |||
) | [protected, virtual] |
Removes the algorithm output from the internal pipeline.
virtual void vtkHierarchicalGraphView::PrepareForRendering | ( | ) | [protected, virtual] |
Prepares the view for rendering.
Reimplemented from vtkRenderView.
void vtkHierarchicalGraphView::MapToXYPlane | ( | double | displayX, | |
double | displayY, | |||
double & | x, | |||
double & | y | |||
) | [protected] |
May a display coordinate to a world coordinate on the x-y plane.
virtual char* vtkHierarchicalGraphView::GetLayoutStrategyNameInternal | ( | ) | [protected, virtual] |
Used to store the layout strategy name
virtual void vtkHierarchicalGraphView::SetLayoutStrategyNameInternal | ( | const char * | ) | [protected, virtual] |
Used to store the layout strategy name
virtual char* vtkHierarchicalGraphView::GetIconArrayNameInternal | ( | ) | [protected, virtual] |
Used to store the icon array name
virtual void vtkHierarchicalGraphView::SetIconArrayNameInternal | ( | const char * | ) | [protected, virtual] |
Used to store the icon array name
char* vtkHierarchicalGraphView::LayoutStrategyNameInternal [protected] |
Used to store the layout strategy name
Definition at line 307 of file vtkHierarchicalGraphView.h.
Used to store the current layout strategy
Definition at line 312 of file vtkHierarchicalGraphView.h.
char* vtkHierarchicalGraphView::IconArrayNameInternal [protected] |
Used to store the icon array name
Definition at line 317 of file vtkHierarchicalGraphView.h.
Definition at line 323 of file vtkHierarchicalGraphView.h.
Definition at line 324 of file vtkHierarchicalGraphView.h.
Definition at line 325 of file vtkHierarchicalGraphView.h.
Definition at line 326 of file vtkHierarchicalGraphView.h.
vtkSmartPointer<vtkCosmicTreeLayoutStrategy> vtkHierarchicalGraphView::CosmicTreeStrategy [protected] |
Definition at line 327 of file vtkHierarchicalGraphView.h.
vtkSmartPointer<vtkPassThroughLayoutStrategy> vtkHierarchicalGraphView::PassThroughStrategy [protected] |
Definition at line 328 of file vtkHierarchicalGraphView.h.
Definition at line 329 of file vtkHierarchicalGraphView.h.
Definition at line 330 of file vtkHierarchicalGraphView.h.
Definition at line 331 of file vtkHierarchicalGraphView.h.
Definition at line 332 of file vtkHierarchicalGraphView.h.
Definition at line 333 of file vtkHierarchicalGraphView.h.
Definition at line 334 of file vtkHierarchicalGraphView.h.
Definition at line 335 of file vtkHierarchicalGraphView.h.
Definition at line 336 of file vtkHierarchicalGraphView.h.
vtkSmartPointer<vtkActor> vtkHierarchicalGraphView::TreeActor [protected] |
Definition at line 339 of file vtkHierarchicalGraphView.h.
Definition at line 340 of file vtkHierarchicalGraphView.h.
Definition at line 341 of file vtkHierarchicalGraphView.h.
Definition at line 342 of file vtkHierarchicalGraphView.h.
Definition at line 343 of file vtkHierarchicalGraphView.h.
Definition at line 344 of file vtkHierarchicalGraphView.h.
Definition at line 345 of file vtkHierarchicalGraphView.h.
Definition at line 346 of file vtkHierarchicalGraphView.h.
vtkSmartPointer<vtkDataRepresentation> vtkHierarchicalGraphView::TreeVisibilityRepresentation [protected] |
Definition at line 347 of file vtkHierarchicalGraphView.h.
Definition at line 350 of file vtkHierarchicalGraphView.h.
Definition at line 351 of file vtkHierarchicalGraphView.h.
Definition at line 352 of file vtkHierarchicalGraphView.h.
Definition at line 353 of file vtkHierarchicalGraphView.h.
vtkSmartPointer<vtkGraphHierarchicalBundle> vtkHierarchicalGraphView::SelectedGraphHBundle [protected] |
Definition at line 354 of file vtkHierarchicalGraphView.h.
Definition at line 355 of file vtkHierarchicalGraphView.h.
Definition at line 356 of file vtkHierarchicalGraphView.h.
Definition at line 357 of file vtkHierarchicalGraphView.h.