VTK
9.0.1
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
=========================================================================*/
25
#ifndef vtkTriangleFilter_h
26
#define vtkTriangleFilter_h
27
28
#include "vtkFiltersCoreModule.h"
// For export macro
29
#include "
vtkPolyDataAlgorithm.h
"
30
31
class
VTKFILTERSCORE_EXPORT
vtkTriangleFilter
:
public
vtkPolyDataAlgorithm
32
{
33
public
:
34
static
vtkTriangleFilter
*
New
();
35
vtkTypeMacro(
vtkTriangleFilter
,
vtkPolyDataAlgorithm
);
36
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
37
39
45
vtkBooleanMacro(PassVerts,
vtkTypeBool
);
46
vtkSetMacro(PassVerts,
vtkTypeBool
);
47
vtkGetMacro(PassVerts,
vtkTypeBool
);
49
51
57
vtkBooleanMacro(PassLines,
vtkTypeBool
);
58
vtkSetMacro(PassLines,
vtkTypeBool
);
59
vtkGetMacro(PassLines,
vtkTypeBool
);
61
62
protected
:
63
vtkTriangleFilter
()
64
: PassVerts(1)
65
, PassLines(1)
66
{
67
}
68
~vtkTriangleFilter
()
override
{}
69
70
// Usual data generation method
71
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
72
73
vtkTypeBool
PassVerts
;
74
vtkTypeBool
PassLines
;
75
76
private
:
77
vtkTriangleFilter
(
const
vtkTriangleFilter
&) =
delete
;
78
void
operator=(
const
vtkTriangleFilter
&) =
delete
;
79
};
80
81
#endif
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:35
vtkTriangleFilter::PassLines
vtkTypeBool PassLines
Definition:
vtkTriangleFilter.h:74
vtkPolyDataAlgorithm::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkTriangleFilter::~vtkTriangleFilter
~vtkTriangleFilter() override
Definition:
vtkTriangleFilter.h:68
vtkPolyDataAlgorithm.h
vtkPolyDataAlgorithm::RequestData
virtual int RequestData(vtkInformation *request, vtkInformationVector **inputVector, vtkInformationVector *outputVector)
This is called by the superclass.
vtkTriangleFilter::PassVerts
vtkTypeBool PassVerts
Definition:
vtkTriangleFilter.h:73
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:33
vtkTriangleFilter
convert input polygons and strips to triangles
Definition:
vtkTriangleFilter.h:31
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:73
vtkTypeBool
int vtkTypeBool
Definition:
vtkABI.h:69
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
vtkTriangleFilter::vtkTriangleFilter
vtkTriangleFilter()
Definition:
vtkTriangleFilter.h:63
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