#include <OgreShadowCameraSetupPlaneOptimal.h>
Inheritance diagram for Ogre::PlaneOptimalShadowCameraSetup:
Public Member Functions | |
PlaneOptimalShadowCameraSetup (MovablePlane *plane) | |
Constructor -- requires a plane of interest. | |
virtual | ~PlaneOptimalShadowCameraSetup () |
Destructor. | |
virtual void | getShadowCamera (const SceneManager *sm, const Camera *cam, const Viewport *vp, const Light *light, Camera *texCam, size_t iteration) const |
Returns shadow camera configured to get 1-1 homography between screen and shadow map when restricted to plane. | |
AllocatedObject () | |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info | |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *ptr) |
placement operator new | |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info | |
void * | operator new[] (size_t sz) |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, void *) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
Private Member Functions | |
PlaneOptimalShadowCameraSetup () | |
Default constructor is private. | |
Matrix4 | computeConstrainedProjection (const Vector4 &pinhole, const std::vector< Vector4 > &fpoint, const std::vector< Vector2 > &constraint) const |
helper function computing projection matrix given constraints | |
Private Attributes | |
MovablePlane * | m_plane |
pointer to plane of interest |
Second important note: this projection also only works for lights with a finite position. Therefore you cannot use it for directional lights at this time.
Definition at line 56 of file OgreShadowCameraSetupPlaneOptimal.h.
|
Default constructor is private.
Definition at line 61 of file OgreShadowCameraSetupPlaneOptimal.h. |
|
Constructor -- requires a plane of interest.
|
|
Destructor.
|
|
Definition at line 55 of file OgreMemoryAllocatedObject.h. |
|
helper function computing projection matrix given constraints
|
|
Returns shadow camera configured to get 1-1 homography between screen and shadow map when restricted to plane.
Implements Ogre::ShadowCameraSetup. |
|
Definition at line 101 of file OgreMemoryAllocatedObject.h. |
|
Definition at line 95 of file OgreMemoryAllocatedObject.h. |
|
Definition at line 89 of file OgreMemoryAllocatedObject.h. |
|
Definition at line 112 of file OgreMemoryAllocatedObject.h. |
|
Definition at line 106 of file OgreMemoryAllocatedObject.h. |
|
placement operator new
Definition at line 73 of file OgreMemoryAllocatedObject.h. |
|
Definition at line 67 of file OgreMemoryAllocatedObject.h. |
|
operator new, with debug line info
Definition at line 62 of file OgreMemoryAllocatedObject.h. |
|
Definition at line 84 of file OgreMemoryAllocatedObject.h. |
|
array operator new, with debug line info
Definition at line 79 of file OgreMemoryAllocatedObject.h. |
|
pointer to plane of interest
Definition at line 59 of file OgreShadowCameraSetupPlaneOptimal.h. |
Copyright © 2008 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 2.5 License.
Last modified Sat Apr 11 13:54:15 2009