#include <Camera.h>
Inheritance diagram for Lamp::Camera:

Public Member Functions | |
| virtual int | getReferenceCount () const |
| リファレンスカウントの取得 | |
| virtual Camera * | copy () const |
| コピー | |
| virtual const Matrix44 & | getProjectionMatrix () |
| 射影行列の取得 | |
| virtual void | setPerspectiveOffCenter (float left, float right, float bottom, float top, float nearClip, float farClip) |
| 中心のずれたパースペクティブ設定 | |
| virtual void | setPerspective (float width, float height, float nearClip, float farClip) |
| パースペクティブ設定 | |
| virtual void | setPerspectiveFovY (float fovY, float aspect, float nearClip, float farClip) |
| 画角によるパースペクティブ設定 | |
| virtual void | setOrthoOffCenter (float left, float right, float bottom, float top, float nearClip, float farClip) |
| 中心のずれた並行投影設定 | |
| virtual void | setOrtho (float width, float height, float nearClip, float farClip) |
| 並行投影設定 | |
| virtual float | getLeft () |
| 左の取得 | |
| virtual float | getRight () |
| 右の取得 | |
| virtual float | getBottom () |
| 下の取得 | |
| virtual float | getTop () |
| 上の取得 | |
| virtual float | getNearClip () |
| ニアクリップの取得 | |
| virtual void | setNearClip (float nearClip) |
| ニアクリップの設定 | |
| virtual float | getFarClip () |
| ファークリップの取得 | |
| virtual void | setFarClip (float farClip) |
| ファークリップの設定 | |
| virtual bool | isPerspective () |
| パースペクティブかどうか | |
| virtual float | getWidth () |
| 幅の取得 | |
| virtual float | getHeight () |
| 高さの取得 | |
| virtual float | getFovY () |
| 画角の取得 | |
| virtual void | setFovY (float fovY) |
| 画角の設定 | |
| virtual float | getAspect () |
| アスペクト比の取得 | |
| virtual void | setAspect (float aspect) |
| アスペクト比の設定 | |
| virtual const Matrix44 & | getViewMatrix () |
| ビュー行列の取得 | |
| virtual const Vector3 & | getPosition () |
| カメラ位置の取得 | |
| virtual const Vector3 & | getRotation () |
| カメラ回転の取得 | |
| virtual void | setViewMatrix (const Matrix44 &viewMatrix) |
| ビュー行列の設定 | |
| virtual void | setTransformation (const Vector3 &rotationXYZ, const Vector3 &position) |
| トランスフォーメーションの設定 | |
| virtual void | setTransformation (const Quaternion &rotation, const Vector3 &position) |
| トランスフォーメーションの設定 | |
| virtual void | setLookAt (const Vector3 &position, const Vector3 &target, const Vector3 &up) |
| ルックアットの設定 | |
| virtual Clipping::State | clipping (const Sphere &boundingSphere) |
| クリッピング | |
| virtual Clipping::State | clipping (const AxisAlignedBox &boundingBox) |
| クリッピング | |
| virtual const Vector3 & | getCorner (int index) |
| コーナーの取得 | |
| virtual const Sphere & | getBoundingSphere () |
| バウンディングスフィアの取得 | |
| virtual bool | isCamera () const |
| カメラかどうか | |
Protected Member Functions | |
| Camera (const String &name, Scene *scene) | |
| コンストラクタ | |
| virtual | ~Camera () |
| デストラクタ | |
| virtual void | buildPerspectiveMatrix () |
| 射影行列の構築 | |
| virtual void | clippingSetup () |
| クリッピングのセットアップ | |
Friends | |
| class | SceneObjectManagerTemplate< Camera > |
| class | CameraManager |
Definition at line 37 of file Camera.h.
|
||||||||||||
|
コンストラクタ
Definition at line 34 of file Camera.cpp. References buildPerspectiveMatrix(). |
|
|
クリッピング
Definition at line 220 of file Camera.cpp. References Lamp::AxisAlignedBox::getCornerArray(), and Lamp::Plane::getDistance(). |
|
|
クリッピング
Definition at line 200 of file Camera.cpp. References Lamp::Sphere::getCenter(), Lamp::Plane::getDistance(), Lamp::Sphere::getRadius(), and Lamp::Sphere::intersect(). Referenced by Lamp::Scene::getMeshList(). |
|
|
コピー
Definition at line 48 of file Camera.cpp. References Lamp::CameraManager::createCamera(), Lamp::Scene::getCameraManager(), Lamp::SceneObject::name_, Lamp::SceneObjectManagerTemplate< Camera >::rename(), and Lamp::SceneObject::scene_. |
|
|
アスペクト比の取得
Definition at line 276 of file Camera.h. Referenced by Lamp::PS2PadCameraController::control(), and setFovY(). |
|
|
下の取得
Definition at line 181 of file Camera.h. Referenced by setFarClip(), and setNearClip(). |
|
|
バウンディングスフィアの取得
|
|
|
コーナーの取得 以下の図のインデックスに沿ってコーナーを取得します。
Definition at line 377 of file Camera.h. References Assert. |
|
|
ファークリップの取得
Definition at line 215 of file Camera.h. Referenced by Lamp::PS2PadCameraController::control(), setAspect(), setFovY(), and setNearClip(). |
|
|
画角の取得
Definition at line 256 of file Camera.h. Referenced by Lamp::PS2PadCameraController::control(), and setAspect(). |
|
|
高さの取得
|
|
|
左の取得
Definition at line 169 of file Camera.h. Referenced by setFarClip(), and setNearClip(). |
|
|
ニアクリップの取得
Definition at line 194 of file Camera.h. Referenced by Lamp::PS2PadCameraController::control(), setAspect(), setFarClip(), and setFovY(). |
|
|
カメラ位置の取得
Definition at line 301 of file Camera.h. Referenced by Lamp::Renderer::buildMeshList(), Lamp::PS2PadCameraController::control(), and Lamp::SceneNode::traverse(). |
|
|
射影行列の取得
Definition at line 60 of file Camera.h. Referenced by Lamp::Renderer::initializeGlobalSettings(), and Lamp::PrimitiveRenderer::render(). |
|
|
リファレンスカウントの取得
Implements Lamp::SceneObject. |
|
|
右の取得
Definition at line 175 of file Camera.h. Referenced by setFarClip(), and setNearClip(). |
|
|
カメラ回転の取得
Definition at line 307 of file Camera.h. Referenced by Lamp::PS2PadCameraController::control(). |
|
|
上の取得
Definition at line 187 of file Camera.h. Referenced by setFarClip(), and setNearClip(). |
|
|
ビュー行列の取得
Definition at line 295 of file Camera.h. Referenced by Lamp::Renderer::initializeGlobalSettings(), and Lamp::PrimitiveRenderer::render(). |
|
|
幅の取得
|
|
|
カメラかどうか
Reimplemented from Lamp::SceneObject. |
|
|
パースペクティブかどうか
|
|
|
アスペクト比の設定
Definition at line 282 of file Camera.h. References Assert, getFarClip(), getFovY(), getNearClip(), and setPerspectiveFovY(). |
|
|
ファークリップの設定
Definition at line 221 of file Camera.h. References getBottom(), getLeft(), getNearClip(), getRight(), getTop(), setOrthoOffCenter(), and setPerspectiveOffCenter(). |
|
|
画角の設定
Definition at line 265 of file Camera.h. References Assert, getAspect(), getFarClip(), getNearClip(), and setPerspectiveFovY(). |
|
||||||||||||||||
|
ルックアットの設定
Definition at line 104 of file Camera.cpp. References Assert, clippingSetup(), Lamp::Vector3::crossProduct(), Lamp::Vector3::dotProduct(), Lamp::Vector3::epsilonEquals(), Lamp::Vector3::normalize(), Lamp::Matrix44::set(), Lamp::Vector3::x, Lamp::Vector3::y, and Lamp::Vector3::z. |
|
|
ニアクリップの設定
Definition at line 200 of file Camera.h. References getBottom(), getFarClip(), getLeft(), getRight(), getTop(), setOrthoOffCenter(), and setPerspectiveOffCenter(). |
|
||||||||||||||||||||
|
並行投影設定
Definition at line 152 of file Camera.h. References buildPerspectiveMatrix(). |
|
||||||||||||||||||||||||||||
|
中心のずれた並行投影設定
Definition at line 132 of file Camera.h. References buildPerspectiveMatrix(). Referenced by setFarClip(), and setNearClip(). |
|
||||||||||||||||||||
|
パースペクティブ設定
Definition at line 92 of file Camera.h. References buildPerspectiveMatrix(). |
|
||||||||||||||||||||
|
画角によるパースペクティブ設定
Definition at line 111 of file Camera.h. References buildPerspectiveMatrix(). Referenced by Lamp::PS2PadCameraController::control(), setAspect(), setFovY(), and Lamp::FirstPersonCameraController::setup(). |
|
||||||||||||||||||||||||||||
|
中心のずれたパースペクティブ設定
Definition at line 72 of file Camera.h. References buildPerspectiveMatrix(). Referenced by setFarClip(), and setNearClip(). |
|
||||||||||||
|
トランスフォーメーションの設定
Definition at line 94 of file Camera.cpp. References Lamp::Matrix44::addRotationQuaternion(), clippingSetup(), Lamp::Matrix44::setTranslation(), and Lamp::Quaternion::unitInvert(). |
|
||||||||||||
|
トランスフォーメーションの設定
Definition at line 86 of file Camera.cpp. References Lamp::Matrix44::addRotationZYX(), clippingSetup(), and Lamp::Matrix44::setTranslation(). Referenced by Lamp::CameraAnimation::animate(), Lamp::SceneFramework::clearScene(), Lamp::PS2PadCameraController::control(), Lamp::SceneFramework::loadScene(), and Lamp::FirstPersonCameraController::setup(). |
|
|
ビュー行列の設定
Definition at line 80 of file Camera.cpp. References clippingSetup(). |
1.3.2