VTK
dox
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
=========================================================================*/
31
#ifndef vtkTriangleFilter_h
32
#define vtkTriangleFilter_h
33
34
#include "vtkFiltersCoreModule.h"
// For export macro
35
#include "
vtkPolyDataAlgorithm.h
"
36
37
class
VTKFILTERSCORE_EXPORT
vtkTriangleFilter
:
public
vtkPolyDataAlgorithm
38
{
39
public
:
40
static
vtkTriangleFilter
*
New
();
41
vtkTypeMacro(
vtkTriangleFilter
,
vtkPolyDataAlgorithm
);
42
void
PrintSelf
(ostream& os,
vtkIndent
indent)
override
;
43
45
51
vtkBooleanMacro(PassVerts,
vtkTypeBool
);
52
vtkSetMacro(PassVerts,
vtkTypeBool
);
53
vtkGetMacro(PassVerts,
vtkTypeBool
);
55
57
63
vtkBooleanMacro(PassLines,
vtkTypeBool
);
64
vtkSetMacro(PassLines,
vtkTypeBool
);
65
vtkGetMacro(PassLines,
vtkTypeBool
);
67
68
protected
:
69
vtkTriangleFilter
() : PassVerts(1), PassLines(1) {}
70
~vtkTriangleFilter
()
override
{}
71
72
// Usual data generation method
73
int
RequestData
(
vtkInformation
*,
vtkInformationVector
**,
vtkInformationVector
*)
override
;
74
75
vtkTypeBool
PassVerts
;
76
vtkTypeBool
PassLines
;
77
private
:
78
vtkTriangleFilter
(
const
vtkTriangleFilter
&) =
delete
;
79
void
operator=(
const
vtkTriangleFilter
&) =
delete
;
80
};
81
82
#endif
vtkInformationVector
Store zero or more vtkInformation instances.
Definition:
vtkInformationVector.h:41
vtkTriangleFilter::PassLines
vtkTypeBool PassLines
Definition:
vtkTriangleFilter.h:76
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:70
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:75
vtkIndent
a simple class to control print indentation
Definition:
vtkIndent.h:39
vtkTriangleFilter
convert input polygons and strips to triangles
Definition:
vtkTriangleFilter.h:37
vtkInformation
Store vtkAlgorithm input/output information.
Definition:
vtkInformation.h:86
vtkTypeBool
int vtkTypeBool
Definition:
vtkABI.h:69
vtkPolyDataAlgorithm::New
static vtkPolyDataAlgorithm * New()
vtkTriangleFilter::vtkTriangleFilter
vtkTriangleFilter()
Definition:
vtkTriangleFilter.h:69
vtkPolyDataAlgorithm
Superclass for algorithms that produce only polydata as output.
Definition:
vtkPolyDataAlgorithm.h:44
Generated by
1.8.16