HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RgbaOutputFile Class Reference

#include <ImfRgbaFile.h>

Public Member Functions

 RgbaOutputFile (const char name[], const Header &header, RgbaChannels rgbaChannels=WRITE_RGBA, int numThreads=globalThreadCount())
 
 RgbaOutputFile (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &os, const Header &header, RgbaChannels rgbaChannels=WRITE_RGBA, int numThreads=globalThreadCount())
 
 RgbaOutputFile (const char name[], const IMATH_NAMESPACE::Box2i &displayWindow, const IMATH_NAMESPACE::Box2i &dataWindow=IMATH_NAMESPACE::Box2i(), RgbaChannels rgbaChannels=WRITE_RGBA, float pixelAspectRatio=1, const IMATH_NAMESPACE::V2f screenWindowCenter=IMATH_NAMESPACE::V2f(0, 0), float screenWindowWidth=1, LineOrder lineOrder=INCREASING_Y, Compression compression=PIZ_COMPRESSION, int numThreads=globalThreadCount())
 
 RgbaOutputFile (const char name[], int width, int height, RgbaChannels rgbaChannels=WRITE_RGBA, float pixelAspectRatio=1, const IMATH_NAMESPACE::V2f screenWindowCenter=IMATH_NAMESPACE::V2f(0, 0), float screenWindowWidth=1, LineOrder lineOrder=INCREASING_Y, Compression compression=PIZ_COMPRESSION, int numThreads=globalThreadCount())
 
virtual ~RgbaOutputFile ()
 
void setFrameBuffer (const Rgba *base, size_t xStride, size_t yStride)
 
void writePixels (int numScanLines=1)
 
int currentScanLine () const
 
const Headerheader () const
 
const FrameBufferframeBuffer () const
 
const IMATH_NAMESPACE::Box2idisplayWindow () const
 
const IMATH_NAMESPACE::Box2idataWindow () const
 
float pixelAspectRatio () const
 
const IMATH_NAMESPACE::V2f screenWindowCenter () const
 
float screenWindowWidth () const
 
LineOrder lineOrder () const
 
Compression compression () const
 
RgbaChannels channels () const
 
void updatePreviewImage (const PreviewRgba[])
 
void setYCRounding (unsigned int roundY, unsigned int roundC)
 
void breakScanLine (int y, int offset, int length, char c)
 

Detailed Description

Definition at line 68 of file ImfRgbaFile.h.

Constructor & Destructor Documentation

RgbaOutputFile::RgbaOutputFile ( const char  name[],
const Header header,
RgbaChannels  rgbaChannels = WRITE_RGBA,
int  numThreads = globalThreadCount() 
)
RgbaOutputFile::RgbaOutputFile ( OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &  os,
const Header header,
RgbaChannels  rgbaChannels = WRITE_RGBA,
int  numThreads = globalThreadCount() 
)
RgbaOutputFile::RgbaOutputFile ( const char  name[],
const IMATH_NAMESPACE::Box2i displayWindow,
const IMATH_NAMESPACE::Box2i dataWindow = IMATH_NAMESPACE::Box2i(),
RgbaChannels  rgbaChannels = WRITE_RGBA,
float  pixelAspectRatio = 1,
const IMATH_NAMESPACE::V2f  screenWindowCenter = IMATH_NAMESPACE::V2f(0, 0),
float  screenWindowWidth = 1,
LineOrder  lineOrder = INCREASING_Y,
Compression  compression = PIZ_COMPRESSION,
int  numThreads = globalThreadCount() 
)
RgbaOutputFile::RgbaOutputFile ( const char  name[],
int  width,
int  height,
RgbaChannels  rgbaChannels = WRITE_RGBA,
float  pixelAspectRatio = 1,
const IMATH_NAMESPACE::V2f  screenWindowCenter = IMATH_NAMESPACE::V2f(0, 0),
float  screenWindowWidth = 1,
LineOrder  lineOrder = INCREASING_Y,
Compression  compression = PIZ_COMPRESSION,
int  numThreads = globalThreadCount() 
)
virtual RgbaOutputFile::~RgbaOutputFile ( )
virtual

Member Function Documentation

void RgbaOutputFile::breakScanLine ( int  y,
int  offset,
int  length,
char  c 
)
RgbaChannels RgbaOutputFile::channels ( ) const
Compression RgbaOutputFile::compression ( ) const
int RgbaOutputFile::currentScanLine ( ) const
const IMATH_NAMESPACE::Box2i& RgbaOutputFile::dataWindow ( ) const
const IMATH_NAMESPACE::Box2i& RgbaOutputFile::displayWindow ( ) const
const FrameBuffer& RgbaOutputFile::frameBuffer ( ) const
const Header& RgbaOutputFile::header ( ) const
LineOrder RgbaOutputFile::lineOrder ( ) const
float RgbaOutputFile::pixelAspectRatio ( ) const
const IMATH_NAMESPACE::V2f RgbaOutputFile::screenWindowCenter ( ) const
float RgbaOutputFile::screenWindowWidth ( ) const
void RgbaOutputFile::setFrameBuffer ( const Rgba base,
size_t  xStride,
size_t  yStride 
)
void RgbaOutputFile::setYCRounding ( unsigned int  roundY,
unsigned int  roundC 
)
void RgbaOutputFile::updatePreviewImage ( const PreviewRgba  [])
void RgbaOutputFile::writePixels ( int  numScanLines = 1)

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