VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkRenderedTreeAreaRepresentation Class Reference

#include <vtkRenderedTreeAreaRepresentation.h>

Inheritance diagram for vtkRenderedTreeAreaRepresentation:
Inheritance graph
[legend]
Collaboration diagram for vtkRenderedTreeAreaRepresentation:
Collaboration graph
[legend]

List of all members.

Public Types

typedef vtkRenderedRepresentation Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkRenderedTreeAreaRepresentationNewInstance () const
void PrintSelf (ostream &os, vtkIndent indent)
virtual void SetLabelRenderMode (int mode)
virtual void ApplyViewTheme (vtkViewTheme *theme)
virtual void SetAreaLabelArrayName (const char *name)
virtual const char * GetAreaLabelArrayName ()
virtual void SetAreaSizeArrayName (const char *name)
virtual const char * GetAreaSizeArrayName ()
virtual void SetAreaLabelPriorityArrayName (const char *name)
virtual const char * GetAreaLabelPriorityArrayName ()
virtual void SetGraphEdgeLabelArrayName (const char *name)
virtual void SetGraphEdgeLabelArrayName (const char *name, int idx)
virtual const char * GetGraphEdgeLabelArrayName ()
virtual const char * GetGraphEdgeLabelArrayName (int idx)
virtual void SetGraphEdgeLabelTextProperty (vtkTextProperty *tp)
virtual void SetGraphEdgeLabelTextProperty (vtkTextProperty *tp, int idx)
virtual vtkTextPropertyGetGraphEdgeLabelTextProperty ()
virtual vtkTextPropertyGetGraphEdgeLabelTextProperty (int idx)
virtual void SetAreaHoverArrayName (const char *)
virtual char * GetAreaHoverArrayName ()
virtual void SetAreaLabelVisibility (bool vis)
virtual bool GetAreaLabelVisibility ()
virtual void AreaLabelVisibilityOn ()
virtual void AreaLabelVisibilityOff ()
virtual void SetAreaLabelTextProperty (vtkTextProperty *tp)
virtual vtkTextPropertyGetAreaLabelTextProperty ()
virtual void SetGraphEdgeLabelVisibility (bool vis)
virtual void SetGraphEdgeLabelVisibility (bool vis, int idx)
virtual bool GetGraphEdgeLabelVisibility ()
virtual bool GetGraphEdgeLabelVisibility (int idx)
virtual void GraphEdgeLabelVisibilityOn ()
virtual void GraphEdgeLabelVisibilityOff ()
void SetAreaColorArrayName (const char *name)
const char * GetAreaColorArrayName ()
virtual void SetColorAreasByArray (bool vis)
virtual bool GetColorAreasByArray ()
virtual void ColorAreasByArrayOn ()
virtual void ColorAreasByArrayOff ()
virtual void SetGraphEdgeColorArrayName (const char *name)
virtual void SetGraphEdgeColorArrayName (const char *name, int idx)
virtual const char * GetGraphEdgeColorArrayName ()
virtual const char * GetGraphEdgeColorArrayName (int idx)
virtual void SetGraphEdgeColorToSplineFraction ()
virtual void SetGraphEdgeColorToSplineFraction (int idx)
virtual void SetColorGraphEdgesByArray (bool vis)
virtual void SetColorGraphEdgesByArray (bool vis, int idx)
virtual bool GetColorGraphEdgesByArray ()
virtual bool GetColorGraphEdgesByArray (int idx)
virtual void ColorGraphEdgesByArrayOn ()
virtual void ColorGraphEdgesByArrayOff ()
virtual void SetGraphHoverArrayName (const char *name)
virtual void SetGraphHoverArrayName (const char *name, int idx)
virtual const char * GetGraphHoverArrayName ()
virtual const char * GetGraphHoverArrayName (int idx)
virtual void SetShrinkPercentage (double value)
virtual double GetShrinkPercentage ()
virtual void SetGraphBundlingStrength (double strength)
virtual void SetGraphBundlingStrength (double strength, int idx)
virtual double GetGraphBundlingStrength ()
virtual double GetGraphBundlingStrength (int idx)
virtual void SetGraphSplineType (int type, int idx)
virtual int GetGraphSplineType (int idx)
virtual void SetAreaLayoutStrategy (vtkAreaLayoutStrategy *strategy)
virtual vtkAreaLayoutStrategyGetAreaLayoutStrategy ()
virtual void SetAreaToPolyData (vtkPolyDataAlgorithm *areaToPoly)
virtual vtkPolyDataAlgorithmGetAreaToPolyData ()
virtual void SetUseRectangularCoordinates (bool)
virtual bool GetUseRectangularCoordinates ()
virtual void UseRectangularCoordinatesOn ()
virtual void UseRectangularCoordinatesOff ()
virtual void SetAreaLabelMapper (vtkLabeledDataMapper *mapper)
virtual vtkLabeledDataMapperGetAreaLabelMapper ()
virtual void SetEdgeScalarBarVisibility (bool b)
virtual bool GetEdgeScalarBarVisibility ()

