Implements the plane optimal shadow camera algorithm. More...
#include <OgreShadowCameraSetupPlaneOptimal.h>
Public Member Functions | |
PlaneOptimalShadowCameraSetup (MovablePlane *plane) | |
Constructor – requires a plane of interest. More... | |
virtual | ~PlaneOptimalShadowCameraSetup () |
Destructor. More... | |
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. More... | |
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 *) |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info More... | |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, void *ptr) |
placement operator new More... | |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info More... | |
void * | operator new[] (size_t sz) |
Private Member Functions | |
PlaneOptimalShadowCameraSetup () | |
Default constructor is private. More... | |
Matrix4 | computeConstrainedProjection (const Vector4 &pinhole, const vector< Vector4 >::type &fpoint, const vector< Vector2 >::type &constraint) const |
helper function computing projection matrix given constraints More... | |
Private Attributes | |
MovablePlane * | mPlane |
pointer to plane of interest More... | |
Implements the plane optimal shadow camera algorithm.
Definition at line 62 of file OgreShadowCameraSetupPlaneOptimal.h.
|
private |
Default constructor is private.
Definition at line 67 of file OgreShadowCameraSetupPlaneOptimal.h.
Ogre::PlaneOptimalShadowCameraSetup::PlaneOptimalShadowCameraSetup | ( | MovablePlane * | plane | ) |
Constructor – requires a plane of interest.
|
virtual |
Destructor.
|
private |
helper function computing projection matrix given constraints
|
virtual |
Returns shadow camera configured to get 1-1 homography between screen and shadow map when restricted to plane.
Implements Ogre::ShadowCameraSetup.
|
inherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
|
private |
pointer to plane of interest
Definition at line 65 of file OgreShadowCameraSetupPlaneOptimal.h.
Copyright © 2012 Torus Knot Software Ltd
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
Last modified Sat Oct 25 2014 14:52:11