APEX Framework: MirrorScene.h Source File

NVIDIA APEX

MirrorScene.h
Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2008-2017, NVIDIA CORPORATION.  All rights reserved.
00003  *
00004  * NVIDIA CORPORATION and its licensors retain all intellectual property
00005  * and proprietary rights in and to this software, related documentation
00006  * and any modifications thereto.  Any use, reproduction, disclosure or
00007  * distribution of this software and related documentation without an express
00008  * license agreement from NVIDIA CORPORATION is strictly prohibited.
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     }; // end of apex namespace
00097 }; // end of physx namespace
00098 
00099 #endif

Generated on Fri Dec 15 2017 13:58:35
Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.