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

#include <ImfFlatImage.h>

+ Inheritance diagram for FlatImage:

Public Member Functions

 FlatImage ()
 
 FlatImage (const IMATH_NAMESPACE::Box2i &dataWindow, LevelMode levelMode=ONE_LEVEL, LevelRoundingMode levelRoundingMode=ROUND_DOWN)
 
virtual ~FlatImage ()
 
virtual FlatImageLevellevel (int l=0)
 
virtual const FlatImageLevellevel (int l=0) const
 
virtual FlatImageLevellevel (int lx, int ly)
 
virtual const FlatImageLevellevel (int lx, int ly) const
 
- Public Member Functions inherited from Image
 Image ()
 
virtual ~Image ()
 
LevelMode levelMode () const
 
LevelRoundingMode levelRoundingMode () const
 
int numLevels () const
 
int numXLevels () const
 
int numYLevels () const
 
const IMATH_NAMESPACE::Box2idataWindow () const
 
const IMATH_NAMESPACE::Box2idataWindowForLevel (int l) const
 
const IMATH_NAMESPACE::Box2idataWindowForLevel (int lx, int ly) const
 
int levelWidth (int lx) const
 
int levelHeight (int ly) const
 
void resize (const IMATH_NAMESPACE::Box2i &dataWindow)
 
virtual void resize (const IMATH_NAMESPACE::Box2i &dataWindow, LevelMode levelMode, LevelRoundingMode levelRoundingMode)
 
void shiftPixels (int dx, int dy)
 
void insertChannel (const std::string &name, PixelType type, int xSampling=1, int ySampling=1, bool pLinear=false)
 
void insertChannel (const std::string &name, const Channel &channel)
 
void eraseChannel (const std::string &name)
 
void clearChannels ()
 
void renameChannel (const std::string &oldName, const std::string &newName)
 
void renameChannels (const RenamingMap &oldToNewNames)
 

Protected Member Functions

virtual FlatImageLevelnewLevel (int lx, int ly, const IMATH_NAMESPACE::Box2i &dataWindow)
 

Detailed Description

Definition at line 55 of file ImfFlatImage.h.

Constructor & Destructor Documentation

FlatImage::FlatImage ( )
FlatImage::FlatImage ( const IMATH_NAMESPACE::Box2i dataWindow,
LevelMode  levelMode = ONE_LEVEL,
LevelRoundingMode  levelRoundingMode = ROUND_DOWN 
)
virtual FlatImage::~FlatImage ( )
virtual

Member Function Documentation

virtual FlatImageLevel& FlatImage::level ( int  l = 0)
virtual

Reimplemented from Image.

virtual const FlatImageLevel& FlatImage::level ( int  l = 0) const
virtual

Reimplemented from Image.

virtual FlatImageLevel& FlatImage::level ( int  lx,
int  ly 
)
virtual

Reimplemented from Image.

virtual const FlatImageLevel& FlatImage::level ( int  lx,
int  ly 
) const
virtual

Reimplemented from Image.

virtual FlatImageLevel* FlatImage::newLevel ( int  lx,
int  ly,
const IMATH_NAMESPACE::Box2i dataWindow 
)
protectedvirtual

Implements Image.


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