VTK  9.2.6
vtkProjectPointsToPlane.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkProjectPointsToPlane.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
37
38#ifndef vtkProjectPointsToPlane_h
39#define vtkProjectPointsToPlane_h
40
41#include "vtkFiltersPointsModule.h" // For export macro
43
44class VTKFILTERSPOINTS_EXPORT vtkProjectPointsToPlane : public vtkPointSetAlgorithm
45{
46public:
48
54 void PrintSelf(ostream& os, vtkIndent indent) override;
56
70
72
83 vtkSetClampMacro(ProjectionType, int, X_PLANE, BEST_FIT_PLANE);
84 vtkGetMacro(ProjectionType, int);
92
94
99 vtkSetVector3Macro(Origin, double);
100 vtkSetVector3Macro(Normal, double);
101 vtkGetVector3Macro(Origin, double);
102 vtkGetVector3Macro(Normal, double);
104
106
113 vtkSetMacro(OutputPointsPrecision, int);
114 vtkGetMacro(OutputPointsPrecision, int);
116
117protected:
119 ~vtkProjectPointsToPlane() override = default;
120
122 double Origin[3];
123 double Normal[3];
125
127
128private:
130 void operator=(const vtkProjectPointsToPlane&) = delete;
131};
132
133#endif
a simple class to control print indentation
Definition vtkIndent.h:34
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
void PrintSelf(ostream &os, vtkIndent indent) override
Standard methods for instantiation, obtaining type information, and printing.
void SetProjectionTypeToZPlane()
Specify the type of projection to perform.
static vtkProjectPointsToPlane * New()
Standard methods for instantiation, obtaining type information, and printing.
void SetProjectionTypeToBestCoordinatePlane()
Specify the type of projection to perform.
void SetProjectionTypeToSpecifiedPlane()
Specify the type of projection to perform.
void SetProjectionTypeToYPlane()
Specify the type of projection to perform.
~vtkProjectPointsToPlane() override=default
void SetProjectionTypeToXPlane()
Specify the type of projection to perform.
PlaneProjectionType
Define the options available for point projection.
void SetProjectionTypeToBestFitPlane()
Specify the type of projection to perform.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
virtual void SetProjectionType(int)
Specify the type of projection to perform.