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 
45 #ifndef vtkTreeRingView_h
46 #define vtkTreeRingView_h
47 
48 #include "vtkViewsInfovisModule.h" // For export macro
49 #include "vtkTreeAreaView.h"
50 
51 class VTKVIEWSINFOVIS_EXPORT vtkTreeRingView : public vtkTreeAreaView
52 {
53 public:
54  static vtkTreeRingView *New();
56  void PrintSelf(ostream& os, vtkIndent indent);
57 
61  void SetRootAngles(double start, double end);
62 
64 
67  virtual void SetRootAtCenter(bool value);
68  virtual bool GetRootAtCenter();
69  vtkBooleanMacro(RootAtCenter, bool);
71 
73 
76  virtual void SetLayerThickness(double thickness);
77  virtual double GetLayerThickness();
79 
81 
85  virtual void SetInteriorRadius(double thickness);
86  virtual double GetInteriorRadius();
88 
90 
94  virtual void SetInteriorLogSpacingValue(double thickness);
95  virtual double GetInteriorLogSpacingValue();
97 
98 protected:
101 
102 private:
103  vtkTreeRingView(const vtkTreeRingView&) VTK_DELETE_FUNCTION;
104  void operator=(const vtkTreeRingView&) VTK_DELETE_FUNCTION;
105 };
106 
107 #endif
vtkTreeRingView::GetLayerThickness
virtual double GetLayerThickness()
vtkX3D::value
@ value
Definition: vtkX3D.h:220
vtkTreeRingView::SetRootAtCenter
virtual void SetRootAtCenter(bool value)
Sets whether the root is at the center or around the outside.
vtkTreeRingView::~vtkTreeRingView
~vtkTreeRingView()
vtkTreeRingView::GetRootAtCenter
virtual bool GetRootAtCenter()
vtkTreeRingView::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
Methods invoked by print to print information about the object including superclasses.
vtkTreeRingView::SetLayerThickness
virtual void SetLayerThickness(double thickness)
Set the thickness of each layer.
vtkTreeRingView::GetInteriorRadius
virtual double GetInteriorRadius()
vtkTreeRingView::SetInteriorRadius
virtual void SetInteriorRadius(double thickness)
Set the interior radius of the tree (i.e.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:40
vtkTreeRingView::vtkTreeRingView
vtkTreeRingView()
vtkTreeRingView
Displays a tree in concentric rings.
Definition: vtkTreeRingView.h:52
vtkTreeRingView::GetInteriorLogSpacingValue
virtual double GetInteriorLogSpacingValue()
vtkTreeRingView::SetInteriorLogSpacingValue
virtual void SetInteriorLogSpacingValue(double thickness)
Set the log spacing factor for the invisible interior tree used for routing edges of the overlaid gra...
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkTreeRingView::SetRootAngles
void SetRootAngles(double start, double end)
Set the root angles for laying out the hierarchy.
vtkTreeRingView::New
static vtkTreeRingView * New()
vtkTreeAreaView.h
vtkTreeAreaView
Accepts a graph and a hierarchy - currently a tree - and provides a hierarchy-aware display.
Definition: vtkTreeAreaView.h:54