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

#include <ImfAcesFile.h>

Public Member Functions

 AcesOutputFile (const std::string &name, const Header &header, RgbaChannels rgbaChannels=WRITE_RGBA, int numThreads=globalThreadCount())
 
 AcesOutputFile (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &os, const Header &header, RgbaChannels rgbaChannels=WRITE_RGBA, int numThreads=globalThreadCount())
 
 AcesOutputFile (const std::string &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())
 
 AcesOutputFile (const std::string &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 ~AcesOutputFile ()
 
void setFrameBuffer (const Rgba *base, size_t xStride, size_t yStride)
 
void writePixels (int numScanLines=1)
 
int currentScanLine () const
 
const Headerheader () 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[])
 

Detailed Description

Definition at line 105 of file ImfAcesFile.h.

Constructor & Destructor Documentation

AcesOutputFile::AcesOutputFile ( const std::string name,
const Header header,
RgbaChannels  rgbaChannels = WRITE_RGBA,
int  numThreads = globalThreadCount() 
)
AcesOutputFile::AcesOutputFile ( OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &  os,
const Header header,
RgbaChannels  rgbaChannels = WRITE_RGBA,
int  numThreads = globalThreadCount() 
)
AcesOutputFile::AcesOutputFile ( const std::string 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() 
)
AcesOutputFile::AcesOutputFile ( const std::string 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 AcesOutputFile::~AcesOutputFile ( )
virtual

Member Function Documentation

RgbaChannels AcesOutputFile::channels ( ) const
Compression AcesOutputFile::compression ( ) const
int AcesOutputFile::currentScanLine ( ) const
const IMATH_NAMESPACE::Box2i& AcesOutputFile::dataWindow ( ) const
const IMATH_NAMESPACE::Box2i& AcesOutputFile::displayWindow ( ) const
const Header& AcesOutputFile::header ( ) const
LineOrder AcesOutputFile::lineOrder ( ) const
float AcesOutputFile::pixelAspectRatio ( ) const
const IMATH_NAMESPACE::V2f AcesOutputFile::screenWindowCenter ( ) const
float AcesOutputFile::screenWindowWidth ( ) const
void AcesOutputFile::setFrameBuffer ( const Rgba base,
size_t  xStride,
size_t  yStride 
)
void AcesOutputFile::updatePreviewImage ( const PreviewRgba  [])
void AcesOutputFile::writePixels ( int  numScanLines = 1)

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