VMTK
Loading...
Searching...
No Matches
vtkvmtkPolyDataDistanceToCenterlines.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: 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=========================================================================*/
28
29#ifndef __vtkvmtkPolyDataDistanceToCenterlines_h
30#define __vtkvmtkPolyDataDistanceToCenterlines_h
31
32#include "vtkPolyDataAlgorithm.h"
33//#include "vtkvmtkComputationalGeometryWin32Header.h"
34#include "vtkvmtkWin32Header.h"
35
36#include "vtkPolyData.h"
37
38class VTK_VMTK_COMPUTATIONAL_GEOMETRY_EXPORT vtkvmtkPolyDataDistanceToCenterlines : public vtkPolyDataAlgorithm
39{
40public:
42 vtkTypeMacro(vtkvmtkPolyDataDistanceToCenterlines,vtkPolyDataAlgorithm);
43
45
48 vtkSetObjectMacro(Centerlines,vtkPolyData);
49 vtkGetObjectMacro(Centerlines,vtkPolyData);
51
53
59 vtkSetMacro(UseRadiusInformation,int);
60 vtkGetMacro(UseRadiusInformation,int);
61 vtkBooleanMacro(UseRadiusInformation,int);
63
65
70 vtkSetMacro(EvaluateTubeFunction,int);
71 vtkGetMacro(EvaluateTubeFunction,int);
72 vtkBooleanMacro(EvaluateTubeFunction,int);
74
76
80 vtkSetMacro(EvaluateCenterlineRadius,int);
81 vtkGetMacro(EvaluateCenterlineRadius,int);
82 vtkBooleanMacro(EvaluateCenterlineRadius,int);
84
86
94
96
101 vtkSetStringMacro(CenterlineRadiusArrayName);
102 vtkGetStringMacro(CenterlineRadiusArrayName);
104
106
111 vtkSetMacro(ProjectPointArrays,int);
112 vtkGetMacro(ProjectPointArrays,int);
113 vtkBooleanMacro(ProjectPointArrays,int);
115
116protected:
119
120 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
121
124
125 vtkPolyData* Centerlines;
126
131
132private:
134 void operator=(const vtkvmtkPolyDataDistanceToCenterlines&); // Not implemented.
135};
136
137#endif
138
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
static vtkvmtkPolyDataDistanceToCenterlines * New()