VMTK
Loading...
Searching...
No Matches
Contrib
vtkvmtkSurfaceProjectCellArray.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
=========================================================================*/
28
29
#ifndef __vtkvmtkSurfaceProjectCellArray_h
30
#define __vtkvmtkSurfaceProjectCellArray_h
31
32
#include "vtkPolyDataAlgorithm.h"
33
#include "vtkPolyData.h"
34
#include "vtkvmtkWin32Header.h"
35
36
class
vtkPolyData;
37
38
class
VTK_VMTK_CONTRIB_EXPORT
vtkvmtkSurfaceProjectCellArray
:
public
vtkPolyDataAlgorithm
39
{
40
public
:
41
vtkTypeMacro(
vtkvmtkSurfaceProjectCellArray
,vtkPolyDataAlgorithm);
42
void
PrintSelf
(std::ostream& os, vtkIndent indent)
override
;
43
44
static
vtkvmtkSurfaceProjectCellArray
*
New
();
45
47
50
vtkSetObjectMacro(
ReferenceSurface
,vtkPolyData);
51
vtkGetObjectMacro(
ReferenceSurface
,vtkPolyData);
53
55
59
vtkSetStringMacro(
ProjectedArrayName
);
60
vtkGetStringMacro(
ProjectedArrayName
);
62
64
69
vtkSetMacro(
DistanceTolerance
,
double
);
70
vtkGetMacro(
DistanceTolerance
,
double
);
72
74
78
vtkSetMacro(
DefaultValue
,
double
);
79
vtkGetMacro(
DefaultValue
,
double
);
81
82
protected
:
83
vtkvmtkSurfaceProjectCellArray
();
84
~vtkvmtkSurfaceProjectCellArray
();
85
86
virtual
int
RequestData
(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
override
;
87
88
vtkPolyData *
ReferenceSurface
;
89
90
char
*
ProjectedArrayName
;
91
92
double
DistanceTolerance
;
93
double
DefaultValue
;
94
95
private
:
96
vtkvmtkSurfaceProjectCellArray
(
const
vtkvmtkSurfaceProjectCellArray
&);
// Not implemented.
97
void
operator=(
const
vtkvmtkSurfaceProjectCellArray
&);
// Not implemented.
98
};
99
100
#endif
vtkvmtkSurfaceProjectCellArray::ProjectedArrayName
char * ProjectedArrayName
Definition
vtkvmtkSurfaceProjectCellArray.h:90
vtkvmtkSurfaceProjectCellArray::DistanceTolerance
double DistanceTolerance
Definition
vtkvmtkSurfaceProjectCellArray.h:92
vtkvmtkSurfaceProjectCellArray::ReferenceSurface
vtkPolyData * ReferenceSurface
Definition
vtkvmtkSurfaceProjectCellArray.h:88
vtkvmtkSurfaceProjectCellArray::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Definition
vtkvmtkSurfaceProjectCellArray.cxx:67
vtkvmtkSurfaceProjectCellArray::DefaultValue
double DefaultValue
Definition
vtkvmtkSurfaceProjectCellArray.h:93
vtkvmtkSurfaceProjectCellArray::vtkvmtkSurfaceProjectCellArray
vtkvmtkSurfaceProjectCellArray()
Definition
vtkvmtkSurfaceProjectCellArray.cxx:44
vtkvmtkSurfaceProjectCellArray::PrintSelf
void PrintSelf(std::ostream &os, vtkIndent indent) override
Definition
vtkvmtkSurfaceProjectCellArray.cxx:176
vtkvmtkSurfaceProjectCellArray::New
static vtkvmtkSurfaceProjectCellArray * New()
Generated by
1.15.0