28 #ifndef __vtkvmtkPolyDataCenterlineMetricFilter_h 29 #define __vtkvmtkPolyDataCenterlineMetricFilter_h 31 #include "vtkPolyDataAlgorithm.h" 33 #include "vtkvmtkWin32Header.h" 35 #include "vtkPolyData.h" 44 vtkSetStringMacro(MetricArrayName);
45 vtkGetStringMacro(MetricArrayName);
47 vtkSetStringMacro(GroupIdsArrayName);
48 vtkGetStringMacro(GroupIdsArrayName);
50 vtkSetObjectMacro(Centerlines,vtkPolyData);
51 vtkGetObjectMacro(Centerlines,vtkPolyData);
53 vtkSetMacro(UseRadiusInformation,
int);
54 vtkGetMacro(UseRadiusInformation,
int);
55 vtkBooleanMacro(UseRadiusInformation,
int);
57 vtkSetStringMacro(RadiusArrayName);
58 vtkGetStringMacro(RadiusArrayName);
60 vtkSetStringMacro(CenterlineGroupIdsArrayName);
61 vtkGetStringMacro(CenterlineGroupIdsArrayName);
63 vtkSetStringMacro(CenterlineIdsArrayName);
64 vtkGetStringMacro(CenterlineIdsArrayName);
66 vtkSetStringMacro(CenterlineTractIdsArrayName);
67 vtkGetStringMacro(CenterlineTractIdsArrayName);
69 vtkSetStringMacro(BlankingArrayName);
70 vtkGetStringMacro(BlankingArrayName);
72 vtkSetMacro(IncludeBifurcations,
int);
73 vtkGetMacro(IncludeBifurcations,
int);
74 vtkBooleanMacro(IncludeBifurcations,
int);
80 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
82 virtual void EvaluateMetric(vtkIdType pointId,
double point[3], vtkIdType groupId, vtkDataArray* metricArray) = 0;
char * CenterlineGroupIdsArrayName
vtkPolyData * Centerlines
char * CenterlineIdsArrayName
char * CenterlineTractIdsArrayName
Base class for evaluating metrics over a centerline onto a surface.