VTK  9.4.20241121
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
30VTK_ABI_NAMESPACE_BEGIN
31class VTKVIEWSINFOVIS_EXPORT vtkTreeRingView : public vtkTreeAreaView
32{
33public:
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);
77
78protected:
80 ~vtkTreeRingView() override;
81
82private:
83 vtkTreeRingView(const vtkTreeRingView&) = delete;
84 void operator=(const vtkTreeRingView&) = delete;
85};
86
87VTK_ABI_NAMESPACE_END
88#endif
a simple class to control print indentation
Definition vtkIndent.h:108
Accepts a graph and a hierarchy - currently a tree - and provides a hierarchy-aware display.
Displays a tree in concentric rings.
virtual double GetLayerThickness()
Set the thickness of each layer.
virtual double GetInteriorLogSpacingValue()
Set the log spacing factor for the invisible interior tree used for routing edges of the overlaid gra...
virtual double GetInteriorRadius()
Set the interior radius of the tree (i.e.
virtual void SetInteriorRadius(double rad)
Set the interior radius of the tree (i.e.
virtual bool GetRootAtCenter()
Sets whether the root is at the center or around the outside.
static vtkTreeRingView * New()
virtual void SetInteriorLogSpacingValue(double value)
Set the log spacing factor for the invisible interior tree used for routing edges of the overlaid gra...
~vtkTreeRingView() override
void SetRootAngles(double start, double end)
Set the root angles for laying out the hierarchy.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
virtual void SetRootAtCenter(bool center)
Sets whether the root is at the center or around the outside.
virtual void SetLayerThickness(double thickness)
Set the thickness of each layer.