VTK
|
Accepts a graph and a hierarchy - currently a tree - and provides a hierarchy-aware display. Currently, this means displaying the hierarchy using a tree ring layout, then rendering the graph vertices as leaves of the tree with curved graph edges between leaves. More...
#include <vtkTreeAreaView.h>
Public Types | |
typedef vtkRenderView | Superclass |
![]() | |
enum | { INTERACTION_MODE_2D, INTERACTION_MODE_3D, INTERACTION_MODE_UNKNOWN } |
enum | { SURFACE = 0, FRUSTUM = 1 } |
enum | { NO_OVERLAP, ALL } |
enum | { FREETYPE, QT } |
typedef vtkRenderViewBase | Superclass |
![]() | |
typedef vtkView | Superclass |
![]() | |
typedef vtkObject | Superclass |
![]() | |
typedef vtkObjectBase | Superclass |
Public Member Functions | |
virtual const char * | GetClassName () |
virtual int | IsA (const char *type) |
void | PrintSelf (ostream &os, vtkIndent indent) |
void | SetEdgeColorToSplineFraction () |
vtkDataRepresentation * | SetTreeFromInputConnection (vtkAlgorithmOutput *conn) |
vtkDataRepresentation * | SetTreeFromInput (vtkTree *input) |
vtkDataRepresentation * | SetGraphFromInputConnection (vtkAlgorithmOutput *conn) |
vtkDataRepresentation * | SetGraphFromInput (vtkGraph *input) |
void | SetAreaLabelArrayName (const char *name) |
const char * | GetAreaLabelArrayName () |
void | SetAreaSizeArrayName (const char *name) |
const char * | GetAreaSizeArrayName () |
void | SetLabelPriorityArrayName (const char *name) |
const char * | GetLabelPriorityArrayName () |
void | SetEdgeLabelArrayName (const char *name) |
const char * | GetEdgeLabelArrayName () |
void | SetAreaHoverArrayName (const char *name) |
const char * | GetAreaHoverArrayName () |
void | SetAreaLabelVisibility (bool vis) |
bool | GetAreaLabelVisibility () |
virtual void | AreaLabelVisibilityOn () |
virtual void | AreaLabelVisibilityOff () |
void | SetEdgeLabelVisibility (bool vis) |
bool | GetEdgeLabelVisibility () |
virtual void | EdgeLabelVisibilityOn () |
virtual void | EdgeLabelVisibilityOff () |
void | SetAreaColorArrayName (const char *name) |
const char * | GetAreaColorArrayName () |
void | SetColorAreas (bool vis) |
bool | GetColorAreas () |
virtual void | ColorAreasOn () |
virtual void | ColorAreasOff () |
void | SetEdgeColorArrayName (const char *name) |
const char * | GetEdgeColorArrayName () |
void | SetShrinkPercentage (double value) |
double | GetShrinkPercentage () |
void | SetColorEdges (bool vis) |
bool | GetColorEdges () |
virtual void | ColorEdgesOn () |
virtual void | ColorEdgesOff () |
void | SetBundlingStrength (double strength) |
double | GetBundlingStrength () |
virtual void | SetAreaLabelFontSize (const int size) |
virtual int | GetAreaLabelFontSize () |
virtual void | SetEdgeLabelFontSize (const int size) |
virtual int | GetEdgeLabelFontSize () |
virtual void | SetLayoutStrategy (vtkAreaLayoutStrategy *strategy) |
virtual vtkAreaLayoutStrategy * | GetLayoutStrategy () |
virtual void | SetUseRectangularCoordinates (bool rect) |
virtual bool | GetUseRectangularCoordinates () |
virtual void | UseRectangularCoordinatesOn () |
virtual void | UseRectangularCoordinatesOff () |
virtual void | SetEdgeScalarBarVisibility (bool b) |
virtual bool | GetEdgeScalarBarVisibility () |
![]() | |
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 | Render () |
virtual void | ApplyViewTheme (vtkViewTheme *theme) |
virtual void | AddLabels (vtkAlgorithmOutput *conn) |
virtual void | RemoveLabels (vtkAlgorithmOutput *conn) |
virtual void | SetInteractionModeTo2D () |
virtual void | SetInteractionModeTo3D () |
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 | 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 () |
![]() | |
virtual vtkRenderer * | GetRenderer () |
virtual void | SetRenderer (vtkRenderer *ren) |
virtual vtkRenderWindow * | GetRenderWindow () |
virtual void | ResetCamera () |
virtual void | ResetCameraClippingRange () |
virtual vtkRenderWindowInteractor * | GetInteractor () |
![]() | |
void | PrintSelf (ostream &os, vtkIndent indent) |
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) |
![]() | |
virtual void | DebugOn () |
virtual void | DebugOff () |
unsigned char | GetDebug () |
void | SetDebug (unsigned char 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) |
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 | Register (vtkObjectBase *o) |
virtual void | UnRegister (vtkObjectBase *o) |
void | SetReferenceCount (int) |
void | PrintRevisions (ostream &os) |
virtual void | PrintHeader (ostream &os, vtkIndent indent) |
virtual void | PrintTrailer (ostream &os, vtkIndent indent) |
int | GetReferenceCount () |
Static Public Member Functions | |
static vtkTreeAreaView * | New () |
static int | IsTypeOf (const char *type) |
static vtkTreeAreaView * | SafeDownCast (vtkObject *o) |
![]() | |
static vtkRenderView * | New () |
static int | IsTypeOf (const char *type) |
static vtkRenderView * | SafeDownCast (vtkObject *o) |
![]() | |
static vtkRenderViewBase * | New () |
static int | IsTypeOf (const char *type) |
static vtkRenderViewBase * | SafeDownCast (vtkObject *o) |
![]() | |
static vtkView * | New () |
static int | IsTypeOf (const char *type) |
static vtkView * | SafeDownCast (vtkObject *o) |
![]() | |
static int | IsTypeOf (const char *type) |
static vtkObject * | SafeDownCast (vtkObject *o) |
static vtkObject * | New () |
static void | BreakOnError () |
static void | SetGlobalWarningDisplay (int val) |
static void | GlobalWarningDisplayOn () |
static void | GlobalWarningDisplayOff () |
static int | GetGlobalWarningDisplay () |
![]() | |
static int | IsTypeOf (const char *name) |
static vtkObjectBase * | New () |
Additional Inherited Members | |
![]() | |
int | SelectionMode |
int | LabelRenderMode |
bool | DisplayHoverText |
bool | Interacting |
bool | InHoverTextRender |
bool | InPickRender |
bool | PickRenderNeedsUpdate |
vtkAbstractTransform * | Transform |
vtkTexture * | IconTexture |
int | IconSize [2] |
int | DisplaySize [2] |
int | InteractionMode |
bool | RenderOnMouseMove |
vtkSmartPointer< vtkRenderer > | LabelRenderer |
vtkSmartPointer < vtkBalloonRepresentation > | Balloon |
vtkSmartPointer < vtkLabelPlacementMapper > | LabelPlacementMapper |
vtkSmartPointer < vtkTexturedActor2D > | LabelActor |
vtkSmartPointer< vtkHoverWidget > | HoverWidget |
vtkSmartPointer < vtkHardwareSelector > | Selector |
![]() |
Accepts a graph and a hierarchy - currently a tree - and provides a hierarchy-aware display. Currently, this means displaying the hierarchy using a tree ring layout, then rendering the graph vertices as leaves of the tree with curved graph edges between leaves.
Takes a graph and a hierarchy (currently a tree) and lays out the graph vertices based on their categorization within the hierarchy.
.SEE ALSO vtkGraphLayoutView
Definition at line 51 of file vtkTreeAreaView.h.
Definition at line 55 of file vtkTreeAreaView.h.
|
protected |
|
protected |
|
static |
|
virtual |
Reimplemented from vtkRenderView.
Reimplemented in vtkTreeRingView, vtkTreeMapView, and vtkIcicleView.
|
static |
|
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 vtkTypeMacro found in vtkSetGet.h.
Reimplemented from vtkRenderView.
Reimplemented in vtkTreeRingView, vtkTreeMapView, and vtkIcicleView.
|
static |
|
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.
Reimplemented in vtkTreeRingView, and vtkTreeMapView.
vtkDataRepresentation* vtkTreeAreaView::SetTreeFromInputConnection | ( | vtkAlgorithmOutput * | conn) |
Set the tree and graph representations to the appropriate input ports.
vtkDataRepresentation* vtkTreeAreaView::SetTreeFromInput | ( | vtkTree * | input) |
Set the tree and graph representations to the appropriate input ports.
vtkDataRepresentation* vtkTreeAreaView::SetGraphFromInputConnection | ( | vtkAlgorithmOutput * | conn) |
Set the tree and graph representations to the appropriate input ports.
vtkDataRepresentation* vtkTreeAreaView::SetGraphFromInput | ( | vtkGraph * | input) |
Set the tree and graph representations to the appropriate input ports.
void vtkTreeAreaView::SetAreaLabelArrayName | ( | const char * | name) |
The array to use for area labeling. Default is "label".
const char* vtkTreeAreaView::GetAreaLabelArrayName | ( | ) |
The array to use for area labeling. Default is "label".
void vtkTreeAreaView::SetAreaSizeArrayName | ( | const char * | name) |
The array to use for area sizes. Default is "size".
const char* vtkTreeAreaView::GetAreaSizeArrayName | ( | ) |
The array to use for area sizes. Default is "size".
void vtkTreeAreaView::SetLabelPriorityArrayName | ( | const char * | name) |
The array to use for area labeling priority. Default is "GraphVertexDegree".
const char* vtkTreeAreaView::GetLabelPriorityArrayName | ( | ) |
The array to use for area labeling priority. Default is "GraphVertexDegree".
void vtkTreeAreaView::SetEdgeLabelArrayName | ( | const char * | name) |
The array to use for edge labeling. Default is "label".
const char* vtkTreeAreaView::GetEdgeLabelArrayName | ( | ) |
The array to use for edge labeling. Default is "label".
void vtkTreeAreaView::SetAreaHoverArrayName | ( | const char * | name) |
The name of the array whose value appears when the mouse hovers over a rectangle in the treemap. This must be a string array.
const char* vtkTreeAreaView::GetAreaHoverArrayName | ( | ) |
The name of the array whose value appears when the mouse hovers over a rectangle in the treemap. This must be a string array.
void vtkTreeAreaView::SetAreaLabelVisibility | ( | bool | vis) |
Whether to show area labels. Default is off.
bool vtkTreeAreaView::GetAreaLabelVisibility | ( | ) |
Whether to show area labels. Default is off.
|
virtual |
Whether to show area labels. Default is off.
|
virtual |
Whether to show area labels. Default is off.
void vtkTreeAreaView::SetEdgeLabelVisibility | ( | bool | vis) |
Whether to show edge labels. Default is off.
bool vtkTreeAreaView::GetEdgeLabelVisibility | ( | ) |
Whether to show edge labels. Default is off.
|
virtual |
Whether to show edge labels. Default is off.
|
virtual |
Whether to show edge labels. Default is off.
void vtkTreeAreaView::SetAreaColorArrayName | ( | const char * | name) |
The array to use for coloring vertices. Default is "color".
const char* vtkTreeAreaView::GetAreaColorArrayName | ( | ) |
The array to use for coloring vertices. Default is "color".
void vtkTreeAreaView::SetColorAreas | ( | bool | vis) |
Whether to color vertices. Default is off.
bool vtkTreeAreaView::GetColorAreas | ( | ) |
Whether to color vertices. Default is off.
|
virtual |
Whether to color vertices. Default is off.
|
virtual |
Whether to color vertices. Default is off.
void vtkTreeAreaView::SetEdgeColorArrayName | ( | const char * | name) |
The array to use for coloring edges. Default is "color".
const char* vtkTreeAreaView::GetEdgeColorArrayName | ( | ) |
The array to use for coloring edges. Default is "color".
void vtkTreeAreaView::SetEdgeColorToSplineFraction | ( | ) |
Set the color to be the spline fraction
void vtkTreeAreaView::SetShrinkPercentage | ( | double | value) |
Set the region shrink percentage between 0.0 and 1.0.
double vtkTreeAreaView::GetShrinkPercentage | ( | ) |
Set the region shrink percentage between 0.0 and 1.0.
void vtkTreeAreaView::SetColorEdges | ( | bool | vis) |
Whether to color edges. Default is off.
bool vtkTreeAreaView::GetColorEdges | ( | ) |
Whether to color edges. Default is off.
|
virtual |
Whether to color edges. Default is off.
|
virtual |
Whether to color edges. Default is off.
void vtkTreeAreaView::SetBundlingStrength | ( | double | strength) |
Set the bundling strength.
double vtkTreeAreaView::GetBundlingStrength | ( | ) |
Set the bundling strength.
|
virtual |
The size of the font used for area labeling
|
virtual |
The size of the font used for area labeling
|
virtual |
The size of the font used for edge labeling
|
virtual |
The size of the font used for edge labeling
|
virtual |
The layout strategy for producing spatial regions for the tree.
Reimplemented in vtkTreeMapView.
|
virtual |
The layout strategy for producing spatial regions for the tree.
|
virtual |
Whether the area represents radial or rectangular coordinates.
|
virtual |
Whether the area represents radial or rectangular coordinates.
|
virtual |
Whether the area represents radial or rectangular coordinates.
|
virtual |
Whether the area represents radial or rectangular coordinates.
|
virtual |
Visibility of scalar bar actor for edges.
|
virtual |
Visibility of scalar bar actor for edges.
|
protectedvirtual |
The filter for converting areas to polydata. This may e.g. be vtkTreeMapToPolyData or vtkTreeRingToPolyData. The filter must take a vtkTree as input and produce vtkPolyData.
|
protectedvirtual |
The filter for converting areas to polydata. This may e.g. be vtkTreeMapToPolyData or vtkTreeRingToPolyData. The filter must take a vtkTree as input and produce vtkPolyData.
|
protectedvirtual |
The mapper for rendering labels on areas. This may e.g. be vtkDynamic2DLabelMapper or vtkTreeMapLabelMapper.
|
protectedvirtual |
The mapper for rendering labels on areas. This may e.g. be vtkDynamic2DLabelMapper or vtkTreeMapLabelMapper.
|
protectedvirtual |
Overrides behavior in vtkView to create a vtkRenderedGraphRepresentation by default.
Reimplemented from vtkView.
|
protectedvirtual |
Overrides behavior in vtkView to create a vtkRenderedGraphRepresentation by default.