VTK  9.3.1
vtkIcicleView.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation
3 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
18 #ifndef vtkIcicleView_h
19 #define vtkIcicleView_h
20 
21 #include "vtkTreeAreaView.h"
22 #include "vtkViewsInfovisModule.h" // For export macro
23 
24 VTK_ABI_NAMESPACE_BEGIN
25 class VTKVIEWSINFOVIS_EXPORT vtkIcicleView : public vtkTreeAreaView
26 {
27 public:
28  static vtkIcicleView* New();
30  void PrintSelf(ostream& os, vtkIndent indent) override;
31 
33 
36  virtual void SetTopToBottom(bool reversed);
37  virtual bool GetTopToBottom();
38  vtkBooleanMacro(TopToBottom, bool);
40 
42 
45  virtual void SetRootWidth(double width);
46  virtual double GetRootWidth();
48 
50 
53  virtual void SetLayerThickness(double thickness);
54  virtual double GetLayerThickness();
56 
58 
61  virtual void SetUseGradientColoring(bool value);
62  virtual bool GetUseGradientColoring();
63  vtkBooleanMacro(UseGradientColoring, bool);
65 
66 protected:
67  vtkIcicleView();
68  ~vtkIcicleView() override;
69 
70 private:
71  vtkIcicleView(const vtkIcicleView&) = delete;
72  void operator=(const vtkIcicleView&) = delete;
73 };
74 
75 VTK_ABI_NAMESPACE_END
76 #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:28
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:25