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 -------------------------------------------------------------------------*/
36 #ifndef vtkIcicleView_h
37 #define vtkIcicleView_h
38 
39 #include "vtkViewsInfovisModule.h" // For export macro
40 #include "vtkTreeAreaView.h"
41 
43 {
44 public:
45  static vtkIcicleView *New();
47  void PrintSelf(ostream& os, vtkIndent indent);
48 
50 
51  virtual void SetTopToBottom(bool value);
52  virtual bool GetTopToBottom();
53  vtkBooleanMacro(TopToBottom, bool);
55 
57 
58  virtual void SetRootWidth(double width);
59  virtual double GetRootWidth();
61 
63 
64  virtual void SetLayerThickness(double thickness);
65  virtual double GetLayerThickness();
67 
69 
70  virtual void SetUseGradientColoring(bool value);
71  virtual bool GetUseGradientColoring();
72  vtkBooleanMacro(UseGradientColoring, bool);
74 
75 protected:
76  vtkIcicleView();
77  ~vtkIcicleView();
78 
79 private:
80  vtkIcicleView(const vtkIcicleView&); // Not implemented.
81  void operator=(const vtkIcicleView&); // Not implemented.
82 };
83 
84 #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:38
Displays a tree in a stacked "icicle" view.
Definition: vtkIcicleView.h:42
void PrintSelf(ostream &os, vtkIndent indent)
#define VTKVIEWSINFOVIS_EXPORT