VTK  9.2.6
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 -------------------------------------------------------------------------*/
34 #ifndef vtkIcicleView_h
35 #define vtkIcicleView_h
36 
37 #include "vtkTreeAreaView.h"
38 #include "vtkViewsInfovisModule.h" // For export macro
39 
40 class VTKVIEWSINFOVIS_EXPORT vtkIcicleView : public vtkTreeAreaView
41 {
42 public:
43  static vtkIcicleView* New();
45  void PrintSelf(ostream& os, vtkIndent indent) override;
46 
48 
51  virtual void SetTopToBottom(bool reversed);
52  virtual bool GetTopToBottom();
53  vtkBooleanMacro(TopToBottom, bool);
55 
57 
60  virtual void SetRootWidth(double width);
61  virtual double GetRootWidth();
63 
65 
68  virtual void SetLayerThickness(double thickness);
69  virtual double GetLayerThickness();
71 
73 
76  virtual void SetUseGradientColoring(bool value);
77  virtual bool GetUseGradientColoring();
78  vtkBooleanMacro(UseGradientColoring, bool);
80 
81 protected:
82  vtkIcicleView();
83  ~vtkIcicleView() override;
84 
85 private:
86  vtkIcicleView(const vtkIcicleView&) = delete;
87  void operator=(const vtkIcicleView&) = delete;
88 };
89 
90 #endif
Accepts a graph and a hierarchy - currently a tree - and provides a hierarchy-aware display...
static vtkTreeAreaView * New()
a simple class to control print indentation
Definition: vtkIndent.h:39
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Displays a tree in a stacked "icicle" view.
Definition: vtkIcicleView.h:40