VAPOR3
3.9.4
include
vapor
TIFWriter.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
vapor/ImageWriter.h
"
4
#ifdef WIN32
5
#include <tiff/tiffio.h>
6
#else
7
#include <xtiffio.h>
8
#endif
9
10
namespace
VAPoR
{
15
class
RENDER_API
TIFWriter
:
public
ImageWriter
{
16
protected
:
17
TIFF *
tif
;
18
19
int
ConfigureWithFormat
(
Format
f);
20
21
public
:
22
static
std::vector<std::string>
GetFileExtensions
();
23
24
TIFWriter
(
const
std::string &path);
25
virtual
~TIFWriter
();
26
27
virtual
int
Write
(
const
unsigned
char
*buffer,
const
unsigned
int
width,
const
unsigned
int
height);
28
};
29
}
// namespace VAPoR
ImageWriter.h
VAPoR::ImageWriter
Interface for image writers.
Definition:
ImageWriter.h:15
VAPoR::ImageWriter::Format
Format
Definition:
ImageWriter.h:17
VAPoR::TIFWriter
Writes TIF image files.
Definition:
TIFWriter.h:15
VAPoR::TIFWriter::ConfigureWithFormat
int ConfigureWithFormat(Format f)
VAPoR::TIFWriter::Write
virtual int Write(const unsigned char *buffer, const unsigned int width, const unsigned int height)
VAPoR::TIFWriter::tif
TIFF * tif
Definition:
TIFWriter.h:17
VAPoR::TIFWriter::~TIFWriter
virtual ~TIFWriter()
VAPoR::TIFWriter::GetFileExtensions
static std::vector< std::string > GetFileExtensions()
VAPoR::TIFWriter::TIFWriter
TIFWriter(const std::string &path)
RENDER_API
#define RENDER_API
Definition:
common.h:78
VAPoR
Definition:
AnnotationParams.h:33
Generated by
1.9.6