VTK  9.2.6
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 
42 #ifndef vtkTreeRingView_h
43 #define vtkTreeRingView_h
44 
45 #include "vtkTreeAreaView.h"
46 #include "vtkViewsInfovisModule.h" // For export macro
47 
48 class VTKVIEWSINFOVIS_EXPORT vtkTreeRingView : public vtkTreeAreaView
49 {
50 public:
51  static vtkTreeRingView* New();
53  void PrintSelf(ostream& os, vtkIndent indent) override;
54 
58  void SetRootAngles(double start, double end);
59 
61 
64  virtual void SetRootAtCenter(bool center);
65  virtual bool GetRootAtCenter();
66  vtkBooleanMacro(RootAtCenter, bool);
68 
70 
73  virtual void SetLayerThickness(double thickness);
74  virtual double GetLayerThickness();
76 
78 
82  virtual void SetInteriorRadius(double rad);
83  virtual double GetInteriorRadius();
85 
87 
91  virtual void SetInteriorLogSpacingValue(double value);
92  virtual double GetInteriorLogSpacingValue();
94 
95 protected:
97  ~vtkTreeRingView() override;
98 
99 private:
100  vtkTreeRingView(const vtkTreeRingView&) = delete;
101  void operator=(const vtkTreeRingView&) = delete;
102 };
103 
104 #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:39
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Displays a tree in concentric rings.