src
paraview-5.12
VTKExtensions
FiltersGeneral
vtkSliceAlongPolyPlane.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Kitware Inc.
2
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
3
// SPDX-License-Identifier: BSD-3-Clause
17
#ifndef vtkSliceAlongPolyPlane_h
18
#define vtkSliceAlongPolyPlane_h
19
20
#include "
vtkDataObjectAlgorithm.h
"
21
#include "vtkPVVTKExtensionsFiltersGeneralModule.h"
//needed for exports
22
23
class
vtkDataSet
;
24
class
vtkPolyData
;
25
26
class
VTKPVVTKEXTENSIONSFILTERSGENERAL_EXPORT
vtkSliceAlongPolyPlane
:
public
vtkDataObjectAlgorithm
27
{
28
public
:
29
static
vtkSliceAlongPolyPlane
*
New
();
30
vtkTypeMacro(
vtkSliceAlongPolyPlane
,
vtkDataObjectAlgorithm
);
31
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
32
34
37
vtkSetMacro(Tolerance,
double
);
38
vtkGetMacro(Tolerance,
double
);
40
41
protected
:
42
vtkSliceAlongPolyPlane
();
43
~
vtkSliceAlongPolyPlane
()
override
;
44
45
int
RequestDataObject
(
vtkInformation
*,
vtkInformationVector
** inputVector,
46
vtkInformationVector
* outputVector)
override
;
47
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
48
int
FillInputPortInformation
(
int
port,
vtkInformation
* info)
override
;
49
53
virtual
bool
Execute(
vtkDataSet
* inputDataset,
vtkPolyData
* lineDataSet,
vtkPolyData
* output);
54
58
void
CleanPolyLine(
vtkPolyData
* input,
vtkPolyData
* output);
59
60
private
:
61
vtkSliceAlongPolyPlane
(
const
vtkSliceAlongPolyPlane
&) =
delete
;
62
void
operator=
(
const
vtkSliceAlongPolyPlane
&) =
delete
;
63
64
double
Tolerance;
65
};
66
67
#endif
vtkObjectBase::operator=
void operator=(const vtkObjectBase &)
vtkInformationVector
vtkDataObjectAlgorithm
vtkSliceAlongPolyPlane
slice a dataset along a polyplane
Definition:
vtkSliceAlongPolyPlane.h:26
vtkDataObjectAlgorithm::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkDataObjectAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
vtkIndent
vtkDataSet
vtkInformation
vtkPolyData
vtkDataObjectAlgorithm::New
static vtkDataObjectAlgorithm * New()
vtkDataObjectAlgorithm::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkDataObjectAlgorithm.h
vtkDataObjectAlgorithm::RequestDataObject
virtual int RequestDataObject(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
Generated by
1.8.17 on Wed Mar 27 2024