30 #ifndef __vtkvmtkPolyDataFlowExtensionsFilter_h 31 #define __vtkvmtkPolyDataFlowExtensionsFilter_h 33 #include "vtkPolyDataAlgorithm.h" 34 #include "vtkPolyData.h" 35 #include "vtkIdList.h" 36 #include "vtkvmtkWin32Header.h" 42 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
46 vtkSetObjectMacro(Centerlines,vtkPolyData);
47 vtkGetObjectMacro(Centerlines,vtkPolyData);
49 vtkSetMacro(ExtensionRatio,
double);
50 vtkGetMacro(ExtensionRatio,
double);
52 vtkSetMacro(ExtensionLength,
double);
53 vtkGetMacro(ExtensionLength,
double);
55 vtkSetMacro(ExtensionRadius,
double);
56 vtkGetMacro(ExtensionRadius,
double);
58 vtkSetMacro(TransitionRatio,
double);
59 vtkGetMacro(TransitionRatio,
double);
61 vtkSetMacro(Sigma,
double);
62 vtkGetMacro(Sigma,
double);
64 vtkSetMacro(CenterlineNormalEstimationDistanceRatio,
double);
65 vtkGetMacro(CenterlineNormalEstimationDistanceRatio,
double);
67 vtkSetMacro(AdaptiveExtensionLength,
int);
68 vtkGetMacro(AdaptiveExtensionLength,
int);
69 vtkBooleanMacro(AdaptiveExtensionLength,
int);
71 vtkSetMacro(AdaptiveExtensionRadius,
int);
72 vtkGetMacro(AdaptiveExtensionRadius,
int);
73 vtkBooleanMacro(AdaptiveExtensionRadius,
int);
75 vtkSetMacro(NumberOfBoundaryPoints,
int);
76 vtkGetMacro(NumberOfBoundaryPoints,
int);
78 vtkSetMacro(AdaptiveNumberOfBoundaryPoints,
int);
79 vtkGetMacro(AdaptiveNumberOfBoundaryPoints,
int);
80 vtkBooleanMacro(AdaptiveNumberOfBoundaryPoints,
int);
82 vtkSetObjectMacro(BoundaryIds,vtkIdList);
83 vtkGetObjectMacro(BoundaryIds,vtkIdList);
85 vtkSetMacro(ExtensionMode,
int);
86 vtkGetMacro(ExtensionMode,
int);
88 { this->SetExtensionMode(USE_NORMAL_TO_BOUNDARY); }
90 { this->SetExtensionMode(USE_CENTERLINE_DIRECTION); }
92 vtkSetMacro(InterpolationMode,
int);
93 vtkGetMacro(InterpolationMode,
int);
95 { this->SetInterpolationMode(USE_LINEAR_INTERPOLATION); }
97 { this->SetInterpolationMode(USE_THIN_PLATE_SPLINE_INTERPOLATION); }
101 USE_NORMAL_TO_BOUNDARY = 0,
102 USE_CENTERLINE_DIRECTION
106 USE_LINEAR_INTERPOLATION = 0,
107 USE_THIN_PLATE_SPLINE_INTERPOLATION
115 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
vtkPolyData * Centerlines
double CenterlineNormalEstimationDistanceRatio
int AdaptiveExtensionRadius
void SetExtensionModeToUseNormalToBoundary()
int AdaptiveExtensionLength
void SetInterpolationModeToThinPlateSpline()
int NumberOfBoundaryPoints
void SetInterpolationModeToLinear()
int AdaptiveNumberOfBoundaryPoints
remove the end caps of a surface at flow inlets/outlets and append a cylinder with matching radius th...
void SetExtensionModeToUseCenterlineDirection()