VTK  9.4.20250130
vtkTreeRingToPolyData.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
19#ifndef vtkTreeRingToPolyData_h
20#define vtkTreeRingToPolyData_h
21
22#include "vtkInfovisLayoutModule.h" // For export macro
24
25VTK_ABI_NAMESPACE_BEGIN
26class VTKINFOVISLAYOUT_EXPORT vtkTreeRingToPolyData : public vtkPolyDataAlgorithm
27{
28public:
30
32 void PrintSelf(ostream& os, vtkIndent indent) override;
33
41 virtual void SetSectorsArrayName(const char* name)
42 {
43 this->SetInputArrayToProcess(0, 0, 0, vtkDataObject::FIELD_ASSOCIATION_VERTICES, name);
44 }
45
47
50 vtkSetMacro(ShrinkPercentage, double);
51 vtkGetMacro(ShrinkPercentage, double);
53
54 int FillInputPortInformation(int port, vtkInformation* info) override;
55
56protected:
59
61
63
64private:
66 void operator=(const vtkTreeRingToPolyData&) = delete;
67};
68
69VTK_ABI_NAMESPACE_END
70#endif
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
converts a tree to a polygonal data representing radial space filling tree.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkTreeRingToPolyData() override
static vtkTreeRingToPolyData * New()
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
virtual void SetSectorsArrayName(const char *name)
The field containing quadruples of the form (start angle, end angle, inner radius,...