VMTK
vtkvmtkMergeCenterlines.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3 Program: VMTK
4 Module: $RCSfile: vtkvmtkMergeCenterlines.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 __vtkvmtkMergeCenterlines_h
29 #define __vtkvmtkMergeCenterlines_h
30 
31 #include "vtkPolyDataAlgorithm.h"
32 #include "vtkPolyData.h"
33 #include "vtkvmtkWin32Header.h"
34 
35 class VTK_VMTK_COMPUTATIONAL_GEOMETRY_EXPORT vtkvmtkMergeCenterlines : public vtkPolyDataAlgorithm
36 {
37  public:
38  vtkTypeMacro(vtkvmtkMergeCenterlines,vtkPolyDataAlgorithm);
39  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
40 
41  static vtkvmtkMergeCenterlines *New();
42 
43  vtkSetStringMacro(RadiusArrayName);
44  vtkGetStringMacro(RadiusArrayName);
45 
46  vtkSetStringMacro(GroupIdsArrayName);
47  vtkGetStringMacro(GroupIdsArrayName);
48 
49  vtkSetStringMacro(CenterlineIdsArrayName);
50  vtkGetStringMacro(CenterlineIdsArrayName);
51 
52  vtkSetStringMacro(TractIdsArrayName);
53  vtkGetStringMacro(TractIdsArrayName);
54 
55  vtkSetStringMacro(BlankingArrayName);
56  vtkGetStringMacro(BlankingArrayName);
57 
58  vtkSetMacro(ResamplingStepLength,double);
59  vtkGetMacro(ResamplingStepLength,double);
60 
61  vtkSetMacro(MergeBlanked,int);
62  vtkGetMacro(MergeBlanked,int);
63  vtkBooleanMacro(MergeBlanked,int);
64 
65  protected:
68 
69  virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
70 
76 
79 
80  private:
81  vtkvmtkMergeCenterlines(const vtkvmtkMergeCenterlines&); // Not implemented.
82  void operator=(const vtkvmtkMergeCenterlines&); // Not implemented.
83 };
84 
85 #endif
Combine multiple centerlines which lie within the same branch of a split and grouped centerline...