VMTK
vtkvmtkPolyDataCenterlineProjection.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: VMTK
4  Module: $RCSfile: vtkvmtkPolyDataCenterlineProjection.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 __vtkvmtkPolyDataCenterlineProjection_h
29 #define __vtkvmtkPolyDataCenterlineProjection_h
30 
31 #include "vtkPolyDataAlgorithm.h"
32 //#include "vtkvmtkComputationalGeometryWin32Header.h"
33 #include "vtkvmtkWin32Header.h"
34 
35 #include "vtkPolyData.h"
36 
37 class VTK_VMTK_COMPUTATIONAL_GEOMETRY_EXPORT vtkvmtkPolyDataCenterlineProjection : public vtkPolyDataAlgorithm
38 {
39 public:
41  vtkTypeMacro(vtkvmtkPolyDataCenterlineProjection,vtkPolyDataAlgorithm);
42 
43  vtkSetObjectMacro(Centerlines,vtkPolyData);
44  vtkGetObjectMacro(Centerlines,vtkPolyData);
45 
46  vtkSetMacro(UseRadiusInformation,int);
47  vtkGetMacro(UseRadiusInformation,int);
48  vtkBooleanMacro(UseRadiusInformation,int);
49 
50  vtkSetStringMacro(CenterlineRadiusArrayName);
51  vtkGetStringMacro(CenterlineRadiusArrayName);
52 
53 protected:
56 
57  virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) VTK_OVERRIDE;
58 
60 
61  vtkPolyData* Centerlines;
62 
64 
65 private:
67  void operator=(const vtkvmtkPolyDataCenterlineProjection&); // Not implemented.
68 };
69 
70 #endif
71 
Project all point data from a centerline onto a surface.