VTK  9.1.0
vtkTreeRingToPolyData.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkTreeRingToPolyData.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-------------------------------------------------------------------------*/
35#ifndef vtkTreeRingToPolyData_h
36#define vtkTreeRingToPolyData_h
37
38#include "vtkInfovisLayoutModule.h" // For export macro
40
41class VTKINFOVISLAYOUT_EXPORT vtkTreeRingToPolyData : public vtkPolyDataAlgorithm
42{
43public:
45
47 void PrintSelf(ostream& os, vtkIndent indent) override;
48
56 virtual void SetSectorsArrayName(const char* name)
57 {
59 }
60
62
65 vtkSetMacro(ShrinkPercentage, double);
66 vtkGetMacro(ShrinkPercentage, double);
68
69 int FillInputPortInformation(int port, vtkInformation* info) override;
70
71protected:
74
76
78
79private:
81 void operator=(const vtkTreeRingToPolyData&) = delete;
82};
83
84#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:113
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,...