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=========================================================================*/
60#ifndef vtkStripper_h
61#define vtkStripper_h
62
63#include "vtkFiltersCoreModule.h" // For export macro
65
66class VTKFILTERSCORE_EXPORT vtkStripper : public vtkPolyDataAlgorithm
67{
68public:
70 void PrintSelf(ostream& os, vtkIndent indent) override;
71
75 static vtkStripper* New();
76
78
82 vtkSetClampMacro(MaximumLength, int, 4, 100000);
83 vtkGetMacro(MaximumLength, int);
85
87
91 vtkBooleanMacro(PassCellDataAsFieldData, vtkTypeBool);
92 vtkSetMacro(PassCellDataAsFieldData, vtkTypeBool);
93 vtkGetMacro(PassCellDataAsFieldData, vtkTypeBool);
95
97
103 vtkSetMacro(PassThroughCellIds, vtkTypeBool);
104 vtkGetMacro(PassThroughCellIds, vtkTypeBool);
105 vtkBooleanMacro(PassThroughCellIds, vtkTypeBool);
107
109
115 vtkSetMacro(PassThroughPointIds, vtkTypeBool);
116 vtkGetMacro(PassThroughPointIds, vtkTypeBool);
117 vtkBooleanMacro(PassThroughPointIds, vtkTypeBool);
119
121
126 vtkSetMacro(JoinContiguousSegments, vtkTypeBool);
127 vtkGetMacro(JoinContiguousSegments, vtkTypeBool);
128 vtkBooleanMacro(JoinContiguousSegments, vtkTypeBool);
130
131protected:
133 ~vtkStripper() override = default;
134
135 // Usual data generation method
137
143
144private:
145 vtkStripper(const vtkStripper&) = delete;
146 void operator=(const vtkStripper&) = delete;
147};
148
149#endif
a simple class to control print indentation
Definition vtkIndent.h:34
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:67
vtkTypeBool PassThroughPointIds
vtkTypeBool JoinContiguousSegments
~vtkStripper() override=default
static vtkStripper * New()
Construct object with MaximumLength set to 1000.
vtkTypeBool PassThroughCellIds
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
int vtkTypeBool
Definition vtkABI.h:69