VTK  9.3.20240419
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
23 #include "vtkPolyDataAlgorithm.h"
24 
25 VTK_ABI_NAMESPACE_BEGIN
26 class VTKINFOVISLAYOUT_EXPORT vtkTreeRingToPolyData : public vtkPolyDataAlgorithm
27 {
28 public:
30 
32  void PrintSelf(ostream& os, vtkIndent indent) override;
33 
41  virtual void SetSectorsArrayName(const char* name)
42  {
44  }
45 
47 
50  vtkSetMacro(ShrinkPercentage, double);
51  vtkGetMacro(ShrinkPercentage, double);
53 
55 
56 protected:
59 
61 
63 
64 private:
66  void operator=(const vtkTreeRingToPolyData&) = delete;
67 };
68 
69 VTK_ABI_NAMESPACE_END
70 #endif
virtual void SetInputArrayToProcess(int idx, int port, int connection, int fieldAssociation, const char *name)
Set the input data arrays that this algorithm will process.
@ FIELD_ASSOCIATION_VERTICES
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.
static vtkTreeRingToPolyData * New()
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
~vtkTreeRingToPolyData() override
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,...
@ info
Definition: vtkX3D.h:376
@ port
Definition: vtkX3D.h:447
@ name
Definition: vtkX3D.h:219