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:
86  ~vtkIcicleView() override;
87 
88 private:
89  vtkIcicleView(const vtkIcicleView&) = delete;
90  void operator=(const vtkIcicleView&) = delete;
91 };
92 
93 #endif
vtkIcicleView::SetTopToBottom
virtual void SetTopToBottom(bool value)
Sets whether the stacks go from top to bottom or bottom to top.
vtkIcicleView::GetTopToBottom
virtual bool GetTopToBottom()
vtkIcicleView::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkX3D::value
@ value
Definition: vtkX3D.h:220
vtkIcicleView::GetLayerThickness
virtual double GetLayerThickness()
vtkIcicleView::vtkIcicleView
vtkIcicleView()
vtkIcicleView::SetRootWidth
virtual void SetRootWidth(double width)
Set the width of the root node.
vtkIcicleView
Displays a tree in a stacked "icicle" view.
Definition: vtkIcicleView.h:44
vtkIcicleView::~vtkIcicleView
~vtkIcicleView() override
vtkIcicleView::SetLayerThickness
virtual void SetLayerThickness(double thickness)
Set the thickness of each layer.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkIcicleView::GetRootWidth
virtual double GetRootWidth()
vtkTreeAreaView.h
vtkIcicleView::New
static vtkIcicleView * New()
vtkIcicleView::SetUseGradientColoring
virtual void SetUseGradientColoring(bool value)
Turn on/off gradient coloring.
vtkIcicleView::GetUseGradientColoring
virtual bool GetUseGradientColoring()
vtkTreeAreaView
Accepts a graph and a hierarchy - currently a tree - and provides a hierarchy-aware display....
Definition: vtkTreeAreaView.h:54