VTK  9.0.1
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 =========================================================================*/
57 #ifndef vtkStripper_h
58 #define vtkStripper_h
59 
60 #include "vtkFiltersCoreModule.h" // For export macro
61 #include "vtkPolyDataAlgorithm.h"
62 
63 class VTKFILTERSCORE_EXPORT vtkStripper : public vtkPolyDataAlgorithm
64 {
65 public:
67  void PrintSelf(ostream& os, vtkIndent indent) override;
68 
72  static vtkStripper* New();
73 
75 
79  vtkSetClampMacro(MaximumLength, int, 4, 100000);
80  vtkGetMacro(MaximumLength, int);
82 
84 
88  vtkBooleanMacro(PassCellDataAsFieldData, vtkTypeBool);
89  vtkSetMacro(PassCellDataAsFieldData, vtkTypeBool);
90  vtkGetMacro(PassCellDataAsFieldData, vtkTypeBool);
92 
94 
100  vtkSetMacro(PassThroughCellIds, vtkTypeBool);
101  vtkGetMacro(PassThroughCellIds, vtkTypeBool);
102  vtkBooleanMacro(PassThroughCellIds, vtkTypeBool);
104 
106 
112  vtkSetMacro(PassThroughPointIds, vtkTypeBool);
113  vtkGetMacro(PassThroughPointIds, vtkTypeBool);
114  vtkBooleanMacro(PassThroughPointIds, vtkTypeBool);
116 
118 
123  vtkSetMacro(JoinContiguousSegments, vtkTypeBool);
124  vtkGetMacro(JoinContiguousSegments, vtkTypeBool);
125  vtkBooleanMacro(JoinContiguousSegments, vtkTypeBool);
127 
128 protected:
129  vtkStripper();
130  ~vtkStripper() override {}
131 
132  // Usual data generation method
134 
140 
141 private:
142  vtkStripper(const vtkStripper&) = delete;
143  void operator=(const vtkStripper&) = delete;
144 };
145 
146 #endif
~vtkStripper() override
Definition: vtkStripper.h:130
vtkTypeBool PassThroughCellIds
Definition: vtkStripper.h:137
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:139
int MaximumLength
Definition: vtkStripper.h:135
static vtkPolyDataAlgorithm * New()
int vtkTypeBool
Definition: vtkABI.h:69
vtkTypeBool PassThroughPointIds
Definition: vtkStripper.h:138
create triangle strips and/or poly-lines
Definition: vtkStripper.h:63
Superclass for algorithms that produce only polydata as output.
a simple class to control print indentation
Definition: vtkIndent.h:33
vtkTypeBool PassCellDataAsFieldData
Definition: vtkStripper.h:136
Store zero or more vtkInformation instances.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.