VMTK
Loading...
Searching...
No Matches
vtkvmtkCenterlineAttributesFilter.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=========================================================================*/
33
34#ifndef __vtkvmtkCenterlineAttributesFilter_h
35#define __vtkvmtkCenterlineAttributesFilter_h
36
37#include "vtkPolyDataAlgorithm.h"
38//#include "vtkvmtkComputationalGeometryWin32Header.h"
39#include "vtkvmtkWin32Header.h"
40
41class vtkDoubleArray;
42
43class VTK_VMTK_COMPUTATIONAL_GEOMETRY_EXPORT vtkvmtkCenterlineAttributesFilter : public vtkPolyDataAlgorithm
44{
45 public:
46 vtkTypeMacro(vtkvmtkCenterlineAttributesFilter,vtkPolyDataAlgorithm);
47 void PrintSelf(std::ostream& os, vtkIndent indent) override;
48
50
52
57 vtkSetStringMacro(AbscissasArrayName);
58 vtkGetStringMacro(AbscissasArrayName);
60
62
71
72 protected:
75
76 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
77
78 void ComputeAbscissas(vtkPolyData* input, vtkDoubleArray* abscissasArray);
79 void ComputeParallelTransportNormals(vtkPolyData* input, vtkDoubleArray* parallelTransportNormalsArray);
80
83
84 private:
86 void operator=(const vtkvmtkCenterlineAttributesFilter&); // Not implemented.
87};
88
89#endif
void PrintSelf(std::ostream &os, vtkIndent indent) override
static vtkvmtkCenterlineAttributesFilter * New()
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
void ComputeAbscissas(vtkPolyData *input, vtkDoubleArray *abscissasArray)
void ComputeParallelTransportNormals(vtkPolyData *input, vtkDoubleArray *parallelTransportNormalsArray)