#include <Picture.h>
Inheritance diagram for Lamp::Picture:
Public Member Functions | |
virtual int | getReferenceCount () const |
リファレンスカウントの取得 | |
virtual Picture * | copy () const=0 |
コピー | |
virtual void | stateChanged () |
ステート変更フラグを立てる | |
virtual int | getParentCount () const |
親のサイズ取得 | |
virtual Texture * | getParent (int index) const |
親の取得 | |
virtual void | setPath (const String &path) |
パスの設定 | |
virtual const String & | getPath () const |
パスの取得 | |
virtual void | setSize (const DimensionI &size) |
サイズの設定 | |
virtual const DimensionI & | getSize () const |
サイズの取得 | |
virtual bool | initializeGraphicsDeviceObjects () |
デバイスオブジェクトの初期化 | |
virtual void | deleteGraphicsDeviceObjects () |
デバイスオブジェクトの削除 | |
virtual bool | restoreGraphicsDeviceObjects () |
デバイスオブジェクトのリストア | |
virtual void | invalidateGraphicsDeviceObjects () |
デバイスオブジェクトの無効化 | |
virtual bool | isPicture () const |
ピクチャかどうか | |
virtual bool | isPictureRGB8 () const |
RGB8ビットピクチャかどうか. | |
virtual PictureRGB8 * | castPictureRGB8 () const |
RGB8ビットピクチャへのキャスト. | |
virtual bool | isPictureRGBA8 () const |
RGBA8ビットピクチャかどうか. | |
virtual PictureRGBA8 * | castPictureRGBA8 () const |
RGBA8ビットピクチャへのキャスト. | |
Static Public Member Functions | |
int | destroy (Picture *picture) |
破棄 | |
Protected Member Functions | |
Picture (const String &name, Scene *scene) | |
コンストラクタ | |
virtual | ~Picture () |
デストラクタ | |
virtual void | copyPictureValue (Picture *destination) const |
ピクチャの値コピー | |
virtual int | addReference (Texture *parent) |
参照の追加 | |
virtual int | removeReference (Texture *parent) |
参照の削除 | |
virtual Direct3DTexture * | getD3DTexture ()=0 |
D3Dテクスチャの取得. | |
Friends | |
class | SceneObjectManagerTemplate< Picture > |
class | PictureManager |
class | Texture |
class | SurfaceTexture |
Definition at line 42 of file Picture.h.
|
コンストラクタ
Definition at line 35 of file Picture.cpp. |
|
参照の追加
Definition at line 214 of file Picture.h. References Lamp::ArrayList< Texture * >::add(), and getParentCount(). Referenced by Lamp::Texture::addPictureReference(). |
|
RGB8ビットピクチャへのキャスト.
Definition at line 168 of file Picture.h. References isPictureRGB8(), and NULL. Referenced by Lamp::TextSceneSaver::writePicture(), and Lamp::BinarySceneSaver::writePicture(). |
|
RGBA8ビットピクチャへのキャスト.
Definition at line 184 of file Picture.h. References isPictureRGBA8(), and NULL. Referenced by Lamp::TextSceneSaver::writePicture(), and Lamp::BinarySceneSaver::writePicture(). |
|
コピー
Implemented in Lamp::PictureRGB8, and Lamp::PictureRGBA8. |
|
ピクチャの値コピー
Definition at line 53 of file Picture.cpp. References setPath(), and setSize(). Referenced by Lamp::PictureRGB8::copyPictureRGB8(), and Lamp::PictureRGBA8::copyPictureRGBA8(). |
|
破棄
Definition at line 59 of file Picture.cpp. References Assert, Lamp::SceneObjectManagerTemplate< Picture >::destroy(), Lamp::Scene::getPictureManager(), Lamp::SceneObject::getScene(), and NULL. |
|
D3Dテクスチャの取得.
Implemented in Lamp::PictureRGB8, and Lamp::PictureRGBA8. Referenced by Lamp::SurfaceTexture::getD3DTexture(). |
|
親の取得
Definition at line 87 of file Picture.h. References Assert, Lamp::ArrayList< Texture * >::get(), and getParentCount(). Referenced by stateChanged(). |
|
親のサイズ取得
Definition at line 80 of file Picture.h. References Lamp::ArrayList< Texture * >::getCount(). Referenced by addReference(), getParent(), removeReference(), and stateChanged(). |
|
パスの取得
Definition at line 107 of file Picture.h. Referenced by Lamp::ChangePicturePathFilter::filterPicture(), Lamp::TextSceneSaver::writePicture(), and Lamp::BinarySceneSaver::writePicture(). |
|
リファレンスカウントの取得
Implements Lamp::SceneObject. Definition at line 53 of file Picture.h. References Lamp::ArrayList< Texture * >::getCount(). Referenced by Lamp::SceneLogicCheckFilter::filterPicture(). |
|
サイズの取得
Definition at line 123 of file Picture.h. Referenced by Lamp::PictureRGBA8::compile(), Lamp::PictureRGB8::compile(), Lamp::SceneLogicCheckFilter::filterPicture(), Lamp::PictureRGBA8::setImage(), Lamp::PictureRGB8::setImage(), Lamp::TextSceneSaver::writePicture(), and Lamp::BinarySceneSaver::writePicture(). |
|
デバイスオブジェクトの初期化
Implements Lamp::GraphicsDeviceObjectHolder. Reimplemented in Lamp::PictureRGB8, and Lamp::PictureRGBA8. Definition at line 130 of file Picture.h. Referenced by Lamp::PictureManager::initializeGraphicsDeviceObjects(). |
|
ピクチャかどうか
Reimplemented from Lamp::SceneObject. |
|
RGB8ビットピクチャかどうか.
Reimplemented in Lamp::PictureRGB8. Definition at line 162 of file Picture.h. Referenced by castPictureRGB8(), Lamp::TextSceneSaver::writePicture(), and Lamp::BinarySceneSaver::writePicture(). |
|
RGBA8ビットピクチャかどうか.
Reimplemented in Lamp::PictureRGBA8. Definition at line 178 of file Picture.h. Referenced by castPictureRGBA8(), Lamp::TextSceneSaver::writePicture(), and Lamp::BinarySceneSaver::writePicture(). |
|
参照の削除
Definition at line 224 of file Picture.h. References getParentCount(), and Lamp::ArrayList< Texture * >::removeByValue(). Referenced by Lamp::Texture::removePictureReference(). |
|
デバイスオブジェクトのリストア
Implements Lamp::GraphicsDeviceObjectHolder. Definition at line 141 of file Picture.h. Referenced by Lamp::PictureManager::restoreGraphicsDeviceObjects(). |
|
パスの設定
Definition at line 98 of file Picture.h. References stateChanged(). Referenced by copyPictureValue(), Lamp::ChangePicturePathFilter::filterPicture(), Lamp::TextSceneLoader::readPictureList(), and Lamp::BinarySceneLoader::readPictureList(). |
|
サイズの設定
Reimplemented in Lamp::PictureRGB8, and Lamp::PictureRGBA8. Definition at line 114 of file Picture.h. References stateChanged(). Referenced by copyPictureValue(). |