VTK
vtkCirclePackToPolyData.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkCirclePackToPolyData.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 -------------------------------------------------------------------------*/
36 #ifndef __vtkCirclePackToPolyData_h
37 #define __vtkCirclePackToPolyData_h
38 
39 #include "vtkPolyDataAlgorithm.h"
40 
42 {
43 public:
44  static vtkCirclePackToPolyData *New();
45 
47  void PrintSelf(ostream& os, vtkIndent indent);
48 
50 
53  virtual void SetCirclesArrayName(const char* name)
56 
58 
59  vtkSetMacro(Resolution, unsigned int);
60  vtkGetMacro(Resolution, unsigned int);
62 
64 
65 protected:
68 
69  unsigned int Resolution;
70 
72 private:
73  vtkCirclePackToPolyData(const vtkCirclePackToPolyData&); // Not implemented.
74  void operator=(const vtkCirclePackToPolyData&); // Not implemented.
75  void CreateCircle(const double& x,
76  const double& y,
77  const double& z,
78  const double& radius,
79  const int& resolution,
80  vtkPolyData* polyData);
81 };
82 
83 #endif