VTK
vtkSliceAndDiceLayoutStrategy.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkSliceAndDiceLayoutStrategy.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 -------------------------------------------------------------------------*/
34 #ifndef vtkSliceAndDiceLayoutStrategy_h
35 #define vtkSliceAndDiceLayoutStrategy_h
36 
37 #include "vtkInfovisLayoutModule.h" // For export macro
39 
40 class VTKINFOVISLAYOUT_EXPORT vtkSliceAndDiceLayoutStrategy : public vtkTreeMapLayoutStrategy
41 {
42 public:
44 
46  void PrintSelf(ostream& os, vtkIndent indent) override;
47 
52  void Layout(vtkTree* inputTree, vtkDataArray* coordsArray, vtkDataArray* sizeArray) override;
53 
54 protected:
57 
58 private:
60  void operator=(const vtkSliceAndDiceLayoutStrategy&) = delete;
61 };
62 
63 #endif
vtkSliceAndDiceLayoutStrategy
a horizontal and vertical slicing tree map layout
Definition: vtkSliceAndDiceLayoutStrategy.h:40
vtkObject::New
static vtkObject * New()
Create an object with Debug turned off, modified time initialized to zero, and reference counting on.
vtkDataArray
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:49
vtkTree
A rooted tree data structure.
Definition: vtkTree.h:54
vtkAreaLayoutStrategy::Layout
virtual void Layout(vtkTree *inputTree, vtkDataArray *areaArray, vtkDataArray *sizeArray)=0
Perform the layout of the input tree, and store the sector bounds of each vertex as a tuple in a data...
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkTreeMapLayoutStrategy.h
vtkTreeMapLayoutStrategy
abstract superclass for all tree map layout strategies
Definition: vtkTreeMapLayoutStrategy.h:47
vtkTreeMapLayoutStrategy::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.