VTK  9.2.5
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=========================================================================*/
66#ifndef vtkStripper_h
67#define vtkStripper_h
68
69#include "vtkFiltersCoreModule.h" // For export macro
71
72class VTKFILTERSCORE_EXPORT vtkStripper : public vtkPolyDataAlgorithm
73{
74public:
76 void PrintSelf(ostream& os, vtkIndent indent) override;
77
81 static vtkStripper* New();
82
84
88 vtkSetClampMacro(MaximumLength, int, 4, 100000);
89 vtkGetMacro(MaximumLength, int);
91
93
97 vtkBooleanMacro(PassCellDataAsFieldData, vtkTypeBool);
98 vtkSetMacro(PassCellDataAsFieldData, vtkTypeBool);
99 vtkGetMacro(PassCellDataAsFieldData, vtkTypeBool);
101
103
109 vtkSetMacro(PassThroughCellIds, vtkTypeBool);
110 vtkGetMacro(PassThroughCellIds, vtkTypeBool);
111 vtkBooleanMacro(PassThroughCellIds, vtkTypeBool);
113
115
121 vtkSetMacro(PassThroughPointIds, vtkTypeBool);
122 vtkGetMacro(PassThroughPointIds, vtkTypeBool);
123 vtkBooleanMacro(PassThroughPointIds, vtkTypeBool);
125
127
132 vtkSetMacro(JoinContiguousSegments, vtkTypeBool);
133 vtkGetMacro(JoinContiguousSegments, vtkTypeBool);
134 vtkBooleanMacro(JoinContiguousSegments, vtkTypeBool);
136
137protected:
139 ~vtkStripper() override = default;
140
141 // Usual data generation method
143
149
150private:
151 vtkStripper(const vtkStripper&) = delete;
152 void operator=(const vtkStripper&) = delete;
153};
154
155#endif
a simple class to control print indentation
Definition: vtkIndent.h:40
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:73
vtkTypeBool PassThroughPointIds
Definition: vtkStripper.h:147
vtkTypeBool JoinContiguousSegments
Definition: vtkStripper.h:148
~vtkStripper() override=default
static vtkStripper * New()
Construct object with MaximumLength set to 1000.
vtkTypeBool PassThroughCellIds
Definition: vtkStripper.h:146
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:145
int MaximumLength
Definition: vtkStripper.h:144
int vtkTypeBool
Definition: vtkABI.h:69