VTK  9.7.1
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 #include "vtkWrappingHints.h" // For VTK_MARSHALAUTO
60 
61 VTK_ABI_NAMESPACE_BEGIN
62 class VTKFILTERSCORE_EXPORT VTK_MARSHALAUTO vtkStripper : public vtkPolyDataAlgorithm
63 {
64 public:
66  void PrintSelf(ostream& os, vtkIndent indent) override;
67 
71  static vtkStripper* New();
72 
74 
78  vtkSetClampMacro(MaximumLength, int, 4, 100000);
79  vtkGetMacro(MaximumLength, int);
81 
83 
87  vtkBooleanMacro(PassCellDataAsFieldData, vtkTypeBool);
88  vtkSetMacro(PassCellDataAsFieldData, vtkTypeBool);
89  vtkGetMacro(PassCellDataAsFieldData, vtkTypeBool);
91 
93 
99  vtkSetMacro(PassThroughCellIds, vtkTypeBool);
100  vtkGetMacro(PassThroughCellIds, vtkTypeBool);
101  vtkBooleanMacro(PassThroughCellIds, vtkTypeBool);
103 
105 
111  vtkSetMacro(PassThroughPointIds, vtkTypeBool);
112  vtkGetMacro(PassThroughPointIds, vtkTypeBool);
113  vtkBooleanMacro(PassThroughPointIds, vtkTypeBool);
115 
117 
122  vtkSetMacro(JoinContiguousSegments, vtkTypeBool);
123  vtkGetMacro(JoinContiguousSegments, vtkTypeBool);
124  vtkBooleanMacro(JoinContiguousSegments, vtkTypeBool);
126 
127 protected:
128  vtkStripper();
129  ~vtkStripper() override = default;
130 
131  // Usual data generation method
133 
139 
140 private:
141  vtkStripper(const vtkStripper&) = delete;
142  void operator=(const vtkStripper&) = delete;
143 };
144 
145 VTK_ABI_NAMESPACE_END
146 #endif
vtkTypeBool PassThroughCellIds
Definition: vtkStripper.h:136
Store vtkAlgorithm input/output information.
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkTypeBool JoinContiguousSegments
Definition: vtkStripper.h:138
int MaximumLength
Definition: vtkStripper.h:134
static vtkPolyDataAlgorithm * New()
int vtkTypeBool
Definition: vtkABI.h:64
vtkTypeBool PassThroughPointIds
Definition: vtkStripper.h:137
create triangle strips and/or poly-lines
Definition: vtkStripper.h:62
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:28
vtkTypeBool PassCellDataAsFieldData
Definition: vtkStripper.h:135
Store zero or more vtkInformation instances.
#define VTK_MARSHALAUTO
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.