VTK
|
#include <vtkRenderedTreeAreaRepresentation.h>
Public Types | |
typedef vtkRenderedRepresentation | Superclass |
![]() | |
typedef vtkDataRepresentation | Superclass |
![]() | |
typedef vtkPassInputTypeAlgorithm | Superclass |
Public Member Functions | |
virtual int | IsA (const char *type) |
vtkRenderedTreeAreaRepresentation * | NewInstance () 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 vtkTextProperty * | GetGraphEdgeLabelTextProperty () |
virtual vtkTextProperty * | GetGraphEdgeLabelTextProperty (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 vtkTextProperty * | GetAreaLabelTextProperty () |
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 vtkAreaLayoutStrategy * | GetAreaLayoutStrategy () |
virtual void | SetAreaToPolyData (vtkPolyDataAlgorithm *areaToPoly) |
virtual vtkPolyDataAlgorithm * | GetAreaToPolyData () |
virtual void | SetUseRectangularCoordinates (bool) |
virtual bool | GetUseRectangularCoordinates () |
virtual void | UseRectangularCoordinatesOn () |
virtual void | UseRectangularCoordinatesOff () |
virtual void | SetAreaLabelMapper (vtkLabeledDataMapper *mapper) |
virtual vtkLabeledDataMapper * | GetAreaLabelMapper () |
virtual void | SetEdgeScalarBarVisibility (bool b) |
virtual bool | GetEdgeScalarBarVisibility () |
![]() | |
vtkRenderedRepresentation * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual int | GetLabelRenderMode () |
![]() | |
vtkDataRepresentation * | NewInstance () const |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | ApplyViewTheme (vtkViewTheme *vtkNotUsed(theme)) |
vtkAlgorithmOutput * | GetInputConnection (int port=0, int index=0) |
vtkAnnotationLink * | GetAnnotationLink () |
void | SetAnnotationLink (vtkAnnotationLink *link) |
void | Select (vtkView *view, vtkSelection *selection) |
void | Select (vtkView *view, vtkSelection *selection, bool extend) |
void | Annotate (vtkView *view, vtkAnnotationLayers *annotations) |
void | Annotate (vtkView *view, vtkAnnotationLayers *annotations, bool extend) |
virtual void | SetSelectable (bool) |
virtual bool | GetSelectable () |
virtual void | SelectableOn () |
virtual void | SelectableOff () |
void | UpdateSelection (vtkSelection *selection) |
void | UpdateSelection (vtkSelection *selection, bool extend) |
void | UpdateAnnotations (vtkAnnotationLayers *annotations) |
void | UpdateAnnotations (vtkAnnotationLayers *annotations, bool extend) |
virtual vtkAlgorithmOutput * | GetInternalAnnotationOutputPort () |
virtual vtkAlgorithmOutput * | GetInternalAnnotationOutputPort (int port) |
virtual vtkAlgorithmOutput * | GetInternalAnnotationOutputPort (int port, int conn) |
virtual vtkAlgorithmOutput * | GetInternalSelectionOutputPort () |
virtual vtkAlgorithmOutput * | GetInternalSelectionOutputPort (int port) |
virtual vtkAlgorithmOutput * | GetInternalSelectionOutputPort (int port, int conn) |
virtual vtkAlgorithmOutput * | GetInternalOutputPort () |
virtual vtkAlgorithmOutput * | GetInternalOutputPort (int port) |
virtual vtkAlgorithmOutput * | GetInternalOutputPort (int port, int conn) |
virtual void | SetSelectionType (int) |
virtual int | GetSelectionType () |
virtual void | SetSelectionArrayNames (vtkStringArray *names) |
virtual vtkStringArray * | GetSelectionArrayNames () |
virtual void | SetSelectionArrayName (const char *name) |
virtual const char * | GetSelectionArrayName () |
Static Public Member Functions | |
static vtkRenderedTreeAreaRepresentation * | New () |
static int | IsTypeOf (const char *type) |
static vtkRenderedTreeAreaRepresentation * | SafeDownCast (vtkObjectBase *o) |
![]() | |
static vtkRenderedRepresentation * | New () |
static int | IsTypeOf (const char *type) |
static vtkRenderedRepresentation * | SafeDownCast (vtkObjectBase *o) |
![]() | |
static vtkDataRepresentation * | New () |
static int | IsTypeOf (const char *type) |
static vtkDataRepresentation * | SafeDownCast (vtkObjectBase *o) |
Protected Member Functions | |
virtual vtkObjectBase * | NewInstanceInternal () const |
vtkRenderedTreeAreaRepresentation () | |
~vtkRenderedTreeAreaRepresentation () | |
virtual vtkSelection * | ConvertSelection (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) |
![]() | |
vtkRenderedRepresentation () | |
~vtkRenderedRepresentation () | |
vtkUnicodeString | GetHoverText (vtkView *view, vtkProp *prop, vtkIdType cell) |
void | AddPropOnNextRender (vtkProp *p) |
void | RemovePropOnNextRender (vtkProp *p) |
![]() | |
vtkDataRepresentation () | |
~vtkDataRepresentation () | |
virtual void | ProcessEvents (vtkObject *caller, unsigned long eventId, void *callData) |
virtual bool | AddToView (vtkView *vtkNotUsed(view)) |
virtual bool | RemoveFromView (vtkView *vtkNotUsed(view)) |
virtual vtkAnnotationLayers * | ConvertAnnotations (vtkView *view, vtkAnnotationLayers *annotations) |
vtkTrivialProducer * | GetInternalInput (int port, int conn) |
void | SetInternalInput (int port, int conn, vtkTrivialProducer *producer) |
virtual void | SetAnnotationLinkInternal (vtkAnnotationLink *link) |
Protected Attributes | |
Internals * | Implementation |
vtkSmartPointer < vtkWorldPointPicker > | Picker |
vtkSmartPointer< vtkApplyColors > | ApplyColors |
vtkSmartPointer < vtkTreeLevelsFilter > | TreeLevels |
vtkSmartPointer< vtkVertexDegree > | VertexDegree |
vtkSmartPointer < vtkTreeFieldAggregator > | TreeAggregation |
vtkSmartPointer< vtkAreaLayout > | AreaLayout |
vtkSmartPointer < vtkPolyDataMapper > | AreaMapper |
vtkSmartPointer< vtkActor > | AreaActor |
vtkSmartPointer< vtkActor2D > | AreaLabelActor |
vtkSmartPointer< vtkPolyData > | HighlightData |
vtkSmartPointer < vtkPolyDataMapper > | HighlightMapper |
vtkSmartPointer< vtkActor > | HighlightActor |
vtkPolyDataAlgorithm * | AreaToPolyData |
vtkLabeledDataMapper * | AreaLabelMapper |
vtkSmartPointer < vtkScalarBarWidget > | EdgeScalarBar |
vtkSmartPointer < vtkPointSetToLabelHierarchy > | AreaLabelHierarchy |
vtkSmartPointer< vtkPolyData > | EmptyPolyData |
char * | AreaSizeArrayNameInternal |
char * | AreaColorArrayNameInternal |
char * | AreaLabelArrayNameInternal |
char * | AreaLabelPriorityArrayNameInternal |
char * | GraphEdgeColorArrayNameInternal |
char * | AreaHoverTextInternal |
char * | AreaHoverArrayName |
bool | UseRectangularCoordinates |
![]() | |
Internals * | Implementation |
int | LabelRenderMode |
![]() | |
bool | Selectable |
int | SelectionType |
vtkStringArray * | SelectionArrayNames |
Command * | Observer |
vtkAnnotationLink * | AnnotationLinkInternal |
Definition at line 56 of file vtkRenderedTreeAreaRepresentation.h.
Definition at line 60 of file vtkRenderedTreeAreaRepresentation.h.
|
protected |
|
protected |
|
static |
|
static |
|
virtual |
Reimplemented from vtkRenderedRepresentation.
|
static |
|
protectedvirtual |
Reimplemented from vtkRenderedRepresentation.
vtkRenderedTreeAreaRepresentation* vtkRenderedTreeAreaRepresentation::NewInstance | ( | ) | const |
void vtkRenderedTreeAreaRepresentation::PrintSelf | ( | ostream & | os, |
vtkIndent | indent | ||
) |
|
virtual |
Set the label render mode. QT - Use vtkQtTreeRingLabeler with fitted labeling and unicode support. Requires VTK_USE_QT to be on. FREETYPE
Reimplemented from vtkRenderedRepresentation.
|
virtual |
The array to use for area labeling. Default is "label".
|
virtual |
The array to use for area labeling. Default is "label".
|
virtual |
The array to use for area sizes. Default is "size".
|
virtual |
The array to use for area sizes. Default is "size".
|
virtual |
The array to use for area labeling priority. Default is "GraphVertexDegree".
|
virtual |
The array to use for area labeling priority. Default is "GraphVertexDegree".
|
inlinevirtual |
The array to use for edge labeling. Default is "label".
Definition at line 89 of file vtkRenderedTreeAreaRepresentation.h.
|
virtual |
The array to use for edge labeling. Default is "label".
|
inlinevirtual |
The array to use for edge labeling. Default is "label".
Definition at line 92 of file vtkRenderedTreeAreaRepresentation.h.
|
virtual |
The array to use for edge labeling. Default is "label".
|
inlinevirtual |
The text property for the graph edge labels.
Definition at line 99 of file vtkRenderedTreeAreaRepresentation.h.
|
virtual |
The text property for the graph edge labels.
|
inlinevirtual |
The text property for the graph edge labels.
Definition at line 102 of file vtkRenderedTreeAreaRepresentation.h.
|
virtual |
The text property for the graph edge labels.
|
virtual |
The name of the array whose value appears when the mouse hovers over a rectangle in the treemap.
|
virtual |
The name of the array whose value appears when the mouse hovers over a rectangle in the treemap.
|
virtual |
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.
|
virtual |
Whether to show area labels. Default is off.
|
virtual |
The text property for the area labels.
|
virtual |
The text property for the area labels.
|
inlinevirtual |
Whether to show edge labels. Default is off.
Definition at line 129 of file vtkRenderedTreeAreaRepresentation.h.
|
virtual |
Whether to show edge labels. Default is off.
|
inlinevirtual |
Whether to show edge labels. Default is off.
Definition at line 132 of file vtkRenderedTreeAreaRepresentation.h.
|
virtual |
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 vtkRenderedTreeAreaRepresentation::SetAreaColorArrayName | ( | const char * | name | ) |
The array to use for coloring vertices. Default is "color".
const char* vtkRenderedTreeAreaRepresentation::GetAreaColorArrayName | ( | ) |
The array to use for coloring vertices. Default is "color".
|
virtual |
Whether to color vertices. Default is off.
|
virtual |
Whether to color vertices. Default is off.
|
virtual |
Whether to color vertices. Default is off.
|
virtual |
Whether to color vertices. Default is off.
|
inlinevirtual |
The array to use for coloring edges. Default is "color".
Definition at line 153 of file vtkRenderedTreeAreaRepresentation.h.
|
virtual |
The array to use for coloring edges. Default is "color".
|
inlinevirtual |
The array to use for coloring edges. Default is "color".
Definition at line 156 of file vtkRenderedTreeAreaRepresentation.h.
|
virtual |
The array to use for coloring edges. Default is "color".
|
inlinevirtual |
Set the color to be the spline fraction
Definition at line 163 of file vtkRenderedTreeAreaRepresentation.h.
|
virtual |
Set the color to be the spline fraction
|
inlinevirtual |
Whether to color edges. Default is off.
Definition at line 170 of file vtkRenderedTreeAreaRepresentation.h.
|
virtual |
Whether to color edges. Default is off.
|
inlinevirtual |
Whether to color edges. Default is off.
Definition at line 173 of file vtkRenderedTreeAreaRepresentation.h.
|
virtual |
Whether to color edges. Default is off.
|
virtual |
Whether to color edges. Default is off.
|
virtual |
Whether to color edges. Default is off.
|
inlinevirtual |
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 |
The name of the array whose value appears when the mouse hovers over a graph edge.
|
inlinevirtual |
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 |
The name of the array whose value appears when the mouse hovers over a graph edge.
|
virtual |
Set the region shrink percentage between 0.0 and 1.0.
|
virtual |
Set the region shrink percentage between 0.0 and 1.0.
|
inlinevirtual |
Set the bundling strength.
Definition at line 198 of file vtkRenderedTreeAreaRepresentation.h.
|
virtual |
Set the bundling strength.
|
inlinevirtual |
Set the bundling strength.
Definition at line 201 of file vtkRenderedTreeAreaRepresentation.h.
|
virtual |
Set the bundling strength.
|
virtual |
Sets the spline type for the graph edges. vtkSplineGraphEdges::CUSTOM uses a vtkCardinalSpline. vtkSplineGraphEdges::BSPLINE uses a b-spline. The default is BSPLINE.
|
virtual |
Sets the spline type for the graph edges. vtkSplineGraphEdges::CUSTOM uses a vtkCardinalSpline. vtkSplineGraphEdges::BSPLINE uses a b-spline. The default is BSPLINE.
|
virtual |
The layout strategy for producing spatial regions for the tree.
|
virtual |
The layout strategy for producing spatial regions for the tree.
|
virtual |
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.
|
virtual |
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.
|
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 |
The mapper for rendering labels on areas. This may e.g. be vtkDynamic2DLabelMapper or vtkTreeMapLabelMapper.
|
virtual |
The mapper for rendering labels on areas. This may e.g. be vtkDynamic2DLabelMapper or vtkTreeMapLabelMapper.
|
virtual |
Apply the theme to this view.
|
virtual |
Visibility of scalar bar actor for edges.
|
virtual |
Visibility of scalar bar actor for edges.
|
protectedvirtual |
Called by the view to add/remove this representation.
|
protectedvirtual |
Called by the view to add/remove this representation.
|
protectedvirtual |
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.
|
protectedvirtual |
|
protectedvirtual |
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.
|
protectedvirtual |
The view will call this method before every render. Representations may add their own pre-render logic here.
Reimplemented from vtkRenderedRepresentation.
|
protected |
|
protected |
|
protectedvirtual |
Subclasses may override this method to generate the hover text.
Reimplemented from vtkRenderedRepresentation.
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protected |
Definition at line 279 of file vtkRenderedTreeAreaRepresentation.h.
|
protected |
Definition at line 284 of file vtkRenderedTreeAreaRepresentation.h.
|
protected |
Definition at line 285 of file vtkRenderedTreeAreaRepresentation.h.
|
protected |
Definition at line 286 of file vtkRenderedTreeAreaRepresentation.h.
|
protected |
Definition at line 287 of file vtkRenderedTreeAreaRepresentation.h.
|
protected |
Definition at line 288 of file vtkRenderedTreeAreaRepresentation.h.
|
protected |
Definition at line 289 of file vtkRenderedTreeAreaRepresentation.h.
|
protected |
Definition at line 290 of file vtkRenderedTreeAreaRepresentation.h.
|
protected |
Definition at line 291 of file vtkRenderedTreeAreaRepresentation.h.
|
protected |
Definition at line 292 of file vtkRenderedTreeAreaRepresentation.h.
|
protected |
Definition at line 293 of file vtkRenderedTreeAreaRepresentation.h.
|
protected |
Definition at line 294 of file vtkRenderedTreeAreaRepresentation.h.
|
protected |
Definition at line 295 of file vtkRenderedTreeAreaRepresentation.h.
|
protected |
Definition at line 296 of file vtkRenderedTreeAreaRepresentation.h.
|
protected |
Definition at line 297 of file vtkRenderedTreeAreaRepresentation.h.
|
protected |
Definition at line 298 of file vtkRenderedTreeAreaRepresentation.h.
|
protected |
Definition at line 299 of file vtkRenderedTreeAreaRepresentation.h.
|
protected |
Definition at line 300 of file vtkRenderedTreeAreaRepresentation.h.
|
protected |
Definition at line 304 of file vtkRenderedTreeAreaRepresentation.h.
|
protected |
Definition at line 307 of file vtkRenderedTreeAreaRepresentation.h.
|
protected |
Definition at line 310 of file vtkRenderedTreeAreaRepresentation.h.
|
protected |
Definition at line 313 of file vtkRenderedTreeAreaRepresentation.h.
|
protected |
Definition at line 316 of file vtkRenderedTreeAreaRepresentation.h.
|
protected |
Definition at line 319 of file vtkRenderedTreeAreaRepresentation.h.
|
protected |
Definition at line 321 of file vtkRenderedTreeAreaRepresentation.h.
|
protected |
Definition at line 323 of file vtkRenderedTreeAreaRepresentation.h.