Static Public Member Functions

static
vtkRenderedTreeAreaRepresentation
New ()
static int IsTypeOf (const char *type)
static
vtkRenderedTreeAreaRepresentation
SafeDownCast (vtkObjectBase *o)

Protected Member Functions

virtual vtkObjectBaseNewInstanceInternal () const
 vtkRenderedTreeAreaRepresentation ()
 ~vtkRenderedTreeAreaRepresentation ()
virtual vtkSelectionConvertSelection (vtkView *view, vtkSelection *sel)
virtual int FillInputPortInformation (int port, vtkInformation *info)
virtual int RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *)
virtual void PrepareForRendering (vtkRenderView *view)
bool ValidIndex (int idx)
void UpdateHoverHighlight (vtkView *view, int x, int y)
virtual vtkUnicodeString GetHoverTextInternal (vtkSelection *sel)
virtual void SetAreaSizeArrayNameInternal (const char *)
virtual char * GetAreaSizeArrayNameInternal ()
virtual void SetAreaColorArrayNameInternal (const char *)
virtual char * GetAreaColorArrayNameInternal ()
virtual void SetAreaLabelArrayNameInternal (const char *)
virtual char * GetAreaLabelArrayNameInternal ()
virtual void SetAreaLabelPriorityArrayNameInternal (const char *)
virtual char * GetAreaLabelPriorityArrayNameInternal ()
virtual void SetGraphEdgeColorArrayNameInternal (const char *)
virtual char * GetGraphEdgeColorArrayNameInternal ()
virtual char * GetAreaHoverTextInternal ()
virtual void SetAreaHoverTextInternal (const char *)
virtual bool AddToView (vtkView *view)
virtual bool RemoveFromView (vtkView *view)

Protected Attributes

Internals * Implementation
vtkSmartPointer
< vtkWorldPointPicker
Picker
vtkSmartPointer< vtkApplyColorsApplyColors
vtkSmartPointer
< vtkTreeLevelsFilter
TreeLevels
vtkSmartPointer< vtkVertexDegreeVertexDegree
vtkSmartPointer
< vtkTreeFieldAggregator
TreeAggregation
vtkSmartPointer< vtkAreaLayoutAreaLayout
vtkSmartPointer
< vtkPolyDataMapper
AreaMapper
vtkSmartPointer< vtkActorAreaActor
vtkSmartPointer< vtkActor2DAreaLabelActor
vtkSmartPointer< vtkPolyDataHighlightData
vtkSmartPointer
< vtkPolyDataMapper
HighlightMapper
vtkSmartPointer< vtkActorHighlightActor
vtkPolyDataAlgorithmAreaToPolyData
vtkLabeledDataMapperAreaLabelMapper
vtkSmartPointer
< vtkScalarBarWidget
EdgeScalarBar
vtkSmartPointer
< vtkPointSetToLabelHierarchy
AreaLabelHierarchy
vtkSmartPointer< vtkPolyDataEmptyPolyData
char * AreaSizeArrayNameInternal
char * AreaColorArrayNameInternal
char * AreaLabelArrayNameInternal
char * AreaLabelPriorityArrayNameInternal
char * GraphEdgeColorArrayNameInternal
char * AreaHoverTextInternal
char * AreaHoverArrayName
bool UseRectangularCoordinates

Detailed Description

Examples:
vtkRenderedTreeAreaRepresentation (Examples)
Tests:
vtkRenderedTreeAreaRepresentation (Tests)

Definition at line 56 of file vtkRenderedTreeAreaRepresentation.h.


Member Typedef Documentation

Reimplemented from vtkRenderedRepresentation.

Definition at line 60 of file vtkRenderedTreeAreaRepresentation.h.


Constructor & Destructor Documentation


Member Function Documentation

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

Reimplemented from vtkRenderedRepresentation.

static int vtkRenderedTreeAreaRepresentation::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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkRenderedRepresentation.

virtual int vtkRenderedTreeAreaRepresentation::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 vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkRenderedRepresentation.

Reimplemented from vtkRenderedRepresentation.

Reimplemented from vtkRenderedRepresentation.

Reimplemented from vtkRenderedRepresentation.

void vtkRenderedTreeAreaRepresentation::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 vtkRenderedRepresentation.

Set the label render mode. QT - Use vtkQtTreeRingLabeler with fitted labeling and unicode support. Requires VTK_USE_QT to be on. FREETYPE

  • Use standard freetype text rendering.

Reimplemented from vtkRenderedRepresentation.

virtual void vtkRenderedTreeAreaRepresentation::SetAreaLabelArrayName ( const char *  name) [virtual]

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

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

virtual void vtkRenderedTreeAreaRepresentation::SetAreaSizeArrayName ( const char *  name) [virtual]

The array to use for area sizes. Default is "size".

The array to use for area sizes. Default is "size".

virtual void vtkRenderedTreeAreaRepresentation::SetAreaLabelPriorityArrayName ( const char *  name) [virtual]

The array to use for area labeling priority. Default is "GraphVertexDegree".

The array to use for area labeling priority. Default is "GraphVertexDegree".

virtual void vtkRenderedTreeAreaRepresentation::SetGraphEdgeLabelArrayName ( const char *  name) [inline, virtual]

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

Definition at line 89 of file vtkRenderedTreeAreaRepresentation.h.

virtual void vtkRenderedTreeAreaRepresentation::SetGraphEdgeLabelArrayName ( const char *  name,
int  idx 
) [virtual]

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

virtual const char* vtkRenderedTreeAreaRepresentation::GetGraphEdgeLabelArrayName ( ) [inline, virtual]

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

Definition at line 92 of file vtkRenderedTreeAreaRepresentation.h.

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

The text property for the graph edge labels.

Definition at line 99 of file vtkRenderedTreeAreaRepresentation.h.

The text property for the graph edge labels.

The text property for the graph edge labels.

Definition at line 102 of file vtkRenderedTreeAreaRepresentation.h.

The text property for the graph edge labels.

virtual void vtkRenderedTreeAreaRepresentation::SetAreaHoverArrayName ( const char *  ) [virtual]

The name of the array whose value appears when the mouse hovers over a rectangle in the treemap.

The name of the array whose value appears when the mouse hovers over a rectangle in the treemap.

virtual void vtkRenderedTreeAreaRepresentation::SetAreaLabelVisibility ( bool  vis) [virtual]

Whether to show area labels. Default is off.

Whether to show area labels. Default is off.

Whether to show area labels. Default is off.

Whether to show area labels. Default is off.

The text property for the area labels.

The text property for the area labels.

virtual void vtkRenderedTreeAreaRepresentation::SetGraphEdgeLabelVisibility ( bool  vis) [inline, virtual]

Whether to show edge labels. Default is off.

Definition at line 129 of file vtkRenderedTreeAreaRepresentation.h.

virtual void vtkRenderedTreeAreaRepresentation::SetGraphEdgeLabelVisibility ( bool  vis,
int  idx 
) [virtual]

Whether to show edge labels. Default is off.

Whether to show edge labels. Default is off.

Definition at line 132 of file vtkRenderedTreeAreaRepresentation.h.

Whether to show edge labels. Default is off.

Whether to show edge labels. Default is off.

Whether to show edge labels. Default is off.

The array to use for coloring vertices. Default is "color".

The array to use for coloring vertices. Default is "color".

virtual void vtkRenderedTreeAreaRepresentation::SetColorAreasByArray ( bool  vis) [virtual]

Whether to color vertices. Default is off.

Whether to color vertices. Default is off.

Whether to color vertices. Default is off.

Whether to color vertices. Default is off.

virtual void vtkRenderedTreeAreaRepresentation::SetGraphEdgeColorArrayName ( const char *  name) [inline, virtual]

The array to use for coloring edges. Default is "color".

Definition at line 153 of file vtkRenderedTreeAreaRepresentation.h.

virtual void vtkRenderedTreeAreaRepresentation::SetGraphEdgeColorArrayName ( const char *  name,
int  idx 
) [virtual]

The array to use for coloring edges. Default is "color".

virtual const char* vtkRenderedTreeAreaRepresentation::GetGraphEdgeColorArrayName ( ) [inline, virtual]

