VMTK
Loading...
Searching...
No Matches
vtkvmtkXdaWriter.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 __vtkvmtkXdaWriter_h
28#define __vtkvmtkXdaWriter_h
29
30#include "vtkvmtkWin32Header.h"
31#include "vtkUnstructuredGridWriter.h"
32
33class vtkCell;
34class vtkIdList;
35
36class VTK_VMTK_IO_EXPORT vtkvmtkXdaWriter : public vtkUnstructuredGridWriter
37{
38public:
40 vtkTypeMacro(vtkvmtkXdaWriter,vtkUnstructuredGridWriter);
41 void PrintSelf(std::ostream& os, vtkIndent indent) override;
42
44
51 vtkSetStringMacro(BoundaryDataArrayName);
52 vtkGetStringMacro(BoundaryDataArrayName);
54
55protected:
58
59 void WriteData() override;
60
61 static void GetLibmeshConnectivity(int cellType, vtkIdList* libmeshConnectivity);
62 static void GetLibmeshFaceOrder(int cellType, vtkIdList* libmeshFaceOrder);
63
65
66private:
67 vtkvmtkXdaWriter(const vtkvmtkXdaWriter&); // Not implemented.
68 void operator=(const vtkvmtkXdaWriter&); // Not implemented.
69};
70
71#endif
void PrintSelf(std::ostream &os, vtkIndent indent) override
static vtkvmtkXdaWriter * New()
static void GetLibmeshFaceOrder(int cellType, vtkIdList *libmeshFaceOrder)
static void GetLibmeshConnectivity(int cellType, vtkIdList *libmeshConnectivity)
void WriteData() override