VMTK
vtkvmtkSmoothCapPolyData.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: VMTK
4 Module: $RCSfile: vtkvmtkSmoothCapPolyData.h,v $
5 Language: C++
6 
7  Copyright (c) Luca Antiga, David Steinman. All rights reserved.
8  See LICENSE file for details.
9 
10  Portions of this code are covered under the VTK copyright.
11  See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm
12  for details.
13 
14  This software is distributed WITHOUT ANY WARRANTY; without even
15  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
16  PURPOSE. See the above copyright notices for more information.
17 
18 =========================================================================*/
28 #ifndef __vtkvmtkSmoothCapPolyData_h
29 #define __vtkvmtkSmoothCapPolyData_h
30 
31 #include "vtkPolyDataAlgorithm.h"
32 #include "vtkIdList.h"
33 #include "vtkvmtkWin32Header.h"
34 
35 class VTK_VMTK_MISC_EXPORT vtkvmtkSmoothCapPolyData : public vtkPolyDataAlgorithm
36 {
37  public:
38  vtkTypeMacro(vtkvmtkSmoothCapPolyData,vtkPolyDataAlgorithm);
39  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
40 
41  static vtkvmtkSmoothCapPolyData *New();
42 
43  vtkSetObjectMacro(BoundaryIds,vtkIdList);
44  vtkGetObjectMacro(BoundaryIds,vtkIdList);
45 
46  vtkSetStringMacro(CellEntityIdsArrayName);
47  vtkGetStringMacro(CellEntityIdsArrayName);
48 
49  vtkSetMacro(CellEntityIdOffset,int);
50  vtkGetMacro(CellEntityIdOffset,int);
51 
52  vtkSetMacro(ConstraintFactor,double);
53  vtkGetMacro(ConstraintFactor,double);
54 
55  vtkSetMacro(NumberOfRings,int);
56  vtkGetMacro(NumberOfRings,int);
57 
58  protected:
61 
62  virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
63 
64  vtkIdList* BoundaryIds;
67 
70 
71  private:
72  vtkvmtkSmoothCapPolyData(const vtkvmtkSmoothCapPolyData&); // Not implemented.
73  void operator=(const vtkvmtkSmoothCapPolyData&); // Not implemented.
74 };
75 
76 #endif
Add caps to boundaries.