VTK
vtkTreeMapLayoutStrategy.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkTreeMapLayoutStrategy.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 -------------------------------------------------------------------------*/
40 #ifndef __vtkTreeMapLayoutStrategy_h
41 #define __vtkTreeMapLayoutStrategy_h
42 
43 
44 #include "vtkAreaLayoutStrategy.h"
45 
46 class vtkTree;
47 class vtkDataArray;
48 
50 {
51 public:
53  void PrintSelf(ostream& os, vtkIndent indent);
54 
56 
57  virtual vtkIdType FindVertex(
58  vtkTree* tree, vtkDataArray* areaArray, float pnt[2]);
60 
61 protected:
64  void AddBorder( float *boxInfo);
65 private:
66  vtkTreeMapLayoutStrategy(const vtkTreeMapLayoutStrategy&); // Not implemented.
67  void operator=(const vtkTreeMapLayoutStrategy&); // Not implemented.
68 };
69 
70 #endif
71 
abstract superclass for all area layout strategies
virtual vtkIdType FindVertex(vtkTree *tree, vtkDataArray *array, float pnt[2])=0
int vtkIdType
Definition: vtkType.h:255
a simple class to control print indentation
Definition: vtkIndent.h:37
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:53
void PrintSelf(ostream &os, vtkIndent indent)
#define VTK_INFOVIS_EXPORT
abstract superclass for all tree map layout strategies
A rooted tree data structure.
Definition: vtkTree.h:58