Implements the plane optimal shadow camera algorithm. More...
#include <OgreShadowCameraSetupPlaneOptimal.h>
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. | |
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 vector< Vector4 >::type &fpoint, const vector< Vector2 >::type &constraint) const |
helper function computing projection matrix given constraints | |
Private Attributes | |
MovablePlane * | mPlane |
pointer to plane of interest |
Implements the plane optimal shadow camera algorithm.
Definition at line 61 of file OgreShadowCameraSetupPlaneOptimal.h.
Ogre::PlaneOptimalShadowCameraSetup::PlaneOptimalShadowCameraSetup | ( | ) | [private] |
Default constructor is private.
Definition at line 66 of file OgreShadowCameraSetupPlaneOptimal.h.
Ogre::PlaneOptimalShadowCameraSetup::PlaneOptimalShadowCameraSetup | ( | MovablePlane * | plane | ) |
Constructor -- requires a plane of interest.
virtual Ogre::PlaneOptimalShadowCameraSetup::~PlaneOptimalShadowCameraSetup | ( | ) | [virtual] |
Destructor.
Matrix4 Ogre::PlaneOptimalShadowCameraSetup::computeConstrainedProjection | ( | const Vector4 & | pinhole, | |
const vector< Vector4 >::type & | fpoint, | |||
const vector< Vector2 >::type & | constraint | |||
) | const [private] |
helper function computing projection matrix given constraints
virtual void Ogre::PlaneOptimalShadowCameraSetup::getShadowCamera | ( | const SceneManager * | sm, | |
const Camera * | cam, | |||
const Viewport * | vp, | |||
const Light * | light, | |||
Camera * | texCam, | |||
size_t | iteration | |||
) | const [virtual] |
Returns shadow camera configured to get 1-1 homography between screen and shadow map when restricted to plane.
Implements Ogre::ShadowCameraSetup.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, | |
const char * | , | |||
int | , | |||
const char * | ||||
) | [inherited] |
Definition at line 107 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr, | |
void * | ||||
) | [inherited] |
Definition at line 101 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete | ( | void * | ptr | ) | [inherited] |
Definition at line 95 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr, | |
const char * | , | |||
int | , | |||
const char * | ||||
) | [inherited] |
Definition at line 118 of file OgreMemoryAllocatedObject.h.
void Ogre::AllocatedObject< Alloc >::operator delete[] | ( | void * | ptr | ) | [inherited] |
Definition at line 112 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, | |
void * | ptr | |||
) | [inherited] |
placement operator new
Definition at line 78 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz | ) | [inherited] |
Definition at line 72 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new | ( | size_t | sz, | |
const char * | file, | |||
int | line, | |||
const char * | func | |||
) | [inherited] |
operator new, with debug line info
Definition at line 67 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz | ) | [inherited] |
Definition at line 90 of file OgreMemoryAllocatedObject.h.
void* Ogre::AllocatedObject< Alloc >::operator new[] | ( | size_t | sz, | |
const char * | file, | |||
int | line, | |||
const char * | func | |||
) | [inherited] |
array operator new, with debug line info
Definition at line 85 of file OgreMemoryAllocatedObject.h.
pointer to plane of interest
Definition at line 64 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 Fri May 25 23:40:18 2012