VTK
dox
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
=========================================================================*/
63
#ifndef vtkStripper_h
64
#define vtkStripper_h
65
66
#include "vtkFiltersCoreModule.h"
// For export macro
67
#include "
vtkPolyDataAlgorithm.h
"
68
69
class
VTKFILTERSCORE_EXPORT
vtkStripper
:
public
vtkPolyDataAlgorithm
70
{
71
public
:
72
vtkTypeMacro(
vtkStripper
,
vtkPolyDataAlgorithm
);
73
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
74
78
static
vtkStripper
*
New
();
79
81
85
vtkSetClampMacro(MaximumLength,
int
,4,100000);
86
vtkGetMacro(MaximumLength,
int
);
88
90
94
vtkBooleanMacro(PassCellDataAsFieldData,
vtkTypeBool
);
95
vtkSetMacro(PassCellDataAsFieldData,
vtkTypeBool
);
96
vtkGetMacro(PassCellDataAsFieldData,
vtkTypeBool
);
98
100
106
vtkSetMacro(PassThroughCellIds,
vtkTypeBool
);
107
vtkGetMacro(PassThroughCellIds,
vtkTypeBool
);
108
vtkBooleanMacro(PassThroughCellIds,
vtkTypeBool
);
110
112
118
vtkSetMacro(PassThroughPointIds,
vtkTypeBool
);
119
vtkGetMacro(PassThroughPointIds,
vtkTypeBool
);
120
vtkBooleanMacro(PassThroughPointIds,
vtkTypeBool
);
122
124
129
vtkSetMacro(JoinContiguousSegments,
vtkTypeBool
);
130
vtkGetMacro(JoinContiguousSegments,
vtkTypeBool
);
131
vtkBooleanMacro(JoinContiguousSegments,
vtkTypeBool
);
133
134
protected
:
135
vtkStripper
();
136
~vtkStripper
()
override
{}
137
138
// Usual data generation method
139
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
140
141
int
MaximumLength
;
142
vtkTypeBool
PassCellDataAsFieldData
;
143
vtkTypeBool
PassThroughCellIds
;
144
vtkTypeBool
PassThroughPointIds
;
145
vtkTypeBool
JoinContiguousSegments
;
146
147
private
:
148
vtkStripper
(
const
vtkStripper
&) =
delete
;
149
void
operator=(
const
vtkStripper
&) =
delete
;
150
};
151
152
#endif
vtkStripper::JoinContiguousSegments
vtkTypeBool JoinContiguousSegments
Definition:
vtkStripper.h:145
vtkStripper::MaximumLength
int MaximumLength
Definition:
vtkStripper.h:141
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:41
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:144
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:39
vtkStripper
create triangle strips and/or poly-lines
Definition:
vtkStripper.h:69
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:86
vtkStripper::PassCellDataAsFieldData
vtkTypeBool PassCellDataAsFieldData
Definition:
vtkStripper.h:142
vtkTypeBool
int vtkTypeBool
Definition:
vtkABI.h:69
vtkStripper::~vtkStripper
~vtkStripper() override
Definition:
vtkStripper.h:136
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
vtkStripper::PassThroughCellIds
vtkTypeBool PassThroughCellIds
Definition:
vtkStripper.h:143
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition:
vtkPolyDataAlgorithm.h:44
Generated by
1.8.16