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
63 #ifndef vtkStripper_h
64 #define vtkStripper_h
65 
66 #include "vtkFiltersCoreModule.h" // For export macro
67 #include "vtkPolyDataAlgorithm.h"
68 
69 VTK_ABI_NAMESPACE_BEGIN
70 class VTKFILTERSCORE_EXPORT vtkStripper : public vtkPolyDataAlgorithm
71 {
72 public:
74  void PrintSelf(ostream& os, vtkIndent indent) override;
75 
79  static vtkStripper* New();
80 
82 
86  vtkSetClampMacro(MaximumLength, int, 4, 100000);
87  vtkGetMacro(MaximumLength, int);
89 
91 
95  vtkBooleanMacro(PassCellDataAsFieldData, vtkTypeBool);
96  vtkSetMacro(PassCellDataAsFieldData, vtkTypeBool);
97  vtkGetMacro(PassCellDataAsFieldData, vtkTypeBool);
99 
101 
107  vtkSetMacro(PassThroughCellIds, vtkTypeBool);
108  vtkGetMacro(PassThroughCellIds, vtkTypeBool);
109  vtkBooleanMacro(PassThroughCellIds, vtkTypeBool);
111 
113 
119  vtkSetMacro(PassThroughPointIds, vtkTypeBool);
120  vtkGetMacro(PassThroughPointIds, vtkTypeBool);
121  vtkBooleanMacro(PassThroughPointIds, vtkTypeBool);
123 
125 
130  vtkSetMacro(JoinContiguousSegments, vtkTypeBool);
131  vtkGetMacro(JoinContiguousSegments, vtkTypeBool);
132  vtkBooleanMacro(JoinContiguousSegments, vtkTypeBool);
134 
135 protected:
137  ~vtkStripper() override = default;
138 
139  // Usual data generation method
141 
147 
148 private:
149  vtkStripper(const vtkStripper&) = delete;
150  void operator=(const vtkStripper&) = delete;
151 };
152 
153 VTK_ABI_NAMESPACE_END
154 #endif
a simple class to control print indentation
Definition: vtkIndent.h:38
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:71
vtkTypeBool PassThroughPointIds
Definition: vtkStripper.h:145
static vtkStripper * New()
Construct object with MaximumLength set to 1000.
vtkTypeBool JoinContiguousSegments
Definition: vtkStripper.h:146
~vtkStripper() override=default
vtkTypeBool PassThroughCellIds
Definition: vtkStripper.h:144
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:143
int MaximumLength
Definition: vtkStripper.h:142
int vtkTypeBool
Definition: vtkABI.h:64