VTK  9.3.20240423
vtkStripper.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
163#ifndef vtkStripper_h
164#define vtkStripper_h
165
166#include "vtkFiltersCoreModule.h" // For export macro
167#include "vtkPolyDataAlgorithm.h"
168
169VTK_ABI_NAMESPACE_BEGIN
170class VTKFILTERSCORE_EXPORT vtkStripper : public vtkPolyDataAlgorithm
171{
172public:
174 void PrintSelf(ostream& os, vtkIndent indent) override;
175
179 static vtkStripper* New();
180
182
186 vtkSetClampMacro(MaximumLength, int, 4, 100000);
187 vtkGetMacro(MaximumLength, int);
189
191
195 vtkBooleanMacro(PassCellDataAsFieldData, vtkTypeBool);
196 vtkSetMacro(PassCellDataAsFieldData, vtkTypeBool);
197 vtkGetMacro(PassCellDataAsFieldData, vtkTypeBool);
199
201
207 vtkSetMacro(PassThroughCellIds, vtkTypeBool);
208 vtkGetMacro(PassThroughCellIds, vtkTypeBool);
209 vtkBooleanMacro(PassThroughCellIds, vtkTypeBool);
211
213
219 vtkSetMacro(PassThroughPointIds, vtkTypeBool);
220 vtkGetMacro(PassThroughPointIds, vtkTypeBool);
221 vtkBooleanMacro(PassThroughPointIds, vtkTypeBool);
223
225
230 vtkSetMacro(JoinContiguousSegments, vtkTypeBool);
231 vtkGetMacro(JoinContiguousSegments, vtkTypeBool);
232 vtkBooleanMacro(JoinContiguousSegments, vtkTypeBool);
234
235protected:
237 ~vtkStripper() override = default;
238
239 // Usual data generation method
241
247
248private:
249 vtkStripper(const vtkStripper&) = delete;
250 void operator=(const vtkStripper&) = delete;
251};
252
253VTK_ABI_NAMESPACE_END
254#endif
a simple class to control print indentation
Definition vtkIndent.h:108
Store zero or more vtkInformation instances.
Store vtkAlgorithm input/output information.
Superclass for algorithms that produce only polydata as output.
create triangle strips and/or poly-lines
vtkTypeBool PassThroughPointIds
vtkTypeBool JoinContiguousSegments
~vtkStripper() override=default
static vtkStripper * New()
Construct object with MaximumLength set to 1000.
vtkTypeBool PassThroughCellIds
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkTypeBool PassCellDataAsFieldData
int vtkTypeBool
Definition vtkABI.h:64