VTK
9.1.0
Filters
Core
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
172
class
VTKFILTERSCORE_EXPORT
vtkStripper
:
public
vtkPolyDataAlgorithm
173
{
174
public
:
175
vtkTypeMacro(
vtkStripper
,
vtkPolyDataAlgorithm
);
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
237
protected
:
238
vtkStripper
();
239
~vtkStripper
()
override
=
default
;
240
241
// Usual data generation method
242
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
243
244
int
MaximumLength
;
245
vtkTypeBool
PassCellDataAsFieldData
;
246
vtkTypeBool
PassThroughCellIds
;
247
vtkTypeBool
PassThroughPointIds
;
248
vtkTypeBool
JoinContiguousSegments
;
249
250
private
:
251
vtkStripper
(
const
vtkStripper
&) =
delete
;
252
void
operator=(
const
vtkStripper
&) =
delete
;
253
};
254
255
#endif
vtkStripper::JoinContiguousSegments
vtkTypeBool JoinContiguousSegments
Definition:
vtkStripper.h:248
vtkStripper::MaximumLength
int MaximumLength
Definition:
vtkStripper.h:244
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:145
vtkStripper::vtkStripper
vtkStripper()
vtkStripper::PassThroughPointIds
vtkTypeBool PassThroughPointIds
Definition:
vtkStripper.h:247
vtkPolyDataAlgorithm.h
vtkStripper::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:113
vtkStripper::New
static vtkStripper * New()
Construct object with MaximumLength set to 1000.
vtkStripper
create triangle strips and/or poly-lines
Definition:
vtkStripper.h:173
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:183
vtkStripper::PassCellDataAsFieldData
vtkTypeBool PassCellDataAsFieldData
Definition:
vtkStripper.h:245
vtkStripper::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkStripper::~vtkStripper
~vtkStripper() override=default
vtkTypeBool
int vtkTypeBool
Definition:
vtkABI.h:69
vtkStripper::PassThroughCellIds
vtkTypeBool PassThroughCellIds
Definition:
vtkStripper.h:246
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition:
vtkPolyDataAlgorithm.h:151
Generated on Fri Nov 5 2021 00:11:04 for VTK by
1.8.20