VTK  9.1.0
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
39#ifndef vtkTreeRingView_h
40#define vtkTreeRingView_h
41
42#include "vtkTreeAreaView.h"
43#include "vtkViewsInfovisModule.h" // For export macro
44
45class VTKVIEWSINFOVIS_EXPORT vtkTreeRingView : public vtkTreeAreaView
46{
47public:
50 void PrintSelf(ostream& os, vtkIndent indent) override;
51
55 void SetRootAngles(double start, double end);
56
58
61 virtual void SetRootAtCenter(bool center);
62 virtual bool GetRootAtCenter();
63 vtkBooleanMacro(RootAtCenter, bool);
65
67
70 virtual void SetLayerThickness(double thickness);
71 virtual double GetLayerThickness();
73
75
79 virtual void SetInteriorRadius(double rad);
80 virtual double GetInteriorRadius();
82
84
88 virtual void SetInteriorLogSpacingValue(double value);
91
92protected:
94 ~vtkTreeRingView() override;
95
96private:
97 vtkTreeRingView(const vtkTreeRingView&) = delete;
98 void operator=(const vtkTreeRingView&) = delete;
99};
100
101#endif
a simple class to control print indentation
Definition: vtkIndent.h:113
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.
@ value
Definition: vtkX3D.h:226
@ center
Definition: vtkX3D.h:236