VTK
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 -------------------------------------------------------------------------*/
37 #ifndef vtkIcicleView_h
38 #define vtkIcicleView_h
39 
40 #include "vtkViewsInfovisModule.h" // For export macro
41 #include "vtkTreeAreaView.h"
42 
43 class VTKVIEWSINFOVIS_EXPORT vtkIcicleView : public vtkTreeAreaView
44 {
45 public:
46  static vtkIcicleView *New();
48  void PrintSelf(ostream& os, vtkIndent indent) override;
49 
51 
54  virtual void SetTopToBottom(bool value);
55  virtual bool GetTopToBottom();
56  vtkBooleanMacro(TopToBottom, bool);
58 
60 
63  virtual void SetRootWidth(double width);
64  virtual double GetRootWidth();
66 
68 
71  virtual void SetLayerThickness(double thickness);
72  virtual double GetLayerThickness();
74 
76 
79  virtual void SetUseGradientColoring(bool value);
80  virtual bool GetUseGradientColoring();
81  vtkBooleanMacro(UseGradientColoring, bool);
83 
84 protected:
85  vtkIcicleView();
86  ~vtkIcicleView() override;
87 
88 private:
89  vtkIcicleView(const vtkIcicleView&) = delete;
90  void operator=(const vtkIcicleView&) = delete;
91 };
92 
93 #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:43