VTK
vtkTreeOrbitLayoutStrategy.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTreeOrbitLayoutStrategy.h
5 
6 =========================================================================*/
7 /*----------------------------------------------------------------------------
8  Copyright (c) Sandia Corporation
9  See Copyright.txt or http://www.paraview.org/HTML/Copyright.html for details.
10 ----------------------------------------------------------------------------*/
22 #ifndef vtkTreeOrbitLayoutStrategy_h
23 #define vtkTreeOrbitLayoutStrategy_h
24 
25 #include "vtkInfovisLayoutModule.h" // For export macro
26 #include "vtkGraphLayoutStrategy.h"
27 
28 class vtkPoints;
29 class vtkTree;
30 
31 
33 {
34 public:
36 
38  void PrintSelf(ostream& os, vtkIndent indent);
39 
41  void Layout();
42 
44 
48  vtkSetMacro(LogSpacingValue, double);
49  vtkGetMacro(LogSpacingValue, double);
51 
53 
56  vtkSetClampMacro(LeafSpacing, double, 0.0, 1.0);
57  vtkGetMacro(LeafSpacing, double);
59 
61 
64  vtkSetMacro(ChildRadiusFactor, double);
65  vtkGetMacro(ChildRadiusFactor, double);
67 
68 protected:
71 
72  void OrbitChildren(vtkTree *t, vtkPoints *p, vtkIdType parent, double radius);
73 
75  double LeafSpacing;
77 
78 private:
79 
80  vtkTreeOrbitLayoutStrategy(const vtkTreeOrbitLayoutStrategy&); // Not implemented.
81  void operator=(const vtkTreeOrbitLayoutStrategy&); // Not implemented.
82 };
83 
84 #endif
85 
vtkPoints
represent and manipulate 3D points
Definition: vtkPoints.h:39
vtkTreeOrbitLayoutStrategy::OrbitChildren
void OrbitChildren(vtkTree *t, vtkPoints *p, vtkIdType parent, double radius)
vtkTreeOrbitLayoutStrategy::New
static vtkTreeOrbitLayoutStrategy * New()
vtkTreeOrbitLayoutStrategy::~vtkTreeOrbitLayoutStrategy
~vtkTreeOrbitLayoutStrategy()
vtkIdType
int vtkIdType
Definition: vtkType.h:275
vtkTreeOrbitLayoutStrategy::LogSpacingValue
double LogSpacingValue
Definition: vtkTreeOrbitLayoutStrategy.h:74
vtkTreeOrbitLayoutStrategy::ChildRadiusFactor
double ChildRadiusFactor
Definition: vtkTreeOrbitLayoutStrategy.h:76
vtkTreeOrbitLayoutStrategy::vtkTreeOrbitLayoutStrategy
vtkTreeOrbitLayoutStrategy()
vtkGraphLayoutStrategy
abstract superclass for all graph layout strategies
Definition: vtkGraphLayoutStrategy.h:45
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkTreeOrbitLayoutStrategy::Layout
void Layout()
vtkTree
A rooted tree data structure.
Definition: vtkTree.h:60
vtkSetClampMacro
#define vtkSetClampMacro(name, type, min, max)
Definition: vtkSetGet.h:143
vtkTreeOrbitLayoutStrategy::LeafSpacing
double LeafSpacing
Definition: vtkTreeOrbitLayoutStrategy.h:75
vtkTreeOrbitLayoutStrategy
hierarchical orbital layout
Definition: vtkTreeOrbitLayoutStrategy.h:33
vtkTreeOrbitLayoutStrategy::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
VTKINFOVISLAYOUT_EXPORT
#define VTKINFOVISLAYOUT_EXPORT
Definition: vtkInfovisLayoutModule.h:15
vtkGraphLayoutStrategy.h
vtkInfovisLayoutModule.h
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkgl::t
GLdouble GLdouble t
Definition: vtkgl.h:11602
vtkgl::p
GLfloat GLfloat p
Definition: vtkgl.h:15717
vtkX3D::radius
@ radius
Definition: vtkX3D.h:252