The array to use for coloring edges. Default is "color".

Definition at line 156 of file vtkRenderedTreeAreaRepresentation.h.

The array to use for coloring edges. Default is "color".

Set the color to be the spline fraction

Definition at line 163 of file vtkRenderedTreeAreaRepresentation.h.

Set the color to be the spline fraction

virtual void vtkRenderedTreeAreaRepresentation::SetColorGraphEdgesByArray ( bool  vis) [inline, virtual]

Whether to color edges. Default is off.

Definition at line 170 of file vtkRenderedTreeAreaRepresentation.h.

virtual void vtkRenderedTreeAreaRepresentation::SetColorGraphEdgesByArray ( bool  vis,
int  idx 
) [virtual]

Whether to color edges. Default is off.

Whether to color edges. Default is off.

Definition at line 173 of file vtkRenderedTreeAreaRepresentation.h.

Whether to color edges. Default is off.

Whether to color edges. Default is off.

Whether to color edges. Default is off.

virtual void vtkRenderedTreeAreaRepresentation::SetGraphHoverArrayName ( const char *  name) [inline, virtual]

The name of the array whose value appears when the mouse hovers over a graph edge.

Definition at line 182 of file vtkRenderedTreeAreaRepresentation.h.

virtual void vtkRenderedTreeAreaRepresentation::SetGraphHoverArrayName ( const char *  name,
int  idx 
) [virtual]

The name of the array whose value appears when the mouse hovers over a graph edge.

virtual const char* vtkRenderedTreeAreaRepresentation::GetGraphHoverArrayName ( ) [inline, virtual]

The name of the array whose value appears when the mouse hovers over a graph edge.

Definition at line 185 of file vtkRenderedTreeAreaRepresentation.h.

virtual const char* vtkRenderedTreeAreaRepresentation::GetGraphHoverArrayName ( int  idx) [virtual]

The name of the array whose value appears when the mouse hovers over a graph edge.

Set the region shrink percentage between 0.0 and 1.0.

Set the region shrink percentage between 0.0 and 1.0.

virtual void vtkRenderedTreeAreaRepresentation::SetGraphBundlingStrength ( double  strength) [inline, virtual]

Set the bundling strength.

Definition at line 198 of file vtkRenderedTreeAreaRepresentation.h.

virtual void vtkRenderedTreeAreaRepresentation::SetGraphBundlingStrength ( double  strength,
int  idx 
) [virtual]

Set the bundling strength.

Set the bundling strength.

Definition at line 201 of file vtkRenderedTreeAreaRepresentation.h.

Set the bundling strength.

virtual void vtkRenderedTreeAreaRepresentation::SetGraphSplineType ( int  type,
int  idx 
) [virtual]

Sets the spline type for the graph edges. vtkSplineGraphEdges::CUSTOM uses a vtkCardinalSpline. vtkSplineGraphEdges::BSPLINE uses a b-spline. The default is BSPLINE.

Sets the spline type for the graph edges. vtkSplineGraphEdges::CUSTOM uses a vtkCardinalSpline. vtkSplineGraphEdges::BSPLINE uses a b-spline. The default is BSPLINE.

The layout strategy for producing spatial regions for the tree.

The layout strategy for producing spatial regions for the tree.

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.

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.

Whether the area represents radial or rectangular coordinates.

Whether the area represents radial or rectangular coordinates.

Whether the area represents radial or rectangular coordinates.

Whether the area represents radial or rectangular coordinates.

The mapper for rendering labels on areas. This may e.g. be vtkDynamic2DLabelMapper or vtkTreeMapLabelMapper.

The mapper for rendering labels on areas. This may e.g. be vtkDynamic2DLabelMapper or vtkTreeMapLabelMapper.

Apply the theme to this view.

Visibility of scalar bar actor for edges.

Visibility of scalar bar actor for edges.

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

Called by the view to add/remove this representation.

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

Called by the view to add/remove this representation.

virtual vtkSelection* vtkRenderedTreeAreaRepresentation::ConvertSelection ( vtkView view,
vtkSelection selection 
) [protected, virtual]

Convert the selection to a type appropriate for sharing with other representations through vtkAnnotationLink, possibly using the view. For the superclass, we just return the same selection. Subclasses may do something more fancy, like convert the selection from a frustrum to a list of pedigree ids. If the selection cannot be applied to this representation, return NULL.

Reimplemented from vtkDataRepresentation.

