VTK: Infovis/Layout/vtkSliceAndDiceLayoutStrategy.h Source File

| VTK 9.3.1

vtkSliceAndDiceLayoutStrategy.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-FileCopyrightText: Copyright 2008 Sandia Corporation
3 // SPDX-License-Identifier: LicenseRef-BSD-3-Clause-Sandia-USGov
21 #ifndef vtkSliceAndDiceLayoutStrategy_h
22 #define vtkSliceAndDiceLayoutStrategy_h
23
24 #include "vtkInfovisLayoutModule.h" // For export macro
25 #include "vtkTreeMapLayoutStrategy.h"
26
27 VTK_ABI_NAMESPACE_BEGIN
28 class VTKINFOVISLAYOUT_EXPORT vtkSliceAndDiceLayoutStrategy : public vtkTreeMapLayoutStrategy
29 {
30 public:
31 static vtkSliceAndDiceLayoutStrategy* New();
32
33 vtkTypeMacro(vtkSliceAndDiceLayoutStrategy, vtkTreeMapLayoutStrategy);
34 void PrintSelf(ostream& os, vtkIndent indent) override;
35
40 void Layout(vtkTree* inputTree, vtkDataArray* coordsArray, vtkDataArray* sizeArray) override;
41
42 protected:
43 vtkSliceAndDiceLayoutStrategy();
44 ~vtkSliceAndDiceLayoutStrategy() override;
45
46 private:
47 vtkSliceAndDiceLayoutStrategy(const vtkSliceAndDiceLayoutStrategy&) = delete;
48 void operator=(const vtkSliceAndDiceLayoutStrategy&) = delete;
49 };
50
51 VTK_ABI_NAMESPACE_END
52 #endif
vtkDataArray
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:54
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:38
vtkSliceAndDiceLayoutStrategy
a horizontal and vertical slicing tree map layout
Definition: vtkSliceAndDiceLayoutStrategy.h:29
vtkSliceAndDiceLayoutStrategy::Layout
void Layout(vtkTree *inputTree, vtkDataArray *coordsArray, vtkDataArray *sizeArray) override
Perform the layout of a tree and place the results as 4-tuples in coordsArray (Xmin,...
vtkSliceAndDiceLayoutStrategy::vtkSliceAndDiceLayoutStrategy
vtkSliceAndDiceLayoutStrategy()
vtkSliceAndDiceLayoutStrategy::~vtkSliceAndDiceLayoutStrategy
~vtkSliceAndDiceLayoutStrategy() override
vtkSliceAndDiceLayoutStrategy::New
static vtkSliceAndDiceLayoutStrategy * New()
vtkSliceAndDiceLayoutStrategy::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTreeMapLayoutStrategy
abstract superclass for all tree map layout strategies
Definition: vtkTreeMapLayoutStrategy.h:36
vtkTree
A rooted tree data structure.
Definition: vtkTree.h:55
vtkTreeMapLayoutStrategy.h