|
| virtual int | IsA (const char *type) |
| |
| vtkGraphLayoutView * | NewInstance () const |
| |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| |
| void | SetVertexLabelArrayName (const char *name) |
| |
| const char * | GetVertexLabelArrayName () |
| |
| void | SetEdgeLabelArrayName (const char *name) |
| |
| const char * | GetEdgeLabelArrayName () |
| |
| void | SetVertexLabelVisibility (bool vis) |
| |
| bool | GetVertexLabelVisibility () |
| |
| virtual void | VertexLabelVisibilityOn () |
| |
| virtual void | VertexLabelVisibilityOff () |
| |
| void | SetHideVertexLabelsOnInteraction (bool vis) |
| |
| bool | GetHideVertexLabelsOnInteraction () |
| |
| virtual void | HideVertexLabelsOnInteractionOn () |
| |
| virtual void | HideVertexLabelsOnInteractionOff () |
| |
| void | SetEdgeVisibility (bool vis) |
| |
| bool | GetEdgeVisibility () |
| |
| virtual void | EdgeVisibilityOn () |
| |
| virtual void | EdgeVisibilityOff () |
| |
| void | SetEdgeLabelVisibility (bool vis) |
| |
| bool | GetEdgeLabelVisibility () |
| |
| virtual void | EdgeLabelVisibilityOn () |
| |
| virtual void | EdgeLabelVisibilityOff () |
| |
| void | SetHideEdgeLabelsOnInteraction (bool vis) |
| |
| bool | GetHideEdgeLabelsOnInteraction () |
| |
| virtual void | HideEdgeLabelsOnInteractionOn () |
| |
| virtual void | HideEdgeLabelsOnInteractionOff () |
| |
| void | SetVertexColorArrayName (const char *name) |
| |
| const char * | GetVertexColorArrayName () |
| |
| void | SetColorVertices (bool vis) |
| |
| bool | GetColorVertices () |
| |
| virtual void | ColorVerticesOn () |
| |
| virtual void | ColorVerticesOff () |
| |
| void | SetEdgeColorArrayName (const char *name) |
| |
| const char * | GetEdgeColorArrayName () |
| |
| void | SetColorEdges (bool vis) |
| |
| bool | GetColorEdges () |
| |
| virtual void | ColorEdgesOn () |
| |
| virtual void | ColorEdgesOff () |
| |
| void | SetEdgeSelection (bool vis) |
| |
| bool | GetEdgeSelection () |
| |
| virtual void | EdgeSelectionOn () |
| |
| virtual void | EdgeSelectionOff () |
| |
| void | SetEnabledEdgesArrayName (const char *name) |
| |
| const char * | GetEnabledEdgesArrayName () |
| |
| void | SetEnableEdgesByArray (bool vis) |
| |
| int | GetEnableEdgesByArray () |
| |
| void | SetEnabledVerticesArrayName (const char *name) |
| |
| const char * | GetEnabledVerticesArrayName () |
| |
| void | SetEnableVerticesByArray (bool vis) |
| |
| int | GetEnableVerticesByArray () |
| |
| void | SetScalingArrayName (const char *name) |
| |
| const char * | GetScalingArrayName () |
| |
| void | SetScaledGlyphs (bool arg) |
| |
| bool | GetScaledGlyphs () |
| |
| virtual void | ScaledGlyphsOn () |
| |
| virtual void | ScaledGlyphsOff () |
| |
| void | SetLayoutStrategy (const char *name) |
| |
| void | SetLayoutStrategyToRandom () |
| |
| void | SetLayoutStrategyToForceDirected () |
| |
| void | SetLayoutStrategyToSimple2D () |
| |
| void | SetLayoutStrategyToClustering2D () |
| |
| void | SetLayoutStrategyToCommunity2D () |
| |
| void | SetLayoutStrategyToFast2D () |
| |
| void | SetLayoutStrategyToPassThrough () |
| |
| void | SetLayoutStrategyToCircular () |
| |
| void | SetLayoutStrategyToTree () |
| |
| void | SetLayoutStrategyToCosmicTree () |
| |
| void | SetLayoutStrategyToCone () |
| |
| void | SetLayoutStrategyToSpanTree () |
| |
| const char * | GetLayoutStrategyName () |
| |
| vtkGraphLayoutStrategy * | GetLayoutStrategy () |
| |
| void | SetLayoutStrategy (vtkGraphLayoutStrategy *s) |
| |
| void | SetEdgeLayoutStrategy (const char *name) |
| |
| void | SetEdgeLayoutStrategyToArcParallel () |
| |
| void | SetEdgeLayoutStrategyToPassThrough () |
| |
| const char * | GetEdgeLayoutStrategyName () |
| |
| vtkEdgeLayoutStrategy * | GetEdgeLayoutStrategy () |
| |
| void | SetEdgeLayoutStrategy (vtkEdgeLayoutStrategy *s) |
| |
| void | AddIconType (char *type, int index) |
| |
| void | ClearIconTypes () |
| |
| void | SetIconAlignment (int alignment) |
| |
| void | SetIconVisibility (bool b) |
| |
| bool | GetIconVisibility () |
| |
| virtual void | IconVisibilityOn () |
| |
| virtual void | IconVisibilityOff () |
| |
| void | SetIconArrayName (const char *name) |
| |
| const char * | GetIconArrayName () |
| |
| void | SetGlyphType (int type) |
| |
| int | GetGlyphType () |
| |
| virtual void | SetVertexLabelFontSize (const int size) |
| |
| virtual int | GetVertexLabelFontSize () |
| |
| virtual void | SetEdgeLabelFontSize (const int size) |
| |
| virtual int | GetEdgeLabelFontSize () |
| |
| void | SetEdgeScalarBarVisibility (bool vis) |
| |
| bool | GetEdgeScalarBarVisibility () |
| |
| void | SetVertexScalarBarVisibility (bool vis) |
| |
| bool | GetVertexScalarBarVisibility () |
| |
| void | ZoomToSelection () |
| |
| virtual int | IsLayoutComplete () |
| |
| virtual void | UpdateLayout () |
| |
| vtkRenderView * | NewInstance () const |
| |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| |
| virtual void | SetInteractor (vtkRenderWindowInteractor *interactor) |
| |
| virtual void | SetInteractorStyle (vtkInteractorObserver *style) |
| |
| virtual vtkInteractorObserver * | GetInteractorStyle () |
| |
| virtual void | SetRenderWindow (vtkRenderWindow *win) |
| |
| void | SetInteractionMode (int mode) |
| |
| virtual int | GetInteractionMode () |
| |
| virtual void | SetInteractionModeTo2D () |
| |
| virtual void | SetInteractionModeTo3D () |
| |
| virtual void | Render () |
| |
| virtual void | ApplyViewTheme (vtkViewTheme *theme) |
| |
| virtual void | SetTransform (vtkAbstractTransform *transform) |
| |
| virtual vtkAbstractTransform * | GetTransform () |
| |
| virtual void | SetDisplayHoverText (bool b) |
| |
| virtual bool | GetDisplayHoverText () |
| |
| virtual void | DisplayHoverTextOn () |
| |
| virtual void | DisplayHoverTextOff () |
| |
| virtual void | SetSelectionMode (int) |
| |
| virtual int | GetSelectionMode () |
| |
| void | SetSelectionModeToSurface () |
| |
| void | SetSelectionModeToFrustum () |
| |
| virtual void | AddLabels (vtkAlgorithmOutput *conn) |
| |
| virtual void | RemoveLabels (vtkAlgorithmOutput *conn) |
| |
| virtual void | SetIconTexture (vtkTexture *texture) |
| |
| virtual vtkTexture * | GetIconTexture () |
| |
| virtual void | SetIconSize (int, int) |
| |
| void | SetIconSize (int[2]) |
| |
| virtual int * | GetIconSize () |
| |
| virtual void | GetIconSize (int &, int &) |
| |
| virtual void | GetIconSize (int[2]) |
| |
| virtual void | SetDisplaySize (int, int) |
| |
| void | SetDisplaySize (int[2]) |
| |
| int * | GetDisplaySize () |
| |
| void | GetDisplaySize (int &dsx, int &dsy) |
| |
| virtual void | SetLabelPlacementMode (int mode) |
| |
| virtual int | GetLabelPlacementMode () |
| |
| virtual void | SetLabelPlacementModeToNoOverlap () |
| |
| virtual void | SetLabelPlacementModeToAll () |
| |
| virtual void | SetLabelRenderMode (int mode) |
| |
| virtual int | GetLabelRenderMode () |
| |
| virtual void | SetLabelRenderModeToFreetype () |
| |
| virtual void | SetLabelRenderModeToQt () |
| |
| void | SetRenderOnMouseMove (bool b) |
| |
| virtual bool | GetRenderOnMouseMove () |
| |
| virtual void | RenderOnMouseMoveOn () |
| |
| virtual void | RenderOnMouseMoveOff () |
| |
| vtkRenderViewBase * | NewInstance () const |
| |
| virtual vtkRenderer * | GetRenderer () |
| |
| virtual void | SetRenderer (vtkRenderer *ren) |
| |
| virtual vtkRenderWindow * | GetRenderWindow () |
| |
| virtual vtkRenderWindowInteractor * | GetInteractor () |
| |
| virtual void | ResetCamera () |
| |
| virtual void | ResetCameraClippingRange () |
| |
| vtkView * | NewInstance () const |
| |
| void | AddRepresentation (vtkDataRepresentation *rep) |
| |
| void | SetRepresentation (vtkDataRepresentation *rep) |
| |
| vtkDataRepresentation * | AddRepresentationFromInputConnection (vtkAlgorithmOutput *conn) |
| |
| vtkDataRepresentation * | SetRepresentationFromInputConnection (vtkAlgorithmOutput *conn) |
| |
| vtkDataRepresentation * | AddRepresentationFromInput (vtkDataObject *input) |
| |
| vtkDataRepresentation * | SetRepresentationFromInput (vtkDataObject *input) |
| |
| void | RemoveRepresentation (vtkDataRepresentation *rep) |
| |
| void | RemoveRepresentation (vtkAlgorithmOutput *rep) |
| |
| void | RemoveAllRepresentations () |
| |
| int | GetNumberOfRepresentations () |
| |
| vtkDataRepresentation * | GetRepresentation (int index=0) |
| |
| bool | IsRepresentationPresent (vtkDataRepresentation *rep) |
| |
| virtual void | Update () |
| |
| virtual void | ApplyViewTheme (vtkViewTheme *vtkNotUsed(theme)) |
| |
| vtkCommand * | GetObserver () |
| |
| void | RegisterProgress (vtkObject *algorithm, const char *message=NULL) |
| |
| void | UnRegisterProgress (vtkObject *algorithm) |
| |
| vtkObject * | NewInstance () const |
| |
| virtual void | DebugOn () |
| |
| virtual void | DebugOff () |
| |
| bool | GetDebug () |
| |
| void | SetDebug (bool debugFlag) |
| |
| virtual void | Modified () |
| |
| virtual unsigned long | GetMTime () |
| |
| unsigned long | AddObserver (unsigned long event, vtkCommand *, float priority=0.0f) |
| |
| unsigned long | AddObserver (const char *event, vtkCommand *, float priority=0.0f) |
| |
| vtkCommand * | GetCommand (unsigned long tag) |
| |
| void | RemoveObserver (vtkCommand *) |
| |
| void | RemoveObservers (unsigned long event, vtkCommand *) |
| |
| void | RemoveObservers (const char *event, vtkCommand *) |
| |
| int | HasObserver (unsigned long event, vtkCommand *) |
| |
| int | HasObserver (const char *event, vtkCommand *) |
| |
| void | RemoveObserver (unsigned long tag) |
| |
| void | RemoveObservers (unsigned long event) |
| |
| void | RemoveObservers (const char *event) |
| |
| void | RemoveAllObservers () |
| |
| int | HasObserver (unsigned long event) |
| |
| int | HasObserver (const char *event) |
| |
| template<class U , class T > |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(), float priority=0.0f) |
| |
| template<class U , class T > |
| unsigned long | AddObserver (unsigned long event, U observer, void(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| |
| template<class U , class T > |
| unsigned long | AddObserver (unsigned long event, U observer, bool(T::*callback)(vtkObject *, unsigned long, void *), float priority=0.0f) |
| |
| int | InvokeEvent (unsigned long event, void *callData) |
| |
| int | InvokeEvent (const char *event, void *callData) |
| |
| int | InvokeEvent (unsigned long event) |
| |
| int | InvokeEvent (const char *event) |
| |
| const char * | GetClassName () const |
| |
| virtual void | Delete () |
| |
| virtual void | FastDelete () |
| |
| void | Print (ostream &os) |
| |
| virtual void | PrintHeader (ostream &os, vtkIndent indent) |
| |
| virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
| |
| virtual void | Register (vtkObjectBase *o) |
| |
| virtual void | UnRegister (vtkObjectBase *o) |
| |
| int | GetReferenceCount () |
| |
| void | SetReferenceCount (int) |
| |
| void | PrintRevisions (ostream &) |
| |
Lays out and displays a graph.
vtkGraphLayoutView performs graph layout and displays a vtkGraph. You may color and label the vertices and edges using fields in the graph. If coordinates are already assigned to the graph vertices in your graph, set the layout strategy to PassThrough in this view. The default layout is Fast2D which is fast but not that good, for better layout set the layout to Simple2D or ForceDirected. There are also tree and circle layout strategies. :)
.SEE ALSO vtkFast2DLayoutStrategy vtkSimple2DLayoutStrategy vtkForceDirectedLayoutStrategy
- Thanks:
- Thanks a bunch to the holographic unfolding pattern.
- Examples:
- vtkGraphLayoutView (Examples)
- Tests:
- vtkGraphLayoutView (Tests)
Definition at line 58 of file vtkGraphLayoutView.h.