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