#include <scene.h>
◆ GeometricBaseList
◆ Scene()
◆ ~Scene()
virtual Scene::~Scene |
( |
| ) |
|
|
virtual |
◆ addFrameBuffer()
void Scene::addFrameBuffer |
( |
FrameBuffer * | pFrameBuffer | ) |
|
◆ addGeometricObject()
virtual void Scene::addGeometricObject |
( |
GeometricBase * | pObject | ) |
|
|
protectedvirtual |
◆ addMaterialList()
◆ addMaterials()
virtual void Scene::addMaterials |
( |
| ) |
|
|
virtual |
◆ clearMaterialLists()
virtual void Scene::clearMaterialLists |
( |
| ) |
|
|
pure virtual |
◆ createModel()
virtual void Scene::createModel |
( |
| ) |
|
|
virtual |
◆ getAABoundingBox() [1/2]
Primitive3D::AABoundingBox Scene::getAABoundingBox |
( |
| ) |
|
◆ getAABoundingBox() [2/2]
Primitive3D::AABoundingBox Scene::getAABoundingBox |
( |
GeometricBase * | pObject | ) |
|
◆ getCamera()
Camera * Scene::getCamera |
( |
| ) |
|
|
inline |
◆ getFarZClip()
float Scene::getFarZClip |
( |
| ) |
|
|
inline |
◆ getGeometricObject()
◆ getGeometricObjectSize()
uint Scene::getGeometricObjectSize |
( |
| ) |
|
|
inline |
◆ getModel()
◆ getNDCAABoundingBox() [1/2]
Primitive3D::AABoundingBox Scene::getNDCAABoundingBox |
( |
| ) |
|
◆ getNDCAABoundingBox() [2/2]
Primitive3D::AABoundingBox Scene::getNDCAABoundingBox |
( |
GeometricBase * | pObject | ) |
|
◆ getNearZClip()
float Scene::getNearZClip |
( |
| ) |
|
|
inline |
◆ getNodeModel()
const UnorderedMap< Node *, Matrix4f > & Scene::getNodeModel |
( |
| ) |
const |
|
inline |
◆ getProjectionMatrix()
const Matrix4f & Scene::getProjectionMatrix |
( |
| ) |
|
|
inline |
◆ getViewMatrix()
const Matrix4f & Scene::getViewMatrix |
( |
| ) |
|
|
inline |
◆ hasFrameBuffer()
bool Scene::hasFrameBuffer |
( |
FrameBuffer * | pFrameBuffer | ) |
|
◆ hasGeometricObject()
◆ inDisplayArea() [1/2]
bool Scene::inDisplayArea |
( |
| ) |
|
- Returns
- True if this Scene is inside the display-area(bounds).
◆ inDisplayArea() [2/2]
- Returns
- True if this GeometricBase object is inside the display-area(bounds).
◆ localToNdc()
Converts local(model) space coordinate to normalized-device coordinate.
◆ ndcToLocal()
Converts a normalized-device coordinate to local(model) space coordinate.
◆ project()
Transform a given vertex to clip-space for this view and projection.
- Returns
- The respective device(screen)-space coordinate for this Scene.
◆ queueGeometricObject() [1/2]
Queue a GeometricObject to be added to this Scene, when all the objects Materials are initialized. This is a non-atomic operation.
- Parameters
-
◆ queueGeometricObject() [2/2]
void Scene::queueGeometricObject |
( |
Node * | pObject | ) |
|
◆ removeFrameBuffer()
void Scene::removeFrameBuffer |
( |
FrameBuffer * | pFrameBuffer | ) |
|
◆ removeGeometricObject() [1/2]
virtual void Scene::removeGeometricObject |
( |
GeometricBase * | pObject | ) |
|
|
virtual |
◆ removeGeometricObject() [2/2]
virtual void Scene::removeGeometricObject |
( |
Node * | pObject | ) |
|
|
virtual |
◆ renderMaterial()
◆ renderMaterialList()
◆ renderMaterialLists()
virtual void Scene::renderMaterialLists |
( |
| ) |
|
|
pure virtual |
◆ setCamera()
void Scene::setCamera |
( |
Camera * | pCamera | ) |
|
◆ unProject()
Undo a transform from clip-space for a given vertex for this view and projection.
- Returns
- The respective local-space coordinate from this Scene.
◆ updateCamera()
void Scene::updateCamera |
( |
| ) |
|
◆ Engine::Application
◆ Surface::Material::Initializer
◆ farZClip
Far (Z-) clip plane. This is used to create the projection matrix.
◆ nearZClip
Near (Z+) clip plane. This is used to create the projection matrix.
◆ nodeModel
The composed model-matrix for each node.
◆ pCamera
Pointer to the scene camera.
◆ pFrameBuffer
◆ pGeometricObject
The nodes containing geometry and materials to render.
◆ projectionMatrix
The projection applied to the corresponding object models and view.
◆ view
The view for this scene. If no Camera exists for this scene pCamera will hold the address of view.
The documentation for this class was generated from the following file: