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

#include <ImfTiledRgbaFile.h>

Public Member Functions

 TiledRgbaOutputFile (const char name[], const Header &header, RgbaChannels rgbaChannels, int tileXSize, int tileYSize, LevelMode mode, LevelRoundingMode rmode=ROUND_DOWN, int numThreads=globalThreadCount())
 
 TiledRgbaOutputFile (OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &os, const Header &header, RgbaChannels rgbaChannels, int tileXSize, int tileYSize, LevelMode mode, LevelRoundingMode rmode=ROUND_DOWN, int numThreads=globalThreadCount())
 
 TiledRgbaOutputFile (const char name[], int tileXSize, int tileYSize, LevelMode mode, LevelRoundingMode rmode, 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=ZIP_COMPRESSION, int numThreads=globalThreadCount())
 
 TiledRgbaOutputFile (const char name[], int width, int height, int tileXSize, int tileYSize, LevelMode mode, LevelRoundingMode rmode=ROUND_DOWN, 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=ZIP_COMPRESSION, int numThreads=globalThreadCount())
 
virtual ~TiledRgbaOutputFile ()
 
void setFrameBuffer (const Rgba *base, size_t xStride, size_t yStride)
 
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
 
unsigned int tileXSize () const
 
unsigned int tileYSize () const
 
LevelMode levelMode () const
 
LevelRoundingMode levelRoundingMode () const
 
int numLevels () const
 
int numXLevels () const
 
int numYLevels () const
 
bool isValidLevel (int lx, int ly) const
 
int levelWidth (int lx) const
 
int levelHeight (int ly) const
 
int numXTiles (int lx=0) const
 
int numYTiles (int ly=0) const
 
IMATH_NAMESPACE::Box2i dataWindowForLevel (int l=0) const
 
IMATH_NAMESPACE::Box2i dataWindowForLevel (int lx, int ly) const
 
IMATH_NAMESPACE::Box2i dataWindowForTile (int dx, int dy, int l=0) const
 
IMATH_NAMESPACE::Box2i dataWindowForTile (int dx, int dy, int lx, int ly) const
 
void writeTile (int dx, int dy, int l=0)
 
void writeTile (int dx, int dy, int lx, int ly)
 
void writeTiles (int dxMin, int dxMax, int dyMin, int dyMax, int lx, int ly)
 
void writeTiles (int dxMin, int dxMax, int dyMin, int dyMax, int l=0)
 
void updatePreviewImage (const PreviewRgba[])
 
void breakTile (int dx, int dy, int lx, int ly, int offset, int length, char c)
 

Detailed Description

Definition at line 68 of file ImfTiledRgbaFile.h.

Constructor & Destructor Documentation

TiledRgbaOutputFile::TiledRgbaOutputFile ( const char  name[],
const Header header,
RgbaChannels  rgbaChannels,
int  tileXSize,
int  tileYSize,
LevelMode  mode,
LevelRoundingMode  rmode = ROUND_DOWN,
int  numThreads = globalThreadCount() 
)
TiledRgbaOutputFile::TiledRgbaOutputFile ( OPENEXR_IMF_INTERNAL_NAMESPACE::OStream &  os,
const Header header,
RgbaChannels  rgbaChannels,
int  tileXSize,
int  tileYSize,
LevelMode  mode,
LevelRoundingMode  rmode = ROUND_DOWN,
int  numThreads = globalThreadCount() 
)
TiledRgbaOutputFile::TiledRgbaOutputFile ( const char  name[],
int  tileXSize,
int  tileYSize,
LevelMode  mode,
LevelRoundingMode  rmode,
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 = ZIP_COMPRESSION,
int  numThreads = globalThreadCount() 
)
TiledRgbaOutputFile::TiledRgbaOutputFile ( const char  name[],
int  width,
int  height,
int  tileXSize,
int  tileYSize,
LevelMode  mode,
LevelRoundingMode  rmode = ROUND_DOWN,
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 = ZIP_COMPRESSION,
int  numThreads = globalThreadCount() 
)
virtual TiledRgbaOutputFile::~TiledRgbaOutputFile ( )
virtual

Member Function Documentation

void TiledRgbaOutputFile::breakTile ( int  dx,
int  dy,
int  lx,
int  ly,
int  offset,
int  length,
char  c 
)
RgbaChannels TiledRgbaOutputFile::channels ( ) const
Compression TiledRgbaOutputFile::compression ( ) const
const IMATH_NAMESPACE::Box2i& TiledRgbaOutputFile::dataWindow ( ) const
IMATH_NAMESPACE::Box2i TiledRgbaOutputFile::dataWindowForLevel ( int  l = 0) const
IMATH_NAMESPACE::Box2i TiledRgbaOutputFile::dataWindowForLevel ( int  lx,
int  ly 
) const
IMATH_NAMESPACE::Box2i TiledRgbaOutputFile::dataWindowForTile ( int  dx,
int  dy,
int  l = 0 
) const
IMATH_NAMESPACE::Box2i TiledRgbaOutputFile::dataWindowForTile ( int  dx,
int  dy,
int  lx,
int  ly 
) const
const IMATH_NAMESPACE::Box2i& TiledRgbaOutputFile::displayWindow ( ) const
const FrameBuffer& TiledRgbaOutputFile::frameBuffer ( ) const
const Header& TiledRgbaOutputFile::header ( ) const
bool TiledRgbaOutputFile::isValidLevel ( int  lx,
int  ly 
) const
int TiledRgbaOutputFile::levelHeight ( int  ly) const
LevelMode TiledRgbaOutputFile::levelMode ( ) const
LevelRoundingMode TiledRgbaOutputFile::levelRoundingMode ( ) const
int TiledRgbaOutputFile::levelWidth ( int  lx) const
LineOrder TiledRgbaOutputFile::lineOrder ( ) const
int TiledRgbaOutputFile::numLevels ( ) const
int TiledRgbaOutputFile::numXLevels ( ) const
int TiledRgbaOutputFile::numXTiles ( int  lx = 0) const
int TiledRgbaOutputFile::numYLevels ( ) const
int TiledRgbaOutputFile::numYTiles ( int  ly = 0) const
float TiledRgbaOutputFile::pixelAspectRatio ( ) const
const IMATH_NAMESPACE::V2f TiledRgbaOutputFile::screenWindowCenter ( ) const
float TiledRgbaOutputFile::screenWindowWidth ( ) const
void TiledRgbaOutputFile::setFrameBuffer ( const Rgba base,
size_t  xStride,
size_t  yStride 
)
unsigned int TiledRgbaOutputFile::tileXSize ( ) const
unsigned int TiledRgbaOutputFile::tileYSize ( ) const
void TiledRgbaOutputFile::updatePreviewImage ( const PreviewRgba  [])
void TiledRgbaOutputFile::writeTile ( int  dx,
int  dy,
int  l = 0 
)
void TiledRgbaOutputFile::writeTile ( int  dx,
int  dy,
int  lx,
int  ly 
)
void TiledRgbaOutputFile::writeTiles ( int  dxMin,
int  dxMax,
int  dyMin,
int  dyMax,
int  lx,
int  ly 
)
void TiledRgbaOutputFile::writeTiles ( int  dxMin,
int  dxMax,
int  dyMin,
int  dyMax,
int  l = 0 
)

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