VAPOR3
3.9.4
include
vapor
PNGWriter.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
vapor/ImageWriter.h
"
4
5
namespace
VAPoR
{
6
class
RENDER_API
PNGWriter
:
public
ImageWriter
{
7
protected
:
8
public
:
9
PNGWriter
(
const
string
&path);
10
~PNGWriter
(){};
11
12
static
std::vector<std::string>
GetFileExtensions
();
13
int
Write
(
const
unsigned
char
*buffer,
const
unsigned
int
width,
const
unsigned
int
height);
14
};
15
}
// namespace VAPoR
ImageWriter.h
VAPoR::ImageWriter
Interface for image writers.
Definition:
ImageWriter.h:15
VAPoR::PNGWriter
Definition:
PNGWriter.h:6
VAPoR::PNGWriter::GetFileExtensions
static std::vector< std::string > GetFileExtensions()
VAPoR::PNGWriter::Write
int Write(const unsigned char *buffer, const unsigned int width, const unsigned int height)
VAPoR::PNGWriter::~PNGWriter
~PNGWriter()
Definition:
PNGWriter.h:10
VAPoR::PNGWriter::PNGWriter
PNGWriter(const string &path)
RENDER_API
#define RENDER_API
Definition:
common.h:78
VAPoR
Definition:
AnnotationParams.h:33
Generated by
1.9.6