VMTK
Loading...
Searching...
No Matches
vtkvmtkSmoothCapPolyData.h
Go to the documentation of this file.
1/*=========================================================================
2
3Program: VMTK
4
5 Copyright (c) Luca Antiga, David Steinman. All rights reserved.
6 See LICENSE file for details.
7
8 Portions of this code are covered under the VTK copyright.
9 See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm
10 for details.
11
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notices for more information.
15
16=========================================================================*/
40
41#ifndef __vtkvmtkSmoothCapPolyData_h
42#define __vtkvmtkSmoothCapPolyData_h
43
44#include "vtkPolyDataAlgorithm.h"
45#include "vtkIdList.h"
46#include "vtkIdTypeArray.h"
47#include "vtkvmtkWin32Header.h"
48
49class VTK_VMTK_MISC_EXPORT vtkvmtkSmoothCapPolyData : public vtkPolyDataAlgorithm
50{
51 public:
52 vtkTypeMacro(vtkvmtkSmoothCapPolyData,vtkPolyDataAlgorithm);
53 void PrintSelf(std::ostream& os, vtkIndent indent) override;
54
56
58
63 vtkSetObjectMacro(BoundaryIds,vtkIdList);
64 vtkGetObjectMacro(BoundaryIds,vtkIdList);
66
68
76 vtkSetStringMacro(CellEntityIdsArrayName);
77 vtkGetStringMacro(CellEntityIdsArrayName);
79
81
86 vtkSetMacro(CellEntityIdOffset,int);
87 vtkGetMacro(CellEntityIdOffset,int);
89
91
108 vtkSetStringMacro(BoundaryLabelsArrayName);
109 vtkGetStringMacro(BoundaryLabelsArrayName);
110 vtkSetStringMacro(BoundaryPointOrderArrayName);
111 vtkGetStringMacro(BoundaryPointOrderArrayName);
113
115
126 vtkSetObjectMacro(BoundaryCellEntityIds,vtkIdTypeArray);
127 vtkGetObjectMacro(BoundaryCellEntityIds,vtkIdTypeArray);
129
131
140 vtkSetMacro(ConstraintFactor,double);
141 vtkGetMacro(ConstraintFactor,double);
143
145
151 vtkSetMacro(NumberOfRings,int);
152 vtkGetMacro(NumberOfRings,int);
154
155 protected:
158
159 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
160
163 vtkIdType CapCellEntityId(vtkIdType boundaryIndex, vtkIdType boundaryId, bool useBoundaryLabels);
164
165 vtkIdList* BoundaryIds;
168 vtkIdTypeArray* BoundaryCellEntityIds;
171
174
175 private:
176 vtkvmtkSmoothCapPolyData(const vtkvmtkSmoothCapPolyData&); // Not implemented.
177 void operator=(const vtkvmtkSmoothCapPolyData&); // Not implemented.
178};
179
180#endif
static vtkvmtkSmoothCapPolyData * New()
void PrintSelf(std::ostream &os, vtkIndent indent) override
vtkIdType CapCellEntityId(vtkIdType boundaryIndex, vtkIdType boundaryId, bool useBoundaryLabels)
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override