VTK
9.0.1
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
=========================================================================*/
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
:
66
vtkTypeMacro(
vtkStripper
,
vtkPolyDataAlgorithm
);
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
133
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
134
135
int
MaximumLength
;
136
vtkTypeBool
PassCellDataAsFieldData
;
137
vtkTypeBool
PassThroughCellIds
;
138
vtkTypeBool
PassThroughPointIds
;
139
vtkTypeBool
JoinContiguousSegments
;
140
141
private
:
142
vtkStripper
(
const
vtkStripper
&) =
delete
;
143
void
operator=(
const
vtkStripper
&) =
delete
;
144
};
145
146
#endif
vtkStripper::JoinContiguousSegments
vtkTypeBool JoinContiguousSegments
Definition:
vtkStripper.h:139
vtkStripper::MaximumLength
int MaximumLength
Definition:
vtkStripper.h:135
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:35
vtkPolyDataAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkStripper::PassThroughPointIds
vtkTypeBool PassThroughPointIds
Definition:
vtkStripper.h:138
vtkPolyDataAlgorithm.h
vtkPolyDataAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkStripper
create triangle strips and/or poly-lines
Definition:
vtkStripper.h:63
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:73
vtkStripper::PassCellDataAsFieldData
vtkTypeBool PassCellDataAsFieldData
Definition:
vtkStripper.h:136
vtkTypeBool
int vtkTypeBool
Definition:
vtkABI.h:69
vtkStripper::~vtkStripper
~vtkStripper() override
Definition:
vtkStripper.h:130
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
vtkStripper::PassThroughCellIds
vtkTypeBool PassThroughCellIds
Definition:
vtkStripper.h:137
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition:
vtkPolyDataAlgorithm.h:41
Generated on Thu Jun 25 2020 08:30:37 for VTK by
1.8.17