VMTK
Loading...
Searching...
No Matches
vtkvmtkTetGenWriter.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=========================================================================*/
26
27#ifndef __vtkvmtkTetGenWriter_h
28#define __vtkvmtkTetGenWriter_h
29
30#include "vtkvmtkWin32Header.h"
31#include "vtkUnstructuredGrid.h"
32#include "vtkUnstructuredGridWriter.h"
33
34class vtkCell;
35class vtkIdList;
36
37class VTK_VMTK_IO_EXPORT vtkvmtkTetGenWriter : public vtkUnstructuredGridWriter
38{
39public:
41 vtkTypeMacro(vtkvmtkTetGenWriter,vtkUnstructuredGridWriter);
42 void PrintSelf(std::ostream& os, vtkIndent indent) override;
43
45
52 vtkSetStringMacro(BoundaryDataArrayName);
53 vtkGetStringMacro(BoundaryDataArrayName);
55
56protected:
59
60 void ConvertFaceToLeftHanded(vtkUnstructuredGrid* input, vtkIdType tetraCellId, vtkIdType& id0, vtkIdType& id1, vtkIdType& id2);
61
62 void WriteData() override;
63
65
66private:
67 vtkvmtkTetGenWriter(const vtkvmtkTetGenWriter&); // Not implemented.
68 void operator=(const vtkvmtkTetGenWriter&); // Not implemented.
69};
70
71#endif
static vtkvmtkTetGenWriter * New()
void PrintSelf(std::ostream &os, vtkIndent indent) override
void ConvertFaceToLeftHanded(vtkUnstructuredGrid *input, vtkIdType tetraCellId, vtkIdType &id0, vtkIdType &id1, vtkIdType &id2)