VMTK
Loading...
Searching...
No Matches
vtkvmtkPolyDataDistanceToSpheres.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=========================================================================*/
41
42#ifndef __vtkvmtkPolyDataDistanceToSpheres_h
43#define __vtkvmtkPolyDataDistanceToSpheres_h
44
45#include "vtkPolyDataAlgorithm.h"
46//#include "vtkvmtkComputationalGeometryWin32Header.h"
47#include "vtkvmtkWin32Header.h"
48
49#include "vtkPolyData.h"
50
51class VTK_VMTK_CONTRIB_EXPORT vtkvmtkPolyDataDistanceToSpheres : public vtkPolyDataAlgorithm
52{
53public:
55 vtkTypeMacro(vtkvmtkPolyDataDistanceToSpheres,vtkPolyDataAlgorithm);
56
58
62 vtkSetObjectMacro(Spheres,vtkPolyData);
63 vtkGetObjectMacro(Spheres,vtkPolyData);
65
67
71 vtkSetMacro(DistanceOffset,double);
72 vtkGetMacro(DistanceOffset,double);
74
76
80 vtkSetMacro(DistanceScale,double);
81 vtkGetMacro(DistanceScale,double);
83
85
89 vtkSetMacro(MinDistance,double);
90 vtkGetMacro(MinDistance,double);
92
94
98 vtkSetMacro(MaxDistance,double);
99 vtkGetMacro(MaxDistance,double);
101
103
110 vtkSetStringMacro(DistanceToSpheresArrayName);
111 vtkGetStringMacro(DistanceToSpheresArrayName);
113
114protected:
117
118 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
119
121
122 vtkPolyData* Spheres;
123
128
129
130private:
132 void operator=(const vtkvmtkPolyDataDistanceToSpheres&); // Not implemented.
133};
134
135#endif
136
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
static vtkvmtkPolyDataDistanceToSpheres * New()