VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 -------------------------------------------------------------------------*/
34 #ifndef __vtkTreeRingToPolyData_h
35 #define __vtkTreeRingToPolyData_h
36 
37 #include "vtkInfovisLayoutModule.h" // For export macro
38 #include "vtkPolyDataAlgorithm.h"
39 
40 class VTKINFOVISLAYOUT_EXPORT vtkTreeRingToPolyData : public vtkPolyDataAlgorithm
41 {
42 public:
43  static vtkTreeRingToPolyData *New();
44 
45  vtkTypeMacro(vtkTreeRingToPolyData,vtkPolyDataAlgorithm);
46  void PrintSelf(ostream& os, vtkIndent indent);
47 
49 
53  virtual void SetSectorsArrayName(const char* name)
54  { this->SetInputArrayToProcess(0, 0, 0, vtkDataObject::FIELD_ASSOCIATION_VERTICES, name); }
56 
58 
59  vtkSetMacro(ShrinkPercentage, double);
60  vtkGetMacro(ShrinkPercentage, double);
62 
63  int FillInputPortInformation(int port, vtkInformation* info);
64 
65 protected:
68 
70 
71  int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *);
72 private:
73  vtkTreeRingToPolyData(const vtkTreeRingToPolyData&); // Not implemented.
74  void operator=(const vtkTreeRingToPolyData&); // Not implemented.
75 };
76 
77 #endif
virtual void SetSectorsArrayName(const char *name)
converts a tree to a polygonal data representing radial space filling tree.