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 -------------------------------------------------------------------------*/
31 #ifndef vtkIcicleView_h
32 #define vtkIcicleView_h
33 
34 #include "vtkViewsInfovisModule.h" // For export macro
35 #include "vtkTreeAreaView.h"
36 
37 class VTKVIEWSINFOVIS_EXPORT vtkIcicleView : public vtkTreeAreaView
38 {
39 public:
40  static vtkIcicleView *New();
42  void PrintSelf(ostream& os, vtkIndent indent) override;
43 
45 
48  virtual void SetTopToBottom(bool value);
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 
78 protected:
79  vtkIcicleView();
80  ~vtkIcicleView() override;
81 
82 private:
83  vtkIcicleView(const vtkIcicleView&) = delete;
84  void operator=(const vtkIcicleView&) = delete;
85 };
86 
87 #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:33
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:37