VTK
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 -------------------------------------------------------------------------*/
32 #ifndef vtkTreeRingToPolyData_h
33 #define vtkTreeRingToPolyData_h
34 
35 #include "vtkInfovisLayoutModule.h" // For export macro
36 #include "vtkPolyDataAlgorithm.h"
37 
38 class VTKINFOVISLAYOUT_EXPORT vtkTreeRingToPolyData : public vtkPolyDataAlgorithm
39 {
40 public:
41  static vtkTreeRingToPolyData *New();
42 
44  void PrintSelf(ostream& os, vtkIndent indent) override;
45 
53  virtual void SetSectorsArrayName(const char* name)
55 
57 
60  vtkSetMacro(ShrinkPercentage, double);
61  vtkGetMacro(ShrinkPercentage, double);
63 
65 
66 protected:
68  ~vtkTreeRingToPolyData() override;
69 
71 
73 private:
75  void operator=(const vtkTreeRingToPolyData&) = delete;
76 };
77 
78 #endif
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkPolyDataAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkDataObject::FIELD_ASSOCIATION_VERTICES
Definition: vtkDataObject.h:263
vtkPolyDataAlgorithm.h
vtkX3D::port
Definition: vtkX3D.h:447
vtkPolyDataAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
vtkTreeRingToPolyData::SetSectorsArrayName
virtual void SetSectorsArrayName(const char *name)
The field containing quadruples of the form (start angle, end angle, inner radius,...
Definition: vtkTreeRingToPolyData.h:53
vtkPolyDataAlgorithm::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkX3D::name
Definition: vtkX3D.h:219
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkX3D::info
Definition: vtkX3D.h:376
vtkTreeRingToPolyData::ShrinkPercentage
double ShrinkPercentage
Definition: vtkTreeRingToPolyData.h:70
vtkAlgorithm::SetInputArrayToProcess
virtual void SetInputArrayToProcess(int idx, int port, int connection, int fieldAssociation, const char *name)
Set the input data arrays that this algorithm will process.
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
vtkTreeRingToPolyData
converts a tree to a polygonal data representing radial space filling tree.
Definition: vtkTreeRingToPolyData.h:38
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition: vtkPolyDataAlgorithm.h:44