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
58 #include "vtkPolyDataAlgorithm.h"
59 
60 VTK_ABI_NAMESPACE_BEGIN
61 class VTKFILTERSCORE_EXPORT vtkStripper : public vtkPolyDataAlgorithm
62 {
63 public:
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 
126 protected:
128  ~vtkStripper() override = default;
129 
130  // Usual data generation method
132 
138 
139 private:
140  vtkStripper(const vtkStripper&) = delete;
141  void operator=(const vtkStripper&) = delete;
142 };
143 
144 VTK_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
Definition: vtkStripper.h:136
static vtkStripper * New()
Construct object with MaximumLength set to 1000.
vtkTypeBool JoinContiguousSegments
Definition: vtkStripper.h:137
~vtkStripper() override=default
vtkTypeBool PassThroughCellIds
Definition: vtkStripper.h:135
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
Definition: vtkStripper.h:134
int MaximumLength
Definition: vtkStripper.h:133
int vtkTypeBool
Definition: vtkABI.h:64