#include <OgreImageCodec.h>
Inheritance diagram for Ogre::ImageCodec:
Public Methods | |
virtual | ~ImageCodec () |
virtual void | code (const DataChunk &input, DataChunk *output,...) const=0 |
Codes the data in the input chunk and saves the result in the output chunk. | |
virtual CodecData * | decode (const DataChunk &input, DataChunk *output,...) const=0 |
Codes the data from the input chunk into the output chunk. | |
virtual void | codeToFile (const DataChunk &input, const String &outFileName, CodecData *pData) const=0 |
Encodes data to a file. | |
virtual String | getType () const=0 |
Returns the type of the codec as a String. | |
Static Public Methods | |
void | registerCodec (Codec *pCodec) |
Registers a new codec in the database. | |
void | unRegisterCodec (Codec *pCodec) |
Unregisters a codec from the database. | |
Codec * | getCodec (const String &extension) |
Gets the codec registered for the passed in file extension. | |
Protected Types | |
typedef std::map< String, Codec * > | CodecList |
Static Protected Attributes | |
CodecList | ms_mapCodecs |
A map that contains all the registered codecs. |
Definition at line 38 of file OgreImageCodec.h.
|
Definition at line 44 of file OgreCodec.h. |
|
Definition at line 36 of file OgreImage.cpp. |
|
Codes the data in the input chunk and saves the result in the output chunk.
Implements Ogre::Codec. Implemented in Ogre::ILImageCodec. |
|
Encodes data to a file.
Implements Ogre::Codec. Implemented in Ogre::ILImageCodec. |
|
Codes the data from the input chunk into the output chunk.
Implements Ogre::Codec. Implemented in Ogre::ILImageCodec. |
|
Gets the codec registered for the passed in file extension.
Definition at line 37 of file OgreCodec.cpp. References Except, Ogre::Codec::ms_mapCodecs, and Ogre::String. |
|
Returns the type of the codec as a String.
Implements Ogre::Codec. Implemented in Ogre::BMPCodec, Ogre::TGACodec, Ogre::JPEGCodec, Ogre::JPGCodec, Ogre::DDSCodec, Ogre::PNGCodec, and Ogre::ILImageCodec. |
|
Registers a new codec in the database.
Definition at line 65 of file OgreCodec.h. References Ogre::Codec::getType(). |
|
Unregisters a codec from the database.
Definition at line 72 of file OgreCodec.h. References Ogre::Codec::getType(). |
|
A map that contains all the registered codecs.
Definition at line 32 of file OgreCodec.cpp. Referenced by Ogre::Codec::getCodec(). |
Copyright © 2002-2003 by The OGRE Team
Last modified Sun Nov 28 19:51:07 2004