VTK  9.3.0
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
54#ifndef vtkStripper_h
55#define vtkStripper_h
56
57#include "vtkFiltersCoreModule.h" // For export macro
59
60VTK_ABI_NAMESPACE_BEGIN
61class VTKFILTERSCORE_EXPORT vtkStripper : public vtkPolyDataAlgorithm
62{
63public:
65 void PrintSelf(ostream& os, vtkIndent indent) override;
66
70 static vtkStripper* New();
71
73
77 vtkSetClampMacro(MaximumLength, int, 4, 100000);
78 vtkGetMacro(MaximumLength, int);
80
82
86 vtkBooleanMacro(PassCellDataAsFieldData, vtkTypeBool);
87 vtkSetMacro(PassCellDataAsFieldData, vtkTypeBool);
88 vtkGetMacro(PassCellDataAsFieldData, vtkTypeBool);
90
92
98 vtkSetMacro(PassThroughCellIds, vtkTypeBool);
99 vtkGetMacro(PassThroughCellIds, vtkTypeBool);
100 vtkBooleanMacro(PassThroughCellIds, vtkTypeBool);
102
104
110 vtkSetMacro(PassThroughPointIds, vtkTypeBool);
111 vtkGetMacro(PassThroughPointIds, vtkTypeBool);
112 vtkBooleanMacro(PassThroughPointIds, vtkTypeBool);
114
116
121 vtkSetMacro(JoinContiguousSegments, vtkTypeBool);
122 vtkGetMacro(JoinContiguousSegments, vtkTypeBool);
123 vtkBooleanMacro(JoinContiguousSegments, vtkTypeBool);
125
126protected:
128 ~vtkStripper() override = default;
129
130 // Usual data generation method
132
138
139private:
140 vtkStripper(const vtkStripper&) = delete;
141 void operator=(const vtkStripper&) = delete;
142};
143
144VTK_ABI_NAMESPACE_END
145#endif
a simple class to control print indentation
Definition vtkIndent.h:29
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
Definition vtkStripper.h:62
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