VTK  9.2.6
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 =========================================================================*/
175 #ifndef vtkStripper_h
176 #define vtkStripper_h
177 
178 #include "vtkFiltersCoreModule.h" // For export macro
179 #include "vtkPolyDataAlgorithm.h"
180 
181 class VTKFILTERSCORE_EXPORT vtkStripper : public vtkPolyDataAlgorithm
182 {
183 public:
185  void PrintSelf(ostream& os, vtkIndent indent) override;
186 
190  static vtkStripper* New();
191 
193 
197  vtkSetClampMacro(MaximumLength, int, 4, 100000);
198  vtkGetMacro(MaximumLength, int);
200 
202 
206  vtkBooleanMacro(PassCellDataAsFieldData, vtkTypeBool);
207  vtkSetMacro(PassCellDataAsFieldData, vtkTypeBool);
208  vtkGetMacro(PassCellDataAsFieldData, vtkTypeBool);
210 
212 
218  vtkSetMacro(PassThroughCellIds, vtkTypeBool);
219  vtkGetMacro(PassThroughCellIds, vtkTypeBool);
220  vtkBooleanMacro(PassThroughCellIds, vtkTypeBool);
222 
224 
230  vtkSetMacro(PassThroughPointIds, vtkTypeBool);
231  vtkGetMacro(PassThroughPointIds, vtkTypeBool);
232  vtkBooleanMacro(PassThroughPointIds, vtkTypeBool);
234 
236 
241  vtkSetMacro(JoinContiguousSegments, vtkTypeBool);
242  vtkGetMacro(JoinContiguousSegments, vtkTypeBool);
243  vtkBooleanMacro(JoinContiguousSegments, vtkTypeBool);
245 
246 protected:
248  ~vtkStripper() override = default;
249 
250  // Usual data generation method
252 
258 
259 private:
260  vtkStripper(const vtkStripper&) = delete;
261  void operator=(const vtkStripper&) = delete;
262 };
263 
264 #endif
a simple class to control print indentation
Definition: vtkIndent.h:119
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:182
vtkTypeBool PassThroughPointIds
Definition: vtkStripper.h:256
static vtkStripper * New()
Construct object with MaximumLength set to 1000.
vtkTypeBool JoinContiguousSegments
Definition: vtkStripper.h:257
~vtkStripper() override=default
vtkTypeBool PassThroughCellIds
Definition: vtkStripper.h:255
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:254
int MaximumLength
Definition: vtkStripper.h:253
int vtkTypeBool
Definition: vtkABI.h:69