HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Image Class Referenceabstract

#include <ImfImage.h>

+ Inheritance diagram for Image:

Public Member Functions

 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)
 
virtual ImageLevellevel (int l=0)
 
virtual const ImageLevellevel (int l=0) const
 
virtual ImageLevellevel (int lx, int ly)
 
virtual const ImageLevellevel (int lx, int ly) const
 

Protected Member Functions

virtual ImageLevelnewLevel (int lx, int ly, const IMATH_NAMESPACE::Box2i &dataWindow)=0
 

Detailed Description

Definition at line 105 of file ImfImage.h.

Constructor & Destructor Documentation

Image::Image ( )
virtual Image::~Image ( )
virtual

Member Function Documentation

void Image::clearChannels ( )
const IMATH_NAMESPACE::Box2i& Image::dataWindow ( ) const
const IMATH_NAMESPACE::Box2i& Image::dataWindowForLevel ( int  l) const
const IMATH_NAMESPACE::Box2i& Image::dataWindowForLevel ( int  lx,
int  ly 
) const
void Image::eraseChannel ( const std::string name)
void Image::insertChannel ( const std::string name,
PixelType  type,
int  xSampling = 1,
int  ySampling = 1,
bool  pLinear = false 
)
void Image::insertChannel ( const std::string name,
const Channel channel 
)
virtual ImageLevel& Image::level ( int  l = 0)
virtual

Reimplemented in DeepImage, and FlatImage.

virtual const ImageLevel& Image::level ( int  l = 0) const
virtual

Reimplemented in DeepImage, and FlatImage.

virtual ImageLevel& Image::level ( int  lx,
int  ly 
)
virtual

Reimplemented in DeepImage, and FlatImage.

virtual const ImageLevel& Image::level ( int  lx,
int  ly 
) const
virtual

Reimplemented in DeepImage, and FlatImage.

int Image::levelHeight ( int  ly) const
LevelMode Image::levelMode ( ) const
LevelRoundingMode Image::levelRoundingMode ( ) const
int Image::levelWidth ( int  lx) const
virtual ImageLevel* Image::newLevel ( int  lx,
int  ly,
const IMATH_NAMESPACE::Box2i dataWindow 
)
protectedpure virtual

Implemented in DeepImage, and FlatImage.

int Image::numLevels ( ) const
int Image::numXLevels ( ) const
int Image::numYLevels ( ) const
void Image::renameChannel ( const std::string oldName,
const std::string newName 
)
void Image::renameChannels ( const RenamingMap oldToNewNames)
void Image::resize ( const IMATH_NAMESPACE::Box2i dataWindow)
virtual void Image::resize ( const IMATH_NAMESPACE::Box2i dataWindow,
LevelMode  levelMode,
LevelRoundingMode  levelRoundingMode 
)
virtual
void Image::shiftPixels ( int  dx,
int  dy 
)

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