Public Member Functions | Protected Attributes | List of all members
Ogre::SceneManager::ShadowCasterSceneQueryListener Class Reference

Inner class to use as callback for shadow caster scene query. More...

#include <OgreSceneManager.h>

Inheritance diagram for Ogre::SceneManager::ShadowCasterSceneQueryListener:
Inheritance graph
[legend]

Public Member Functions

 ShadowCasterSceneQueryListener (SceneManager *sm)
 
void operator delete (void *ptr)
 
void operator delete (void *ptr, const char *, int, const char *)
 
void operator delete (void *ptr, void *)
 
void operator delete[] (void *ptr)
 
void operator delete[] (void *ptr, const char *, int, const char *)
 
void * operator new (size_t sz)
 
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 *ptr)
 placement operator new More...
 
void * operator new[] (size_t sz)
 
void * operator new[] (size_t sz, const char *file, int line, const char *func)
 array operator new, with debug line info More...
 
void prepare (bool lightInFrustum, const PlaneBoundedVolumeList *lightClipVolumes, const Light *light, const Camera *cam, ShadowCasterList *casterList, Real farDistSquared)
 
bool queryResult (MovableObject *object)
 Called when a MovableObject is returned by a query. More...
 
bool queryResult (SceneQuery::WorldFragment *fragment)
 Called when a WorldFragment is returned by a query. More...
 

Protected Attributes

const Camera * mCamera
 
ShadowCasterList * mCasterList
 
Real mFarDistSquared
 
bool mIsLightInFrustum
 
const Light * mLight
 
const PlaneBoundedVolumeList * mLightClipVolumeList
 
SceneManager * mSceneMgr
 

Detailed Description

Inner class to use as callback for shadow caster scene query.

Definition at line 886 of file OgreSceneManager.h.

Constructor & Destructor Documentation

◆ ShadowCasterSceneQueryListener()

Ogre::SceneManager::ShadowCasterSceneQueryListener::ShadowCasterSceneQueryListener ( SceneManager *  sm)

Definition at line 897 of file OgreSceneManager.h.

Member Function Documentation

◆ operator delete() [1/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr)
inherited

Definition at line 96 of file OgreMemoryAllocatedObject.h.

◆ operator delete() [2/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
const char *  ,
int  ,
const char *   
)
inherited

Definition at line 108 of file OgreMemoryAllocatedObject.h.

◆ operator delete() [3/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
void *   
)
inherited

Definition at line 102 of file OgreMemoryAllocatedObject.h.

◆ operator delete[]() [1/2]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr)
inherited

Definition at line 113 of file OgreMemoryAllocatedObject.h.

◆ operator delete[]() [2/2]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr,
const char *  ,
int  ,
const char *   
)
inherited

Definition at line 119 of file OgreMemoryAllocatedObject.h.

◆ operator new() [1/3]

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz)
inherited

Definition at line 73 of file OgreMemoryAllocatedObject.h.

◆ operator new() [2/3]

template<class Alloc >
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 68 of file OgreMemoryAllocatedObject.h.

◆ operator new() [3/3]

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
void *  ptr 
)
inherited

placement operator new

Definition at line 79 of file OgreMemoryAllocatedObject.h.

◆ operator new[]() [1/2]

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz)
inherited

Definition at line 91 of file OgreMemoryAllocatedObject.h.

◆ operator new[]() [2/2]

template<class Alloc >
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 86 of file OgreMemoryAllocatedObject.h.

◆ prepare()

void Ogre::SceneManager::ShadowCasterSceneQueryListener::prepare ( bool  lightInFrustum,
const PlaneBoundedVolumeList *  lightClipVolumes,
const Light *  light,
const Camera *  cam,
ShadowCasterList *  casterList,
Real  farDistSquared 
)

Definition at line 901 of file OgreSceneManager.h.

◆ queryResult() [1/2]

bool Ogre::SceneManager::ShadowCasterSceneQueryListener::queryResult ( MovableObject *  object)
virtual

Called when a MovableObject is returned by a query.

Remarks
The implementor should return 'true' to continue returning objects, or 'false' to abandon any further results from this query.

Implements Ogre::SceneQueryListener.

◆ queryResult() [2/2]

bool Ogre::SceneManager::ShadowCasterSceneQueryListener::queryResult ( SceneQuery::WorldFragment *  fragment)
virtual

Called when a WorldFragment is returned by a query.

Remarks
The implementor should return 'true' to continue returning objects, or 'false' to abandon any further results from this query.

Implements Ogre::SceneQueryListener.

Member Data Documentation

◆ mCamera

const Camera* Ogre::SceneManager::ShadowCasterSceneQueryListener::mCamera
protected

Definition at line 893 of file OgreSceneManager.h.

◆ mCasterList

ShadowCasterList* Ogre::SceneManager::ShadowCasterSceneQueryListener::mCasterList
protected

Definition at line 890 of file OgreSceneManager.h.

◆ mFarDistSquared

Real Ogre::SceneManager::ShadowCasterSceneQueryListener::mFarDistSquared
protected

Definition at line 895 of file OgreSceneManager.h.

◆ mIsLightInFrustum

bool Ogre::SceneManager::ShadowCasterSceneQueryListener::mIsLightInFrustum
protected

Definition at line 891 of file OgreSceneManager.h.

◆ mLight

const Light* Ogre::SceneManager::ShadowCasterSceneQueryListener::mLight
protected

Definition at line 894 of file OgreSceneManager.h.

◆ mLightClipVolumeList

const PlaneBoundedVolumeList* Ogre::SceneManager::ShadowCasterSceneQueryListener::mLightClipVolumeList
protected

Definition at line 892 of file OgreSceneManager.h.

◆ mSceneMgr

SceneManager* Ogre::SceneManager::ShadowCasterSceneQueryListener::mSceneMgr
protected

Definition at line 889 of file OgreSceneManager.h.


The documentation for this class was generated from the following file:

Copyright © 2012 Torus Knot Software Ltd
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.