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

#include <ImfImage.h>

+ Inheritance diagram for Image:

Public Member Functions

IMFUTIL_EXPORT Image ()
 
virtual IMFUTIL_EXPORT ~Image ()
 
IMFUTIL_EXPORT LevelMode levelMode () const
 
IMFUTIL_EXPORT LevelRoundingMode levelRoundingMode () const
 
IMFUTIL_EXPORT int numLevels () const
 
IMFUTIL_EXPORT int numXLevels () const
 
IMFUTIL_EXPORT int numYLevels () const
 
IMFUTIL_EXPORT const
IMATH_NAMESPACE::Box2i
dataWindow () const
 
IMFUTIL_EXPORT const
IMATH_NAMESPACE::Box2i
dataWindowForLevel (int l) const
 
IMFUTIL_EXPORT const
IMATH_NAMESPACE::Box2i
dataWindowForLevel (int lx, int ly) const
 
IMFUTIL_EXPORT int levelWidth (int lx) const
 
IMFUTIL_EXPORT int levelHeight (int ly) const
 
IMFUTIL_EXPORT void resize (const IMATH_NAMESPACE::Box2i &dataWindow)
 
virtual IMFUTIL_EXPORT void resize (const IMATH_NAMESPACE::Box2i &dataWindow, LevelMode levelMode, LevelRoundingMode levelRoundingMode)
 
IMFUTIL_EXPORT void shiftPixels (int dx, int dy)
 
IMFUTIL_EXPORT void insertChannel (const std::string &name, PixelType type, int xSampling=1, int ySampling=1, bool pLinear=false)
 
IMFUTIL_EXPORT void insertChannel (const std::string &name, const Channel &channel)
 
IMFUTIL_EXPORT void eraseChannel (const std::string &name)
 
IMFUTIL_EXPORT void clearChannels ()
 
IMFUTIL_EXPORT void renameChannel (const std::string &oldName, const std::string &newName)
 
IMFUTIL_EXPORT void renameChannels (const RenamingMap &oldToNewNames)
 
virtual IMFUTIL_EXPORT ImageLevellevel (int l=0)
 
virtual IMFUTIL_EXPORT const
ImageLevel
level (int l=0) const
 
virtual IMFUTIL_EXPORT ImageLevellevel (int lx, int ly)
 
virtual IMFUTIL_EXPORT const
ImageLevel
level (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

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

Member Function Documentation

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

Reimplemented in DeepImage, and FlatImage.

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

Reimplemented in DeepImage, and FlatImage.

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

Reimplemented in DeepImage, and FlatImage.

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

Reimplemented in DeepImage, and FlatImage.

IMFUTIL_EXPORT int Image::levelHeight ( int  ly) const
IMFUTIL_EXPORT LevelMode Image::levelMode ( ) const
IMFUTIL_EXPORT LevelRoundingMode Image::levelRoundingMode ( ) const
IMFUTIL_EXPORT 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.

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

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