VTK
vtkTreeMapView.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTreeMapView.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 /*-------------------------------------------------------------------------
16  Copyright 2008 Sandia Corporation.
17  Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
18  the U.S. Government retains certain rights in this software.
19 -------------------------------------------------------------------------*/
35 #ifndef vtkTreeMapView_h
36 #define vtkTreeMapView_h
37 
38 #include "vtkViewsInfovisModule.h" // For export macro
39 #include "vtkTreeAreaView.h"
40 
44 
46 {
47 public:
48  static vtkTreeMapView *New();
50  void PrintSelf(ostream& os, vtkIndent indent);
51 
53 
55  virtual void SetLayoutStrategy(const char* name);
56  virtual void SetLayoutStrategyToBox();
60 
62 
63  virtual void SetFontSizeRange(
64  const int maxSize, const int minSize, const int delta=4);
65  virtual void GetFontSizeRange(int range[3]);
67 
68 protected:
71 
72  //BTX
76  //ETX
77 
78 private:
79  vtkTreeMapView(const vtkTreeMapView&); // Not implemented.
80  void operator=(const vtkTreeMapView&); // Not implemented.
81 };
82 
83 #endif
vtkViewsInfovisModule.h
vtkSquarifyLayoutStrategy
uses the squarify tree map layout algorithm
Definition: vtkSquarifyLayoutStrategy.h:48
vtkTreeMapView::SetFontSizeRange
virtual void SetFontSizeRange(const int maxSize, const int minSize, const int delta=4)
vtkSliceAndDiceLayoutStrategy
a horizontal and vertical slicing tree map layout
Definition: vtkSliceAndDiceLayoutStrategy.h:43
VTKVIEWSINFOVIS_EXPORT
#define VTKVIEWSINFOVIS_EXPORT
Definition: vtkViewsInfovisModule.h:15
vtkgl::s
GLdouble s
Definition: vtkgl.h:11594
vtkTreeMapView
Displays a tree as a tree map.
Definition: vtkTreeMapView.h:46
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkSmartPointer< vtkBoxLayoutStrategy >
vtkTreeMapView::vtkTreeMapView
vtkTreeMapView()
vtkBoxLayoutStrategy
a tree map layout that puts vertices in square-ish boxes
Definition: vtkBoxLayoutStrategy.h:41
vtkgl::range
GLenum GLint * range
Definition: vtkgl.h:14180
vtkTreeMapView::GetFontSizeRange
virtual void GetFontSizeRange(int range[3])
vtkTreeMapView::SetLayoutStrategyToSquarify
virtual void SetLayoutStrategyToSquarify()
vtkTreeMapView::SetLayoutStrategy
virtual void SetLayoutStrategy(vtkAreaLayoutStrategy *s)
vtkgl::name
GLuint const GLchar * name
Definition: vtkgl.h:11983
vtkTreeMapView::SliceAndDiceLayout
vtkSmartPointer< vtkSliceAndDiceLayoutStrategy > SliceAndDiceLayout
Definition: vtkTreeMapView.h:74
vtkTreeMapView::~vtkTreeMapView
~vtkTreeMapView()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkTreeMapView::SetLayoutStrategyToSliceAndDice
virtual void SetLayoutStrategyToSliceAndDice()
vtkTreeAreaView.h
vtkTreeMapView::SetLayoutStrategy
virtual void SetLayoutStrategy(const char *name)
vtkTreeMapView::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkTreeMapView::BoxLayout
vtkSmartPointer< vtkBoxLayoutStrategy > BoxLayout
Definition: vtkTreeMapView.h:73
vtkTreeMapView::New
static vtkTreeMapView * New()
vtkTreeMapView::SetLayoutStrategyToBox
virtual void SetLayoutStrategyToBox()
vtkAreaLayoutStrategy
abstract superclass for all area layout strategies
Definition: vtkAreaLayoutStrategy.h:48
vtkTreeMapView::SquarifyLayout
vtkSmartPointer< vtkSquarifyLayoutStrategy > SquarifyLayout
Definition: vtkTreeMapView.h:75
vtkTreeAreaView
Accepts a graph and a hierarchy - currently a tree - and provides a hierarchy-aware display....
Definition: vtkTreeAreaView.h:53