VTK
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 =========================================================================*/
39 #ifndef vtkDataSetTriangleFilter_h
40 #define vtkDataSetTriangleFilter_h
41 
42 #include "vtkFiltersGeneralModule.h" // For export macro
44 
46 
48 {
49 public:
52  void PrintSelf(ostream& os, vtkIndent indent);
53 
55 
57  vtkSetMacro(TetrahedraOnly, int);
58  vtkGetMacro(TetrahedraOnly, int);
59  vtkBooleanMacro(TetrahedraOnly, int);
61 
62 protected:
65 
66  // Usual data generation method
68 
70 
71  // Used to triangulate 3D cells
73 
74  // Different execute methods depending on whether input is structured or not
77 
79 
80 private:
81  vtkDataSetTriangleFilter(const vtkDataSetTriangleFilter&); // Not implemented.
82  void operator=(const vtkDataSetTriangleFilter&); // Not implemented.
83 };
84 
85 #endif
86 
87 
vtkDataSetTriangleFilter::Triangulator
vtkOrderedTriangulator * Triangulator
Definition: vtkDataSetTriangleFilter.h:72
vtkInformationVector
Store zero or more vtkInformation instances.
Definition: vtkInformationVector.h:41
vtkDataSetTriangleFilter
triangulate any type of dataset
Definition: vtkDataSetTriangleFilter.h:48
vtkTypeMacro
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:642
vtkDataSetTriangleFilter::UnstructuredExecute
void UnstructuredExecute(vtkDataSet *, vtkUnstructuredGrid *)
vtkOrderedTriangulator
helper class to generate triangulations
Definition: vtkOrderedTriangulator.h:117
vtkDataSetTriangleFilter::~vtkDataSetTriangleFilter
~vtkDataSetTriangleFilter()
vtkX3D::port
@ port
Definition: vtkX3D.h:447
vtkDataSetTriangleFilter::PrintSelf
void PrintSelf(ostream &os, vtkIndent indent)
vtkFiltersGeneralModule.h
vtkDataSetTriangleFilter::FillInputPortInformation
virtual int FillInputPortInformation(int port, vtkInformation *info)
vtkDataSetTriangleFilter::vtkDataSetTriangleFilter
vtkDataSetTriangleFilter()
vtkIndent
a simple class to control print indentation
Definition: vtkIndent.h:39
VTKFILTERSGENERAL_EXPORT
#define VTKFILTERSGENERAL_EXPORT
Definition: vtkFiltersGeneralModule.h:15
vtkGetMacro
#define vtkGetMacro(name, type)
Definition: vtkSetGet.h:93
vtkDataSetTriangleFilter::RequestData
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *)
vtkDataSet
abstract class to specify dataset behavior
Definition: vtkDataSet.h:62
vtkBooleanMacro
vtkBooleanMacro(IgnoreDriverBugs, bool)
vtkInformation
Store vtkAlgorithm input/output information.
Definition: vtkInformation.h:86
vtkSetMacro
vtkSetMacro(IgnoreDriverBugs, bool)
vtkX3D::info
@ info
Definition: vtkX3D.h:376
vtkDataSetTriangleFilter::TetrahedraOnly
int TetrahedraOnly
Definition: vtkDataSetTriangleFilter.h:78
vtkUnstructuredGridAlgorithm.h
vtkUnstructuredGridAlgorithm
Superclass for algorithms that produce only unstructured grid as output.
Definition: vtkUnstructuredGridAlgorithm.h:40
vtkUnstructuredGrid
dataset represents arbitrary combinations of all possible cell types
Definition: vtkUnstructuredGrid.h:82
vtkDataSetTriangleFilter::StructuredExecute
void StructuredExecute(vtkDataSet *, vtkUnstructuredGrid *)
vtkDataSetTriangleFilter::New
static vtkDataSetTriangleFilter * New()