VMTK
vtkvmtkPolyDataReferenceSystemBoundaryMetricFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: VMTK
4  Module: $RCSfile: vtkvmtkPolyDataReferenceSystemBoundaryMetricFilter.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 __vtkvmtkPolyDataReferenceSystemBoundaryMetricFilter_h
29 #define __vtkvmtkPolyDataReferenceSystemBoundaryMetricFilter_h
30 
31 #include "vtkPolyDataAlgorithm.h"
32 //#include "vtkvmtkComputationalGeometryWin32Header.h"
33 #include "vtkvmtkWin32Header.h"
34 
35 #include "vtkPolyData.h"
36 
37 class vtkDataArray;
38 class vtkIdList;
39 
40 class VTK_VMTK_COMPUTATIONAL_GEOMETRY_EXPORT vtkvmtkPolyDataReferenceSystemBoundaryMetricFilter : public vtkPolyDataAlgorithm
41 {
42 public:
44  vtkTypeMacro(vtkvmtkPolyDataReferenceSystemBoundaryMetricFilter,vtkPolyDataAlgorithm);
45 
46  vtkSetStringMacro(BoundaryMetricArrayName);
47  vtkGetStringMacro(BoundaryMetricArrayName);
48 
49  vtkSetStringMacro(GroupIdsArrayName);
50  vtkGetStringMacro(GroupIdsArrayName);
51 
52  vtkSetObjectMacro(Centerlines,vtkPolyData);
53  vtkGetObjectMacro(Centerlines,vtkPolyData);
54 
55  vtkSetStringMacro(CenterlineAbscissasArrayName);
56  vtkGetStringMacro(CenterlineAbscissasArrayName);
57 
58  vtkSetStringMacro(CenterlineRadiusArrayName);
59  vtkGetStringMacro(CenterlineRadiusArrayName);
60 
61  vtkSetStringMacro(CenterlineGroupIdsArrayName);
62  vtkGetStringMacro(CenterlineGroupIdsArrayName);
63 
64  vtkSetStringMacro(CenterlineIdsArrayName);
65  vtkGetStringMacro(CenterlineIdsArrayName);
66 
67  vtkSetStringMacro(CenterlineTractIdsArrayName);
68  vtkGetStringMacro(CenterlineTractIdsArrayName);
69 
70  vtkSetObjectMacro(ReferenceSystems,vtkPolyData);
71  vtkGetObjectMacro(ReferenceSystems,vtkPolyData);
72 
73  vtkSetStringMacro(ReferenceSystemGroupIdsArrayName);
74  vtkGetStringMacro(ReferenceSystemGroupIdsArrayName);
75 
76 protected:
79 
80  virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
81 
83 
85 
86  vtkPolyData* Centerlines;
92 
93  vtkPolyData* ReferenceSystems;
95 
96 private:
98  void operator=(const vtkvmtkPolyDataReferenceSystemBoundaryMetricFilter&); // Not implemented.
99 };
100 
101 #endif
102 
Assists in mapping and patching workflow by computing boundary metrics in the boundary reference syst...