VMTK
Loading...
Searching...
No Matches
vtkvmtkPolyDataCenterlineProjection.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=========================================================================*/
31
32#ifndef __vtkvmtkPolyDataCenterlineProjection_h
33#define __vtkvmtkPolyDataCenterlineProjection_h
34
35#include "vtkPolyDataAlgorithm.h"
36//#include "vtkvmtkComputationalGeometryWin32Header.h"
37#include "vtkvmtkWin32Header.h"
38
39#include "vtkPolyData.h"
40
41class VTK_VMTK_COMPUTATIONAL_GEOMETRY_EXPORT vtkvmtkPolyDataCenterlineProjection : public vtkPolyDataAlgorithm
42{
43public:
45 vtkTypeMacro(vtkvmtkPolyDataCenterlineProjection,vtkPolyDataAlgorithm);
46
48
52 vtkSetObjectMacro(Centerlines,vtkPolyData);
53 vtkGetObjectMacro(Centerlines,vtkPolyData);
55
57
62 vtkSetMacro(UseRadiusInformation,int);
63 vtkGetMacro(UseRadiusInformation,int);
64 vtkBooleanMacro(UseRadiusInformation,int);
66
68
73 vtkSetStringMacro(CenterlineRadiusArrayName);
74 vtkGetStringMacro(CenterlineRadiusArrayName);
76
77protected:
80
81 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
82
84
85 vtkPolyData* Centerlines;
86
88
89private:
91 void operator=(const vtkvmtkPolyDataCenterlineProjection&); // Not implemented.
92};
93
94#endif
95
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
static vtkvmtkPolyDataCenterlineProjection * New()