VTK  9.1.0
vtkStripper.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkStripper.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
166#ifndef vtkStripper_h
167#define vtkStripper_h
168
169#include "vtkFiltersCoreModule.h" // For export macro
170#include "vtkPolyDataAlgorithm.h"
171
172class VTKFILTERSCORE_EXPORT vtkStripper : public vtkPolyDataAlgorithm
173{
174public:
176 void PrintSelf(ostream& os, vtkIndent indent) override;
177
181 static vtkStripper* New();
182
184
188 vtkSetClampMacro(MaximumLength, int, 4, 100000);
189 vtkGetMacro(MaximumLength, int);
191
193
197 vtkBooleanMacro(PassCellDataAsFieldData, vtkTypeBool);
198 vtkSetMacro(PassCellDataAsFieldData, vtkTypeBool);
199 vtkGetMacro(PassCellDataAsFieldData, vtkTypeBool);
201
203
209 vtkSetMacro(PassThroughCellIds, vtkTypeBool);
210 vtkGetMacro(PassThroughCellIds, vtkTypeBool);
211 vtkBooleanMacro(PassThroughCellIds, vtkTypeBool);
213
215
221 vtkSetMacro(PassThroughPointIds, vtkTypeBool);
222 vtkGetMacro(PassThroughPointIds, vtkTypeBool);
223 vtkBooleanMacro(PassThroughPointIds, vtkTypeBool);
225
227
232 vtkSetMacro(JoinContiguousSegments, vtkTypeBool);
233 vtkGetMacro(JoinContiguousSegments, vtkTypeBool);
234 vtkBooleanMacro(JoinContiguousSegments, vtkTypeBool);
236
237protected:
239 ~vtkStripper() override = default;
240
241 // Usual data generation method
243
249
250private:
251 vtkStripper(const vtkStripper&) = delete;
252 void operator=(const vtkStripper&) = delete;
253};
254
255#endif
a simple class to control print indentation
Definition: vtkIndent.h:113
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:173
vtkTypeBool PassThroughPointIds
Definition: vtkStripper.h:247
vtkTypeBool JoinContiguousSegments
Definition: vtkStripper.h:248
~vtkStripper() override=default
static vtkStripper * New()
Construct object with MaximumLength set to 1000.
vtkTypeBool PassThroughCellIds
Definition: vtkStripper.h:246
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:245
int MaximumLength
Definition: vtkStripper.h:244
int vtkTypeBool
Definition: vtkABI.h:69