VTK  9.1.0
vtkIcicleView.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkIcicleView.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
15/*-------------------------------------------------------------------------
16 Copyright 2008 Sandia Corporation.
17 Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18 the U.S. Government retains certain rights in this software.
19-------------------------------------------------------------------------*/
31#ifndef vtkIcicleView_h
32#define vtkIcicleView_h
33
34#include "vtkTreeAreaView.h"
35#include "vtkViewsInfovisModule.h" // For export macro
36
37class VTKVIEWSINFOVIS_EXPORT vtkIcicleView : public vtkTreeAreaView
38{
39public:
40 static vtkIcicleView* New();
42 void PrintSelf(ostream& os, vtkIndent indent) override;
43
45
48 virtual void SetTopToBottom(bool reversed);
49 virtual bool GetTopToBottom();
50 vtkBooleanMacro(TopToBottom, bool);
52
54
57 virtual void SetRootWidth(double width);
58 virtual double GetRootWidth();
60
62
65 virtual void SetLayerThickness(double thickness);
66 virtual double GetLayerThickness();
68
70
73 virtual void SetUseGradientColoring(bool value);
74 virtual bool GetUseGradientColoring();
75 vtkBooleanMacro(UseGradientColoring, bool);
77
78protected:
80 ~vtkIcicleView() override;
81
82private:
83 vtkIcicleView(const vtkIcicleView&) = delete;
84 void operator=(const vtkIcicleView&) = delete;
85};
86
87#endif
Displays a tree in a stacked "icicle" view.
Definition: vtkIcicleView.h:38
virtual void SetTopToBottom(bool reversed)
Sets whether the stacks go from top to bottom or bottom to top.
virtual bool GetTopToBottom()
Sets whether the stacks go from top to bottom or bottom to top.
virtual void SetLayerThickness(double thickness)
Set the thickness of each layer.
virtual double GetRootWidth()
Set the width of the root node.
virtual void SetUseGradientColoring(bool value)
Turn on/off gradient coloring.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkIcicleView() override
static vtkIcicleView * New()
virtual bool GetUseGradientColoring()
Turn on/off gradient coloring.
virtual void SetRootWidth(double width)
Set the width of the root node.
virtual double GetLayerThickness()
Set the thickness of each layer.
a simple class to control print indentation
Definition: vtkIndent.h:113
Accepts a graph and a hierarchy - currently a tree - and provides a hierarchy-aware display.