VAPOR3 3.9.4
Public Member Functions | List of all members
VAPoR::GeoTIFWriter Class Reference

Writes a TIF image with GeoTIF metadata. More...

#include <GeoTIFWriter.h>

Inheritance diagram for VAPoR::GeoTIFWriter:
VAPoR::TIFWriter VAPoR::ImageWriter Wasp::MyBase

Public Member Functions

 GeoTIFWriter (const std::string &path)
 
 ~GeoTIFWriter ()
 
int Write (const unsigned char *buffer, const unsigned int width, const unsigned int height)
 
int ConfigureFromProj4 (const std::string proj4String)
 
void SetTiePoint (double worldX, double worldY, double rasterX=0, double rasterY=0)
 
void SetPixelScale (double x, double y)
 
- Public Member Functions inherited from VAPoR::TIFWriter
 TIFWriter (const std::string &path)
 
virtual ~TIFWriter ()
 
virtual int Write (const unsigned char *buffer, const unsigned int width, const unsigned int height)
 
- Public Member Functions inherited from VAPoR::ImageWriter
virtual int Write (const unsigned char *buffer, const unsigned int width, const unsigned int height)=0
 
virtual ~ImageWriter ()
 
- Public Member Functions inherited from Wasp::MyBase
 MyBase ()
 
const string & getClassName () const
 

Additional Inherited Members

- Public Types inherited from VAPoR::ImageWriter
enum class  Format { RGB }
 
- Public Types inherited from Wasp::MyBase
typedef void(* ErrMsgCB_T) (const char *msg, int err_code)
 
typedef void(* DiagMsgCB_T) (const char *msg)
 
- Static Public Member Functions inherited from VAPoR::TIFWriter
static std::vector< std::string > GetFileExtensions ()
 
- Static Public Member Functions inherited from VAPoR::ImageWriter
static ImageWriterCreateImageWriterForFile (const std::string &path)
 
static void RegisterFactory (ImageWriterFactory *factory)
 
- Static Public Member Functions inherited from Wasp::MyBase
static void SetErrMsg (const char *format,...)
 Record a formatted error message.
 
static void SetErrMsg (int errcode, const char *format,...)
 Record a formatted error message and an error code.
 
static const char * GetErrMsg ()
 
static void SetErrCode (int err_code)
 Record an error code.
 
static int GetErrCode ()
 Retrieve the current error code.
 
static void SetErrMsgCB (ErrMsgCB_T cb)
 
static ErrMsgCB_T GetErrMsgCB ()
 
static void SetErrMsgFilePtr (FILE *fp)
 
static const FILE * SetErrMsgFilePtr ()
 
static void SetDiagMsg (const char *format,...)
 Record a formatted diagnostic message.
 
static const char * GetDiagMsg ()
 
static void SetDiagMsgCB (DiagMsgCB_T cb)
 
static DiagMsgCB_T GetDiagMsgCB ()
 
static void SetDiagMsgFilePtr (FILE *fp)
 
static bool EnableErrMsg (bool enable)
 
static bool GetEnableErrMsg ()
 
- Static Public Attributes inherited from Wasp::MyBase
static char * ErrMsg
 
static int ErrCode
 
static int ErrMsgSize
 
static FILE * ErrMsgFilePtr
 
static ErrMsgCB_T ErrMsgCB
 
static char * DiagMsg
 
static int DiagMsgSize
 
static FILE * DiagMsgFilePtr
 
static DiagMsgCB_T DiagMsgCB
 
static bool Enabled
 
- Protected Member Functions inherited from VAPoR::TIFWriter
int ConfigureWithFormat (Format f)
 
- Protected Member Functions inherited from VAPoR::ImageWriter
 ImageWriter (const std::string &path)
 
- Protected Member Functions inherited from Wasp::MyBase
void SetClassName (const string &name)
 
- Protected Attributes inherited from VAPoR::TIFWriter
TIFF * tif
 
- Protected Attributes inherited from VAPoR::ImageWriter
Format format
 
std::string path
 
bool opened
 

Detailed Description

Writes a TIF image with GeoTIF metadata.

Author
Stanislaw Jaroszynski

Definition at line 17 of file GeoTIFWriter.h.

Constructor & Destructor Documentation

◆ GeoTIFWriter()

VAPoR::GeoTIFWriter::GeoTIFWriter ( const std::string &  path)

◆ ~GeoTIFWriter()

VAPoR::GeoTIFWriter::~GeoTIFWriter ( )

Member Function Documentation

◆ ConfigureFromProj4()

int VAPoR::GeoTIFWriter::ConfigureFromProj4 ( const std::string  proj4String)

◆ SetPixelScale()

void VAPoR::GeoTIFWriter::SetPixelScale ( double  x,
double  y 
)

◆ SetTiePoint()

void VAPoR::GeoTIFWriter::SetTiePoint ( double  worldX,
double  worldY,
double  rasterX = 0,
double  rasterY = 0 
)

◆ Write()

int VAPoR::GeoTIFWriter::Write ( const unsigned char *  buffer,
const unsigned int  width,
const unsigned int  height 
)
virtual

Reimplemented from VAPoR::TIFWriter.


The documentation for this class was generated from the following file: