VMTK
vtkvmtkPolyDataCenterlineAbscissaMetricFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: VMTK
4  Module: $RCSfile: vtkvmtkPolyDataCenterlineAbscissaMetricFilter.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 __vtkvmtkPolyDataCenterlineAbscissaMetricFilter_h
29 #define __vtkvmtkPolyDataCenterlineAbscissaMetricFilter_h
30 
32 //#include "vtkvmtkComputationalGeometryWin32Header.h"
33 #include "vtkvmtkWin32Header.h"
34 
35 #include "vtkPolyData.h"
36 
37 class VTK_VMTK_COMPUTATIONAL_GEOMETRY_EXPORT vtkvmtkPolyDataCenterlineAbscissaMetricFilter : public vtkvmtkPolyDataCenterlineMetricFilter
38 {
39 public:
42 
43  vtkSetStringMacro(AbscissasArrayName);
44  vtkGetStringMacro(AbscissasArrayName);
45 
46 protected:
49 
50  virtual void EvaluateMetric(vtkIdType pointId, double point[3], vtkIdType groupId, vtkDataArray* metricArray) VTK_OVERRIDE;
51 
53 
54 private:
56  void operator=(const vtkvmtkPolyDataCenterlineAbscissaMetricFilter&); // Not implemented.
57 };
58 
59 #endif
60 
virtual void EvaluateMetric(vtkIdType pointId, double point[3], vtkIdType groupId, vtkDataArray *metricArray)=0
Base class for evaluating metrics over a centerline onto a surface.
Project the abscissa metric of the nearest centerline point to every point of a surface.