VTK  9.3.20240722
vtkTreeMapLayoutStrategy.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
25#ifndef vtkTreeMapLayoutStrategy_h
26#define vtkTreeMapLayoutStrategy_h
27
29#include "vtkInfovisLayoutModule.h" // For export macro
30
31VTK_ABI_NAMESPACE_BEGIN
32class vtkTree;
33class vtkDataArray;
34
35class VTKINFOVISLAYOUT_EXPORT vtkTreeMapLayoutStrategy : public vtkAreaLayoutStrategy
36{
37public:
39 void PrintSelf(ostream& os, vtkIndent indent) override;
40
44 vtkIdType FindVertex(vtkTree* tree, vtkDataArray* areaArray, float pnt[2]) override;
45
46protected:
49 void AddBorder(float* boxInfo);
50
51private:
53 void operator=(const vtkTreeMapLayoutStrategy&) = delete;
54};
55
56VTK_ABI_NAMESPACE_END
57#endif
abstract superclass for all area layout strategies
abstract superclass for arrays of numeric data
a simple class to control print indentation
Definition vtkIndent.h:108
abstract superclass for all tree map layout strategies
vtkIdType FindVertex(vtkTree *tree, vtkDataArray *areaArray, float pnt[2]) override
Find the vertex at a certain location, or -1 if none found.
void AddBorder(float *boxInfo)
~vtkTreeMapLayoutStrategy() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
A rooted tree data structure.
Definition vtkTree.h:145
int vtkIdType
Definition vtkType.h:315