Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef MIRROR_SCENE_H
00013
00014 #define MIRROR_SCENE_H
00015
00021 #include "ApexDefs.h"
00022 #include "ApexUsingNamespace.h"
00023 #include "foundation/PxPreprocessor.h"
00024
00025
00026 namespace nvidia
00027 {
00028 namespace apex
00029 {
00030
00034 class MirrorScene
00035 {
00036 public:
00040 class MirrorFilter
00041 {
00042 public:
00048 virtual bool shouldMirror(const PxActor &actor) = 0;
00049
00055 virtual bool shouldMirror(const PxShape &shape) = 0;
00056
00062 virtual void reviseMirrorShape(physx::PxShape &shape) = 0;
00063
00069 virtual void reviseMirrorActor(physx::PxActor &actor) = 0;
00070 };
00071
00078 virtual void synchronizePrimaryScene(const PxVec3 &cameraPos) = 0;
00079
00086 virtual void synchronizeMirrorScene(void) = 0;
00087
00092 virtual void release(void) = 0;
00093
00094 };
00095
00096 };
00097 };
00098
00099 #endif