VMTK
Loading...
Searching...
No Matches
vtkvmtkSurfaceDistance.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=========================================================================*/
24
25#ifndef __vtkvmtkSurfaceDistance_h
26#define __vtkvmtkSurfaceDistance_h
27
28#include "vtkPolyDataAlgorithm.h"
29#include "vtkPolyData.h"
30#include "vtkvmtkWin32Header.h"
31
32class vtkPolyData;
33
34class VTK_VMTK_MISC_EXPORT vtkvmtkSurfaceDistance : public vtkPolyDataAlgorithm
35{
36 public:
37 vtkTypeMacro(vtkvmtkSurfaceDistance,vtkPolyDataAlgorithm);
38 void PrintSelf(std::ostream& os, vtkIndent indent) override;
39
41
43
46 vtkSetStringMacro(DistanceArrayName);
47 vtkGetStringMacro(DistanceArrayName);
49
51
54 vtkSetStringMacro(SignedDistanceArrayName);
55 vtkGetStringMacro(SignedDistanceArrayName);
57
59
62 vtkSetStringMacro(DistanceVectorsArrayName);
63 vtkGetStringMacro(DistanceVectorsArrayName);
65
67
70 vtkSetObjectMacro(ReferenceSurface,vtkPolyData);
71 vtkGetObjectMacro(ReferenceSurface,vtkPolyData);
73
74 protected:
77
78 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
79
83 vtkPolyData *ReferenceSurface;
84
85 private:
86 vtkvmtkSurfaceDistance(const vtkvmtkSurfaceDistance&); // Not implemented.
87 void operator=(const vtkvmtkSurfaceDistance&); // Not implemented.
88};
89
90#endif
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
void PrintSelf(std::ostream &os, vtkIndent indent) override
static vtkvmtkSurfaceDistance * New()