VMTK
Loading...
Searching...
No Matches
vtkvmtkDolfinWriter.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=========================================================================*/
33
34#ifndef __vtkvmtkDolfinWriter_h
35#define __vtkvmtkDolfinWriter_h
36
37#include "vtkvmtkWin32Header.h"
38#include "vtkUnstructuredGridWriter.h"
39
40class vtkCell;
41class vtkIdList;
42
43class VTK_VMTK_IO_EXPORT vtkvmtkDolfinWriter : public vtkUnstructuredGridWriter
44{
45public:
47 vtkTypeMacro(vtkvmtkDolfinWriter,vtkUnstructuredGridWriter);
48 void PrintSelf(std::ostream& os, vtkIndent indent) override;
49
51
59 vtkSetStringMacro(BoundaryDataArrayName);
60 vtkGetStringMacro(BoundaryDataArrayName);
62
64
68 vtkSetMacro(BoundaryDataIdOffset,int);
69 vtkGetMacro(BoundaryDataIdOffset,int);
71
73
78 vtkSetMacro(StoreCellMarkers,int);
79 vtkGetMacro(StoreCellMarkers,int);
81
82protected:
85
86 void WriteData() override;
87
91
92private:
93 vtkvmtkDolfinWriter(const vtkvmtkDolfinWriter&); // Not implemented.
94 void operator=(const vtkvmtkDolfinWriter&); // Not implemented.
95};
96
97#endif
void PrintSelf(std::ostream &os, vtkIndent indent) override
static vtkvmtkDolfinWriter * New()