VTK  9.3.1
vtkTreeRingView.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation
3 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
24 #ifndef vtkTreeRingView_h
25 #define vtkTreeRingView_h
26 
27 #include "vtkTreeAreaView.h"
28 #include "vtkViewsInfovisModule.h" // For export macro
29 
30 VTK_ABI_NAMESPACE_BEGIN
31 class VTKVIEWSINFOVIS_EXPORT vtkTreeRingView : public vtkTreeAreaView
32 {
33 public:
34  static vtkTreeRingView* New();
36  void PrintSelf(ostream& os, vtkIndent indent) override;
37 
41  void SetRootAngles(double start, double end);
42 
44 
47  virtual void SetRootAtCenter(bool center);
48  virtual bool GetRootAtCenter();
49  vtkBooleanMacro(RootAtCenter, bool);
51 
53 
56  virtual void SetLayerThickness(double thickness);
57  virtual double GetLayerThickness();
59 
61 
65  virtual void SetInteriorRadius(double rad);
66  virtual double GetInteriorRadius();
68 
70 
74  virtual void SetInteriorLogSpacingValue(double value);
75  virtual double GetInteriorLogSpacingValue();
77 
78 protected:
80  ~vtkTreeRingView() override;
81 
82 private:
83  vtkTreeRingView(const vtkTreeRingView&) = delete;
84  void operator=(const vtkTreeRingView&) = delete;
85 };
86 
87 VTK_ABI_NAMESPACE_END
88 #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:28
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.