PBRT
Imf::Header Class Reference

List of all members.

Classes

class  ConstIterator
class  Iterator

Public Types

typedef std::map< Name,
Attribute * > 
AttributeMap

Public Member Functions

 Header (int width=64, int height=64, float pixelAspectRatio=1, const Imath::V2f &screenWindowCenter=Imath::V2f(0, 0), float screenWindowWidth=1, LineOrder lineOrder=INCREASING_Y, Compression=ZIP_COMPRESSION)
 Header (int width, int height, const Imath::Box2i &dataWindow, float pixelAspectRatio=1, const Imath::V2f &screenWindowCenter=Imath::V2f(0, 0), float screenWindowWidth=1, LineOrder lineOrder=INCREASING_Y, Compression=ZIP_COMPRESSION)
 Header (const Imath::Box2i &displayWindow, const Imath::Box2i &dataWindow, float pixelAspectRatio=1, const Imath::V2f &screenWindowCenter=Imath::V2f(0, 0), float screenWindowWidth=1, LineOrder lineOrder=INCREASING_Y, Compression=ZIP_COMPRESSION)
 Header (const Header &other)
Headeroperator= (const Header &other)
void insert (const char name[], const Attribute &attribute)
void insert (const std::string &name, const Attribute &attribute)
Attributeoperator[] (const char name[])
const Attributeoperator[] (const char name[]) const
Attributeoperator[] (const std::string &name)
const Attributeoperator[] (const std::string &name) const
template<class T >
T & typedAttribute (const char name[])
template<class T >
const T & typedAttribute (const char name[]) const
template<class T >
T & typedAttribute (const std::string &name)
template<class T >
const T & typedAttribute (const std::string &name) const
template<class T >
T * findTypedAttribute (const char name[])
template<class T >
const T * findTypedAttribute (const char name[]) const
template<class T >
T * findTypedAttribute (const std::string &name)
template<class T >
const T * findTypedAttribute (const std::string &name) const
Iterator begin ()
ConstIterator begin () const
Iterator end ()
ConstIterator end () const
Iterator find (const char name[])
ConstIterator find (const char name[]) const
Iterator find (const std::string &name)
ConstIterator find (const std::string &name) const
Imath::Box2idisplayWindow ()
const Imath::Box2idisplayWindow () const
Imath::Box2idataWindow ()
const Imath::Box2idataWindow () const
float & pixelAspectRatio ()
const float & pixelAspectRatio () const
Imath::V2fscreenWindowCenter ()
const Imath::V2fscreenWindowCenter () const
float & screenWindowWidth ()
const float & screenWindowWidth () const
ChannelListchannels ()
const ChannelListchannels () const
LineOrder & lineOrder ()
const LineOrder & lineOrder () const
Compression & compression ()
const Compression & compression () const
void setTileDescription (const TileDescription &td)
TileDescriptiontileDescription ()
const TileDescriptiontileDescription () const
bool hasTileDescription () const
void setPreviewImage (const PreviewImage &p)
PreviewImagepreviewImage ()
const PreviewImagepreviewImage () const
bool hasPreviewImage () const
void sanityCheck (bool isTiled=false) const
Int64 writeTo (OStream &os, bool isTiled=false) const
void readFrom (IStream &is, int &version)

Static Public Member Functions

static void setMaxImageSize (int maxWidth, int maxHeight)
static void setMaxTileSize (int maxWidth, int maxHeight)

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