VMTK
Loading...
Searching...
No Matches
vtkvmtkPolyDataDijkstraDistanceToPoints.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 Note: this class was contributed by
17 Tangui Morvan
18 Kalkulo AS
19 Simula Research Laboratory
20=========================================================================*/
36
37#ifndef __vtkvmtkPolyDataDijkstraDistanceToPoints_h
38#define __vtkvmtkPolyDataDijkstraDistanceToPoints_h
39
40#include "vtkPolyDataAlgorithm.h"
41//#include "vtkvmtkComputationalGeometryWin32Header.h"
42#include "vtkvmtkWin32Header.h"
43
44#include "vtkPolyData.h"
45#include "vtkIdList.h"
46
47class VTK_VMTK_CONTRIB_EXPORT vtkvmtkPolyDataDijkstraDistanceToPoints : public vtkPolyDataAlgorithm
48{
49public:
51 vtkTypeMacro(vtkvmtkPolyDataDijkstraDistanceToPoints,vtkPolyDataAlgorithm);
52
54
58 vtkSetObjectMacro(SeedIds,vtkIdList);
59 vtkGetObjectMacro(SeedIds,vtkIdList);
61
63
67 vtkSetMacro(DistanceOffset,double);
68 vtkGetMacro(DistanceOffset,double);
70
72
76 vtkSetMacro(DistanceScale,double);
77 vtkGetMacro(DistanceScale,double);
79
81
85 vtkSetMacro(MinDistance,double);
86 vtkGetMacro(MinDistance,double);
88
90
94 vtkSetMacro(MaxDistance,double);
95 vtkGetMacro(MaxDistance,double);
97
99
107
108protected:
111
112 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
113
115
116 vtkIdList* SeedIds;
117
122
123private:
125 void operator=(const vtkvmtkPolyDataDijkstraDistanceToPoints&); // Not implemented.
126};
127
128#endif
129
static vtkvmtkPolyDataDijkstraDistanceToPoints * New()
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override