vtkbone
vtkboneSelectVisiblePoints.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Copyright 2010-2016, Numerics88 Solutions Ltd.
4 http://www.numerics88.com/
5
6 Copyright (c) Eric Nodwell and Steven K. Boyd
7 See Copyright.txt for details.
8
9 This software is distributed WITHOUT ANY WARRANTY; without even
10 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11 PURPOSE. See the above copyright notice for more information.
12=========================================================================*/
13
32#ifndef __vtkboneSelectVisiblePoints_h
33#define __vtkboneSelectVisiblePoints_h
34
36#include "vtkboneWin32Header.h"
37
39{
40public:
43 void PrintSelf(ostream& os, vtkIndent indent) override;
44
46
49 vtkSetMacro(Tolerance, float);
50 vtkGetMacro(Tolerance, float);
52
54
56 vtkSetVector3Macro(NormalVector, double);
57 vtkGetVector3Macro(NormalVector, double);
59
61
64 double P[3],
65 double V[3],
66 double bounds[6]);
68
69protected:
72
73 virtual int RequestData(vtkInformation* request,
74 vtkInformationVector** inputVector,
75 vtkInformationVector* outputVector) override;
76
77 virtual int FillInputPortInformation(int port, vtkInformation* info) override;
78
79 float Tolerance;
80 double NormalVector[3];
81
82private:
84 void operator=(const vtkboneSelectVisiblePoints&); // Not implemented.
85};
86
87#endif
void operator=(const vtkObjectBase &)
Selects points that are not obscured by a set of Polygons.
virtual int FillInputPortInformation(int port, vtkInformation *info) override
void PrintSelf(ostream &os, vtkIndent indent) override
static vtkboneSelectVisiblePoints * New()
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector) override
static double LineBoundsIntersection(double P[3], double V[3], double bounds[6])