VMTK
Loading...
Searching...
No Matches
vtkvmtkPolyDataFlowExtensionsFilter.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 __vtkvmtkPolyDataFlowExtensionsFilter_h
42#define __vtkvmtkPolyDataFlowExtensionsFilter_h
43
44#include "vtkPolyDataAlgorithm.h"
45#include "vtkPolyData.h"
46#include "vtkIdList.h"
47#include "vtkDoubleArray.h"
48#include "vtkvmtkWin32Header.h"
49
50class VTK_VMTK_COMPUTATIONAL_GEOMETRY_EXPORT vtkvmtkPolyDataFlowExtensionsFilter : public vtkPolyDataAlgorithm
51{
52 public:
53 vtkTypeMacro(vtkvmtkPolyDataFlowExtensionsFilter,vtkPolyDataAlgorithm);
54 void PrintSelf(std::ostream& os, vtkIndent indent) override;
55
57
59
64 vtkSetObjectMacro(Centerlines,vtkPolyData);
65 vtkGetObjectMacro(Centerlines,vtkPolyData);
67
69
73 vtkSetMacro(ExtensionRatio,double);
74 vtkGetMacro(ExtensionRatio,double);
76
78
81 vtkSetMacro(ExtensionLength,double);
82 vtkGetMacro(ExtensionLength,double);
84
86
93 vtkSetObjectMacro(ExtensionLengthScaleFactors,vtkDoubleArray);
94 vtkGetObjectMacro(ExtensionLengthScaleFactors,vtkDoubleArray);
96
98
113 vtkSetStringMacro(BoundaryLabelsArrayName);
114 vtkGetStringMacro(BoundaryLabelsArrayName);
115 vtkSetStringMacro(BoundaryPointOrderArrayName);
116 vtkGetStringMacro(BoundaryPointOrderArrayName);
118
120
125 vtkSetMacro(ExtensionRadius,double);
126 vtkGetMacro(ExtensionRadius,double);
128
130
137 vtkSetMacro(TransitionRatio,double);
138 vtkGetMacro(TransitionRatio,double);
140
142
148 vtkSetMacro(Sigma,double);
149 vtkGetMacro(Sigma,double);
151
153
161
163
167 vtkSetMacro(AdaptiveExtensionLength,int);
168 vtkGetMacro(AdaptiveExtensionLength,int);
169 vtkBooleanMacro(AdaptiveExtensionLength,int);
171
173
177 vtkSetMacro(AdaptiveExtensionRadius,int);
178 vtkGetMacro(AdaptiveExtensionRadius,int);
179 vtkBooleanMacro(AdaptiveExtensionRadius,int);
181
183
193 vtkBooleanMacro(PreserveCrossSectionShape,int);
195
197
212 vtkSetMacro(NumberOfBoundaryPoints,int);
213 vtkGetMacro(NumberOfBoundaryPoints,int);
215
217
227 vtkBooleanMacro(AdaptiveNumberOfBoundaryPoints,int);
229
231
238 vtkSetObjectMacro(BoundaryIds,vtkIdList);
239 vtkGetObjectMacro(BoundaryIds,vtkIdList);
241
243
250 vtkSetMacro(ExtensionMode,int);
251 vtkGetMacro(ExtensionMode,int);
256
257
259
286 vtkSetMacro(InterpolationMode,int);
287 vtkGetMacro(InterpolationMode,int);
294
295
296//BTX
297 enum {
300 };
301
302 enum {
306 };
307//ETX
308
309 protected:
312
313 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
314
315 vtkPolyData* Centerlines;
316
320
324
326 double Sigma;
327
329
332
334
337
340
341 vtkIdList* BoundaryIds;
342
343 private:
345 void operator=(const vtkvmtkPolyDataFlowExtensionsFilter&); // Not implemented.
346};
347
348#endif
Extend open boundaries of a surface with straight (or centerline-following) tubes,...
virtual void SetInterpolationMode(int)
static vtkvmtkPolyDataFlowExtensionsFilter * New()
void PrintSelf(std::ostream &os, vtkIndent indent) override