VMTK
Loading...
Searching...
No Matches
vtkvmtkCenterlineEndpointExtractor.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=========================================================================*/
30
31#ifndef __vtkvmtkCenterlineEndpointExtractor_h
32#define __vtkvmtkCenterlineEndpointExtractor_h
33
35//#include "vtkvmtkComputationalGeometryWin32Header.h"
36#include "vtkvmtkWin32Header.h"
37
38class VTK_VMTK_COMPUTATIONAL_GEOMETRY_EXPORT vtkvmtkCenterlineEndpointExtractor : public vtkvmtkCenterlineSplittingAndGroupingFilter
39{
40 public:
42 void PrintSelf(std::ostream& os, vtkIndent indent) override;
43
45
47
51 vtkSetMacro(NumberOfEndpointSpheres,int);
52 vtkGetMacro(NumberOfEndpointSpheres,int);
54
56
60 vtkSetMacro(NumberOfGapSpheres,int);
61 vtkGetMacro(NumberOfGapSpheres,int);
63
65
70 vtkSetMacro(ExtractionMode,int);
71 vtkGetMacro(ExtractionMode,int);
73
79
85
91
92 protected:
95
96 virtual void ComputeCenterlineSplitting(vtkPolyData* input, vtkIdType cellId) override;
97
101
102 //BTX
103 enum
104 {
108 };
109
110 //ETX
111
112 private:
114 void operator=(const vtkvmtkCenterlineEndpointExtractor&); // Not implemented.
115};
116
117#endif
Split a centerline into tracts which can be used to mark endpoints of the centerline.
static vtkvmtkCenterlineEndpointExtractor * New()
void PrintSelf(std::ostream &os, vtkIndent indent) override
virtual void ComputeCenterlineSplitting(vtkPolyData *input, vtkIdType cellId)=0