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 "vtkTreeAreaView.h"
40 
42 {
43 public:
44  static vtkIcicleView *New();
46  void PrintSelf(ostream& os, vtkIndent indent);
47 
49 
50  virtual void SetTopToBottom(bool value);
51  virtual bool GetTopToBottom();
52  vtkBooleanMacro(TopToBottom, bool);
54 
56 
57  virtual void SetRootWidth(double width);
58  virtual double GetRootWidth();
60 
62 
63  virtual void SetLayerThickness(double thickness);
64  virtual double GetLayerThickness();
66 
68 
69  virtual void SetUseGradientColoring(bool value);
70  virtual bool GetUseGradientColoring();
71  vtkBooleanMacro(UseGradientColoring, bool);
73 
74 protected:
75  vtkIcicleView();
76  ~vtkIcicleView();
77 
78 private:
79  vtkIcicleView(const vtkIcicleView&); // Not implemented.
80  void operator=(const vtkIcicleView&); // Not implemented.
81 };
82 
83 #endif
Accepts a graph and a hierarchy - currently a tree - and provides a hierarchy-aware display...
static vtkTreeAreaView * New()
#define VTK_VIEWS_EXPORT
a simple class to control print indentation
Definition: vtkIndent.h:37
Displays a tree in a stacked "icicle" view.
Definition: vtkIcicleView.h:41
void PrintSelf(ostream &os, vtkIndent indent)