VMTK
Loading...
Searching...
No Matches
Misc
vtkvmtkSurfaceDistance.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
=========================================================================*/
24
25
#ifndef __vtkvmtkSurfaceDistance_h
26
#define __vtkvmtkSurfaceDistance_h
27
28
#include "vtkPolyDataAlgorithm.h"
29
#include "vtkPolyData.h"
30
#include "vtkvmtkWin32Header.h"
31
32
class
vtkPolyData;
33
34
class
VTK_VMTK_MISC_EXPORT
vtkvmtkSurfaceDistance
:
public
vtkPolyDataAlgorithm
35
{
36
public
:
37
vtkTypeMacro(
vtkvmtkSurfaceDistance
,vtkPolyDataAlgorithm);
38
void
PrintSelf
(std::ostream& os, vtkIndent indent)
override
;
39
40
static
vtkvmtkSurfaceDistance
*
New
();
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
:
75
vtkvmtkSurfaceDistance
();
76
~vtkvmtkSurfaceDistance
();
77
78
virtual
int
RequestData
(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
override
;
79
80
char
*
DistanceArrayName
;
81
char
*
DistanceVectorsArrayName
;
82
char
*
SignedDistanceArrayName
;
83
vtkPolyData *
ReferenceSurface
;
84
85
private
:
86
vtkvmtkSurfaceDistance
(
const
vtkvmtkSurfaceDistance
&);
// Not implemented.
87
void
operator=(
const
vtkvmtkSurfaceDistance
&);
// Not implemented.
88
};
89
90
#endif
vtkvmtkSurfaceDistance::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Definition
vtkvmtkSurfaceDistance.cxx:72
vtkvmtkSurfaceDistance::DistanceArrayName
char * DistanceArrayName
Definition
vtkvmtkSurfaceDistance.h:80
vtkvmtkSurfaceDistance::PrintSelf
void PrintSelf(std::ostream &os, vtkIndent indent) override
Definition
vtkvmtkSurfaceDistance.cxx:236
vtkvmtkSurfaceDistance::vtkvmtkSurfaceDistance
vtkvmtkSurfaceDistance()
Definition
vtkvmtkSurfaceDistance.cxx:37
vtkvmtkSurfaceDistance::DistanceVectorsArrayName
char * DistanceVectorsArrayName
Definition
vtkvmtkSurfaceDistance.h:81
vtkvmtkSurfaceDistance::New
static vtkvmtkSurfaceDistance * New()
vtkvmtkSurfaceDistance::SignedDistanceArrayName
char * SignedDistanceArrayName
Definition
vtkvmtkSurfaceDistance.h:82
vtkvmtkSurfaceDistance::ReferenceSurface
vtkPolyData * ReferenceSurface
Definition
vtkvmtkSurfaceDistance.h:83
Generated by
1.15.0