VMTK
Loading...
Searching...
No Matches
vtkvmtkPNGWriter.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=========================================================================*/
25
26#ifndef __vtkvmtkPNGWriter_h
27#define __vtkvmtkPNGWriter_h
28
29#include "vtkvmtkWin32Header.h"
30#include "vtkPNGWriter.h"
31
32class VTK_VMTK_IO_EXPORT vtkvmtkPNGWriter : public vtkPNGWriter
33{
34public:
36 vtkTypeMacro(vtkvmtkPNGWriter,vtkPNGWriter);
37 void PrintSelf(std::ostream& os, vtkIndent indent) override;
38
40
45 vtkGetStringMacro(Base64Image);
46 vtkSetStringMacro(Base64Image);
48
50
55 vtkSetMacro(WriteToBase64,int);
56 vtkGetMacro(WriteToBase64,int);
57 vtkBooleanMacro(WriteToBase64,int);
59
61
65 vtkSetMacro(FlipImage,int);
66 vtkGetMacro(FlipImage,int);
67 vtkBooleanMacro(FlipImage,int);
69
76 virtual void Write() override;
77
78protected:
81
85
86private:
87 vtkvmtkPNGWriter(const vtkvmtkPNGWriter&); // Not implemented.
88 void operator=(const vtkvmtkPNGWriter&); // Not implemented.
89};
90
91#endif
virtual void Write() override
static vtkvmtkPNGWriter * New()
void PrintSelf(std::ostream &os, vtkIndent indent) override