VTK  9.6.1
vtkClipPolyData.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2// SPDX-License-Identifier: BSD-3-Clause
49
50#ifndef vtkClipPolyData_h
51#define vtkClipPolyData_h
52
53#include "vtkFiltersCoreModule.h" // For export macro
55#include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
56
57VTK_ABI_NAMESPACE_BEGIN
60
61class VTKFILTERSCORE_EXPORT VTK_MARSHALAUTO vtkClipPolyData : public vtkPolyDataAlgorithm
62{
63public:
65 void PrintSelf(ostream& os, vtkIndent indent) override;
66
73
75
80 vtkSetMacro(Value, double);
81 vtkGetMacro(Value, double);
83
85
93 vtkSetMacro(InsideOut, vtkTypeBool);
94 vtkGetMacro(InsideOut, vtkTypeBool);
95 vtkBooleanMacro(InsideOut, vtkTypeBool);
97
99
107
109
120
122
131
136
141
143
150
156
161
163
169 vtkSetMacro(OutputPointsPrecision, int);
170 vtkGetMacro(OutputPointsPrecision, int);
172
173protected:
176
179
182 double Value;
186
187private:
188 vtkClipPolyData(const vtkClipPolyData&) = delete;
189 void operator=(const vtkClipPolyData&) = delete;
190};
191
192VTK_ABI_NAMESPACE_END
193#endif
Proxy object to connect input/output ports.
vtkClipPolyData(vtkImplicitFunction *cf=nullptr)
vtkTypeBool GenerateClipScalars
vtkIncrementalPointLocator * Locator
vtkImplicitFunction * ClipFunction
vtkAlgorithmOutput * GetClippedOutputPort()
Return the output port (a vtkAlgorithmOutput) of the clipped output.
void CreateDefaultLocator()
Create default locator.
vtkTypeBool InsideOut
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkTypeBool GenerateClippedOutput
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkMTimeType GetMTime() override
Return the mtime also considering the locator and clip function.
void SetLocator(vtkIncrementalPointLocator *locator)
Specify a spatial locator for merging points.
static vtkClipPolyData * New()
Construct with user-specified implicit function; InsideOut turned off; value set to 0....
virtual void SetClipFunction(vtkImplicitFunction *)
Specify the implicit function with which to perform the clipping.
~vtkClipPolyData() override
vtkPolyData * GetClippedOutput()
Return the Clipped output.
abstract interface for implicit functions
Abstract class in support of both point location and point insertion.
a simple class to control print indentation
Definition vtkIndent.h:29
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
concrete dataset represents vertices, lines, polygons, and triangle strips
Definition vtkPolyData.h:72
int vtkTypeBool
Definition vtkABI.h:64
vtkAlgorithmOutput * GetOutputPort()
vtkTypeUInt32 vtkMTimeType
Definition vtkType.h:323
#define VTK_MARSHALAUTO