virtual int vtkRenderedTreeAreaRepresentation::FillInputPortInformation ( int  port,
vtkInformation info 
) [protected, virtual]

Fill the input port information objects for this algorithm. This is invoked by the first call to GetInputPortInformation for each port so subclasses can specify what they can handle.

Reimplemented from vtkPassInputTypeAlgorithm.

Subclasses should override this to connect inputs to the internal pipeline as necessary. Since most representations are "meta-filters" (i.e. filters containing other filters), you should create shallow copies of your input before connecting to the internal pipeline. The convenience method GetInternalOutputPort will create a cached shallow copy of a specified input for you. The related helper functions GetInternalAnnotationOutputPort, GetInternalSelectionOutputPort should be used to obtain a selection or annotation port whose selections are localized for a particular input data object.

Reimplemented from vtkDataRepresentation.

virtual void vtkRenderedTreeAreaRepresentation::PrepareForRendering ( vtkRenderView view) [protected, virtual]

The view will call this method before every render. Representations may add their own pre-render logic here.

Reimplemented from vtkRenderedRepresentation.

void vtkRenderedTreeAreaRepresentation::UpdateHoverHighlight ( vtkView view,
int  x,
int  y 
) [protected]

Subclasses may override this method to generate the hover text.

Reimplemented from vtkRenderedRepresentation.

virtual void vtkRenderedTreeAreaRepresentation::SetAreaSizeArrayNameInternal ( const char *  ) [protected, virtual]
virtual void vtkRenderedTreeAreaRepresentation::SetAreaColorArrayNameInternal ( const char *  ) [protected, virtual]
virtual void vtkRenderedTreeAreaRepresentation::SetAreaLabelArrayNameInternal ( const char *  ) [protected, virtual]
virtual void vtkRenderedTreeAreaRepresentation::SetAreaLabelPriorityArrayNameInternal ( const char *  ) [protected, virtual]
virtual void vtkRenderedTreeAreaRepresentation::SetGraphEdgeColorArrayNameInternal ( const char *  ) [protected, virtual]
virtual char* vtkRenderedTreeAreaRepresentation::GetAreaHoverTextInternal ( ) [protected, virtual]
virtual void vtkRenderedTreeAreaRepresentation::SetAreaHoverTextInternal ( const char *  ) [protected, virtual]

Member Data Documentation

Reimplemented from vtkRenderedRepresentation.

Definition at line 279 of file vtkRenderedTreeAreaRepresentation.h.

Definition at line 284 of file vtkRenderedTreeAreaRepresentation.h.

Definition at line 285 of file vtkRenderedTreeAreaRepresentation.h.

Definition at line 286 of file vtkRenderedTreeAreaRepresentation.h.

Definition at line 287 of file vtkRenderedTreeAreaRepresentation.h.

Definition at line 288 of file vtkRenderedTreeAreaRepresentation.h.

Definition at line 289 of file vtkRenderedTreeAreaRepresentation.h.

Definition at line 290 of file vtkRenderedTreeAreaRepresentation.h.

Definition at line 291 of file vtkRenderedTreeAreaRepresentation.h.

Definition at line 292 of file vtkRenderedTreeAreaRepresentation.h.

Definition at line 293 of file vtkRenderedTreeAreaRepresentation.h.

Definition at line 294 of file vtkRenderedTreeAreaRepresentation.h.

Definition at line 295 of file vtkRenderedTreeAreaRepresentation.h.

Definition at line 296 of file vtkRenderedTreeAreaRepresentation.h.

Definition at line 297 of file vtkRenderedTreeAreaRepresentation.h.

Definition at line 298 of file vtkRenderedTreeAreaRepresentation.h.

Definition at line 299 of file vtkRenderedTreeAreaRepresentation.h.

Definition at line 300 of file vtkRenderedTreeAreaRepresentation.h.

Definition at line 304 of file vtkRenderedTreeAreaRepresentation.h.

Definition at line 307 of file vtkRenderedTreeAreaRepresentation.h.

Definition at line 310 of file vtkRenderedTreeAreaRepresentation.h.

Definition at line 313 of file vtkRenderedTreeAreaRepresentation.h.

Definition at line 316 of file vtkRenderedTreeAreaRepresentation.h.

Definition at line 319 of file vtkRenderedTreeAreaRepresentation.h.

Definition at line 321 of file vtkRenderedTreeAreaRepresentation.h.

Definition at line 323 of file vtkRenderedTreeAreaRepresentation.h.


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