VTK  9.1.0
vtkDataSetTriangleFilter.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkDataSetTriangleFilter.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 vtkDataSetTriangleFilter_h
64 #define vtkDataSetTriangleFilter_h
65 
66 #include "vtkFiltersGeneralModule.h" // For export macro
68 
70 
71 class VTKFILTERSGENERAL_EXPORT vtkDataSetTriangleFilter : public vtkUnstructuredGridAlgorithm
72 {
73 public:
76  void PrintSelf(ostream& os, vtkIndent indent) override;
77 
79 
83  vtkSetMacro(TetrahedraOnly, vtkTypeBool);
84  vtkGetMacro(TetrahedraOnly, vtkTypeBool);
85  vtkBooleanMacro(TetrahedraOnly, vtkTypeBool);
87 
88 protected:
91 
92  // Usual data generation method
94 
96 
97  // Used to triangulate 3D cells
99 
100  // Different execute methods depending on whether input is structured or not
103 
105 
106 private:
108  void operator=(const vtkDataSetTriangleFilter&) = delete;
109 };
110 
111 #endif
vtkDataSetTriangleFilter::Triangulator
vtkOrderedTriangulator * Triangulator
Definition: vtkDataSetTriangleFilter.h:98
vtkDataSetTriangleFilter::FillInputPortInformation
int FillInputPortInformation(int port, vtkInformation *info) override
Fill the input port information objects for this algorithm.
vtkDataSetTriangleFilter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:145
vtkDataSetTriangleFilter
triangulate any type of dataset
Definition: vtkDataSetTriangleFilter.h:72
vtkDataSetTriangleFilter::RequestData
int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
This is called by the superclass.
vtkDataSetTriangleFilter::UnstructuredExecute
void UnstructuredExecute(vtkDataSet *, vtkUnstructuredGrid *)
vtkOrderedTriangulator
helper class to generate triangulations
Definition: vtkOrderedTriangulator.h:115
vtkX3D::port
@ port
Definition: vtkX3D.h:453
vtkDataSetTriangleFilter::vtkDataSetTriangleFilter
vtkDataSetTriangleFilter()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:113
vtkDataSetTriangleFilter::~vtkDataSetTriangleFilter
~vtkDataSetTriangleFilter() override
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:166
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:183
vtkX3D::info
@ info
Definition: vtkX3D.h:382
vtkDataSetTriangleFilter::TetrahedraOnly
vtkTypeBool TetrahedraOnly
Definition: vtkDataSetTriangleFilter.h:104
vtkUnstructuredGridAlgorithm.h
vtkUnstructuredGridAlgorithm
Superclass for algorithms that produce only unstructured grid as output.
Definition: vtkUnstructuredGridAlgorithm.h:41
vtkUnstructuredGrid
dataset represents arbitrary combinations of all possible cell types
Definition: vtkUnstructuredGrid.h:204
vtkTypeBool
int vtkTypeBool
Definition: vtkABI.h:69
vtkDataSetTriangleFilter::StructuredExecute
void StructuredExecute(vtkDataSet *, vtkUnstructuredGrid *)
vtkDataSetTriangleFilter::New
static vtkDataSetTriangleFilter * New()