VMTK
Loading...
Searching...
No Matches
vtkvmtkInternalTetrahedraExtractor.h
Go to the documentation of this file.
1/*=========================================================================
2
3Program: VMTK
4
5 Copyright (c) Luca Antiga, David Steinman. All rights reserved.
6 See LICENSE file for details.
7
8 Portions of this code are covered under the VTK copyright.
9 See VTKCopyright.txt or http://www.kitware.com/VTKCopyright.htm
10 for details.
11
12 This software is distributed WITHOUT ANY WARRANTY; without even
13 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
14 PURPOSE. See the above copyright notices for more information.
15
16=========================================================================*/
27
28#ifndef __vtkvmtkInternalTetrahedraExtractor_h
29#define __vtkvmtkInternalTetrahedraExtractor_h
30
31#include "vtkUnstructuredGridAlgorithm.h"
32#include "vtkPolyData.h"
33#include "vtkIdList.h"
34//#include "vtkvmtkComputationalGeometryWin32Header.h"
35#include "vtkvmtkWin32Header.h"
36
37class VTK_VMTK_COMPUTATIONAL_GEOMETRY_EXPORT vtkvmtkInternalTetrahedraExtractor : public vtkUnstructuredGridAlgorithm
38{
39 public:
40 vtkTypeMacro(vtkvmtkInternalTetrahedraExtractor,vtkUnstructuredGridAlgorithm);
41 void PrintSelf(std::ostream& os, vtkIndent indent) override;
42
44
46
49 vtkSetStringMacro(OutwardNormalsArrayName);
50 vtkGetStringMacro(OutwardNormalsArrayName);
52
54
57 vtkSetMacro(UseCaps,int);
58 vtkGetMacro(UseCaps,int);
59 vtkBooleanMacro(UseCaps,int);
61
63
66 vtkSetObjectMacro(CapCenterIds,vtkIdList);
67 vtkGetObjectMacro(CapCenterIds,vtkIdList);
69
71
75 vtkSetMacro(Tolerance,double);
76 vtkGetMacro(Tolerance,double);
78
80
85 vtkBooleanMacro(RemoveSubresolutionTetrahedra,int);
87
89
94 vtkSetMacro(SubresolutionFactor,double);
95 vtkGetMacro(SubresolutionFactor,double);
97
99
103 vtkSetObjectMacro(Surface,vtkPolyData);
104 vtkGetObjectMacro(Surface,vtkPolyData);
106
107 protected:
110
111 virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override;
112
114 vtkIdList* CapCenterIds;
116
117 double Tolerance;
118
120 vtkPolyData* Surface;
122
123 private:
125 void operator=(const vtkvmtkInternalTetrahedraExtractor&); // Not implemented.
126};
127
128#endif
void PrintSelf(std::ostream &os, vtkIndent indent) override
virtual int RequestData(vtkInformation *, vtkInformationVector **, vtkInformationVector *) override
static vtkvmtkInternalTetrahedraExtractor * New()