PBRT
|
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) | |
Header & | operator= (const Header &other) |
void | insert (const char name[], const Attribute &attribute) |
void | insert (const std::string &name, const Attribute &attribute) |
Attribute & | operator[] (const char name[]) |
const Attribute & | operator[] (const char name[]) const |
Attribute & | operator[] (const std::string &name) |
const Attribute & | operator[] (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::Box2i & | displayWindow () |
const Imath::Box2i & | displayWindow () const |
Imath::Box2i & | dataWindow () |
const Imath::Box2i & | dataWindow () const |
float & | pixelAspectRatio () |
const float & | pixelAspectRatio () const |
Imath::V2f & | screenWindowCenter () |
const Imath::V2f & | screenWindowCenter () const |
float & | screenWindowWidth () |
const float & | screenWindowWidth () const |
ChannelList & | channels () |
const ChannelList & | channels () const |
LineOrder & | lineOrder () |
const LineOrder & | lineOrder () const |
Compression & | compression () |
const Compression & | compression () const |
void | setTileDescription (const TileDescription &td) |
TileDescription & | tileDescription () |
const TileDescription & | tileDescription () const |
bool | hasTileDescription () const |
void | setPreviewImage (const PreviewImage &p) |
PreviewImage & | previewImage () |
const PreviewImage & | previewImage () 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) |