VTK
dox
Filters
General
vtkDistancePolyDataFilter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkDistancePolyDataFilter.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
#ifndef vtkDistancePolyDataFilter_h
38
#define vtkDistancePolyDataFilter_h
39
40
#include "vtkFiltersGeneralModule.h"
// For export macro
41
#include "
vtkPolyDataAlgorithm.h
"
42
43
class
VTKFILTERSGENERAL_EXPORT
vtkDistancePolyDataFilter
:
public
vtkPolyDataAlgorithm
44
{
45
public
:
46
static
vtkDistancePolyDataFilter
*
New
();
47
vtkTypeMacro(
vtkDistancePolyDataFilter
,
vtkPolyDataAlgorithm
);
48
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
49
51
55
vtkSetMacro(SignedDistance,
vtkTypeBool
);
56
vtkGetMacro(SignedDistance,
vtkTypeBool
);
57
vtkBooleanMacro(SignedDistance,
vtkTypeBool
);
59
61
65
vtkSetMacro(NegateDistance,
vtkTypeBool
);
66
vtkGetMacro(NegateDistance,
vtkTypeBool
);
67
vtkBooleanMacro(NegateDistance,
vtkTypeBool
);
69
71
75
vtkSetMacro(ComputeSecondDistance,
vtkTypeBool
);
76
vtkGetMacro(ComputeSecondDistance,
vtkTypeBool
);
77
vtkBooleanMacro(ComputeSecondDistance,
vtkTypeBool
);
79
86
vtkPolyData
* GetSecondDistanceOutput();
87
88
protected
:
89
vtkDistancePolyDataFilter
();
90
~
vtkDistancePolyDataFilter
()
override
;
91
92
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
93
void
GetPolyDataDistance(
vtkPolyData
*,
vtkPolyData
*);
94
95
private
:
96
vtkDistancePolyDataFilter
(
const
vtkDistancePolyDataFilter
&) =
delete
;
97
void
operator=(
const
vtkDistancePolyDataFilter
&) =
delete
;
98
99
vtkTypeBool
SignedDistance;
100
vtkTypeBool
NegateDistance;
101
vtkTypeBool
ComputeSecondDistance;
102
};
103
104
#endif
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:35
vtkPolyDataAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkDistancePolyDataFilter
Definition:
vtkDistancePolyDataFilter.h:43
vtkPolyDataAlgorithm.h
vtkPolyDataAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:80
vtkPolyData
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition:
vtkPolyData.h:79
vtkTypeBool
int vtkTypeBool
Definition:
vtkABI.h:69
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition:
vtkPolyDataAlgorithm.h:41
Generated by
1.8.16