VMTK
Loading...
Searching...
No Matches
Misc
vtkvmtkPolyDataNormalPlaneEstimator.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
=========================================================================*/
43
44
#ifndef __vtkvmtkPolyDataNormalPlaneEstimator_h
45
#define __vtkvmtkPolyDataNormalPlaneEstimator_h
46
47
#include "vtkPolyDataAlgorithm.h"
48
#include "vtkvmtkWin32Header.h"
49
50
class
VTK_VMTK_MISC_EXPORT
vtkvmtkPolyDataNormalPlaneEstimator
:
public
vtkPolyDataAlgorithm
51
{
52
public
:
53
vtkTypeMacro(
vtkvmtkPolyDataNormalPlaneEstimator
,vtkPolyDataAlgorithm);
54
void
PrintSelf
(std::ostream& os, vtkIndent indent)
override
;
55
56
static
vtkvmtkPolyDataNormalPlaneEstimator
*
New
();
57
59
64
vtkSetMacro(
OriginPointId
,vtkIdType);
65
vtkGetMacro(
OriginPointId
,vtkIdType);
67
72
vtkGetVectorMacro(
Origin
,
double
,3);
73
79
vtkGetVectorMacro(
Normal
,
double
,3);
80
82
88
vtkSetMacro(
UseConnectivity
,
int
);
89
vtkGetMacro(
UseConnectivity
,
int
);
90
vtkBooleanMacro(
UseConnectivity
,
int
);
92
94
99
vtkSetMacro(
MinimumNeighborhoodSize
,
int
);
100
vtkGetMacro(
MinimumNeighborhoodSize
,
int
);
102
103
protected
:
104
vtkvmtkPolyDataNormalPlaneEstimator
();
105
~vtkvmtkPolyDataNormalPlaneEstimator
();
106
107
virtual
int
RequestData
(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
override
;
108
109
vtkIdType
OriginPointId
;
110
111
double
Origin
[3];
112
double
Normal
[3];
113
114
int
UseConnectivity
;
115
int
MinimumNeighborhoodSize
;
116
117
private
:
118
vtkvmtkPolyDataNormalPlaneEstimator
(
const
vtkvmtkPolyDataNormalPlaneEstimator
&);
// Not implemented.
119
void
operator=(
const
vtkvmtkPolyDataNormalPlaneEstimator
&);
// Not implemented.
120
};
121
122
#endif
vtkvmtkPolyDataNormalPlaneEstimator::MinimumNeighborhoodSize
int MinimumNeighborhoodSize
Definition
vtkvmtkPolyDataNormalPlaneEstimator.h:115
vtkvmtkPolyDataNormalPlaneEstimator::vtkvmtkPolyDataNormalPlaneEstimator
vtkvmtkPolyDataNormalPlaneEstimator()
Definition
vtkvmtkPolyDataNormalPlaneEstimator.cxx:43
vtkvmtkPolyDataNormalPlaneEstimator::PrintSelf
void PrintSelf(std::ostream &os, vtkIndent indent) override
Definition
vtkvmtkPolyDataNormalPlaneEstimator.cxx:247
vtkvmtkPolyDataNormalPlaneEstimator::OriginPointId
vtkIdType OriginPointId
Definition
vtkvmtkPolyDataNormalPlaneEstimator.h:109
vtkvmtkPolyDataNormalPlaneEstimator::New
static vtkvmtkPolyDataNormalPlaneEstimator * New()
vtkvmtkPolyDataNormalPlaneEstimator::UseConnectivity
int UseConnectivity
Definition
vtkvmtkPolyDataNormalPlaneEstimator.h:114
vtkvmtkPolyDataNormalPlaneEstimator::Normal
double Normal[3]
Definition
vtkvmtkPolyDataNormalPlaneEstimator.h:112
vtkvmtkPolyDataNormalPlaneEstimator::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
Definition
vtkvmtkPolyDataNormalPlaneEstimator.cxx:56
vtkvmtkPolyDataNormalPlaneEstimator::Origin
double Origin[3]
Definition
vtkvmtkPolyDataNormalPlaneEstimator.h:111
Generated by
1.15.0