VTK
vtkTreeRingView.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTreeRingView.h
5 
6  -------------------------------------------------------------------------
7  Copyright 2008 Sandia Corporation.
8  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
9  the U.S. Government retains certain rights in this software.
10  -------------------------------------------------------------------------
11 
12  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
13  All rights reserved.
14  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
15 
16  This software is distributed WITHOUT ANY WARRANTY; without even
17  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
18  PURPOSE. See the above copyright notice for more information.
19 
20 =========================================================================*/
21 
44 #ifndef vtkTreeRingView_h
45 #define vtkTreeRingView_h
46 
47 #include "vtkViewsInfovisModule.h" // For export macro
48 #include "vtkTreeAreaView.h"
49 
51 {
52 public:
53  static vtkTreeRingView *New();
55  void PrintSelf(ostream& os, vtkIndent indent);
56 
58  void SetRootAngles(double start, double end);
59 
61 
62  virtual void SetRootAtCenter(bool value);
63  virtual bool GetRootAtCenter();
64  vtkBooleanMacro(RootAtCenter, bool);
66 
68 
69  virtual void SetLayerThickness(double thickness);
70  virtual double GetLayerThickness();
72 
74 
76  virtual void SetInteriorRadius(double thickness);
77  virtual double GetInteriorRadius();
79 
81 
83  virtual void SetInteriorLogSpacingValue(double thickness);
84  virtual double GetInteriorLogSpacingValue();
86 
87 protected:
89  ~vtkTreeRingView();
90 
91 private:
92  vtkTreeRingView(const vtkTreeRingView&); // Not implemented.
93  void operator=(const vtkTreeRingView&); // Not implemented.
94 };
95 
96 #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 concentric rings.
void PrintSelf(ostream &os, vtkIndent indent)
#define VTKVIEWSINFOVIS_EXPORT