VTK
9.1.0
Filters
Core
vtkTriangleFilter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: Visualization Toolkit
4
Module: vtkTriangleFilter.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
=========================================================================*/
134
#ifndef vtkTriangleFilter_h
135
#define vtkTriangleFilter_h
136
137
#include "vtkFiltersCoreModule.h"
// For export macro
138
#include "
vtkPolyDataAlgorithm.h
"
139
140
class
VTKFILTERSCORE_EXPORT
vtkTriangleFilter
:
public
vtkPolyDataAlgorithm
141
{
142
public
:
143
static
vtkTriangleFilter
*
New
();
144
vtkTypeMacro(
vtkTriangleFilter
,
vtkPolyDataAlgorithm
);
145
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
146
148
154
vtkBooleanMacro(PassVerts,
vtkTypeBool
);
155
vtkSetMacro(PassVerts,
vtkTypeBool
);
156
vtkGetMacro(PassVerts,
vtkTypeBool
);
158
160
166
vtkBooleanMacro(PassLines,
vtkTypeBool
);
167
vtkSetMacro(PassLines,
vtkTypeBool
);
168
vtkGetMacro(PassLines,
vtkTypeBool
);
170
171
protected
:
172
vtkTriangleFilter
()
173
: PassVerts(1)
174
, PassLines(1)
175
{
176
}
177
~vtkTriangleFilter
()
override
=
default
;
178
179
// Usual data generation method
180
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
181
182
vtkTypeBool
PassVerts
;
183
vtkTypeBool
PassLines
;
184
185
private
:
186
vtkTriangleFilter
(
const
vtkTriangleFilter
&) =
delete
;
187
void
operator=(
const
vtkTriangleFilter
&) =
delete
;
188
};
189
190
#endif
vtkTriangleFilter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTriangleFilter::~vtkTriangleFilter
~vtkTriangleFilter() override=default
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:145
vtkTriangleFilter::PassLines
vtkTypeBool PassLines
Definition:
vtkTriangleFilter.h:183
vtkPolyDataAlgorithm.h
vtkTriangleFilter::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkTriangleFilter::PassVerts
vtkTypeBool PassVerts
Definition:
vtkTriangleFilter.h:182
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:113
vtkTriangleFilter
convert input polygons and strips to triangles
Definition:
vtkTriangleFilter.h:141
vtkTriangleFilter::New
static vtkTriangleFilter * New()
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:183
vtkTypeBool
int vtkTypeBool
Definition:
vtkABI.h:69
vtkTriangleFilter::vtkTriangleFilter
vtkTriangleFilter()
Definition:
vtkTriangleFilter.h:172
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