VMTK
Loading...
Searching...
No Matches
vtkvmtkPolyDataNormalPlaneEstimator.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=========================================================================*/
43
44#ifndef __vtkvmtkPolyDataNormalPlaneEstimator_h
45#define __vtkvmtkPolyDataNormalPlaneEstimator_h
46
47#include "vtkPolyDataAlgorithm.h"
48#include "vtkvmtkWin32Header.h"
49
50class VTK_VMTK_MISC_EXPORT vtkvmtkPolyDataNormalPlaneEstimator : public vtkPolyDataAlgorithm
51{
52 public:
53 vtkTypeMacro(vtkvmtkPolyDataNormalPlaneEstimator,vtkPolyDataAlgorithm);
54 void PrintSelf(std::ostream& os, vtkIndent indent) override;
55
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:
106
107 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
108
109 vtkIdType OriginPointId;
110
111 double Origin[3];
112 double Normal[3];
113
116
117 private:
119 void operator=(const vtkvmtkPolyDataNormalPlaneEstimator&); // Not implemented.
120};
121
122#endif
void PrintSelf(std::ostream &os, vtkIndent indent) override
static vtkvmtkPolyDataNormalPlaneEstimator * New()
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override