VMTK
Loading...
Searching...
No Matches
IO
vtkvmtkPNGWriter.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: 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
32
class
VTK_VMTK_IO_EXPORT
vtkvmtkPNGWriter
:
public
vtkPNGWriter
33
{
34
public
:
35
static
vtkvmtkPNGWriter
*
New
();
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
78
protected
:
79
vtkvmtkPNGWriter
();
80
~vtkvmtkPNGWriter
();
81
82
char
*
Base64Image
;
83
int
WriteToBase64
;
84
int
FlipImage
;
85
86
private
:
87
vtkvmtkPNGWriter
(
const
vtkvmtkPNGWriter
&);
// Not implemented.
88
void
operator=(
const
vtkvmtkPNGWriter
&);
// Not implemented.
89
};
90
91
#endif
vtkvmtkPNGWriter::Base64Image
char * Base64Image
Definition
vtkvmtkPNGWriter.h:82
vtkvmtkPNGWriter::WriteToBase64
int WriteToBase64
Definition
vtkvmtkPNGWriter.h:83
vtkvmtkPNGWriter::Write
virtual void Write() override
Definition
vtkvmtkPNGWriter.cxx:106
vtkvmtkPNGWriter::New
static vtkvmtkPNGWriter * New()
vtkvmtkPNGWriter::vtkvmtkPNGWriter
vtkvmtkPNGWriter()
Definition
vtkvmtkPNGWriter.cxx:90
vtkvmtkPNGWriter::FlipImage
int FlipImage
Definition
vtkvmtkPNGWriter.h:84
vtkvmtkPNGWriter::PrintSelf
void PrintSelf(std::ostream &os, vtkIndent indent) override
Definition
vtkvmtkPNGWriter.cxx:233
Generated by
1.15.0