![]() |
TAPs 0.7.7.3
|
00001 /****************************************************************************** 00002 TAPsCDFnsForRooms.hpp 00003 ******************************************************************************/ 00007 /****************************************************************************** 00008 SUKITTI PUNAK (08/30/2010) 00009 UPDATE (09/02/2010) 00010 ******************************************************************************/ 00011 #ifndef TAPs_CD_FNS_FOR_ROOMS_HPP 00012 #define TAPs_CD_FNS_FOR_ROOMS_HPP 00013 00014 //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 00015 00016 #include "TAPsCDFnsGlobalStuff.hpp" 00017 //#include "../TAPsMultiBoundingVolume.hpp" 00018 //#include "../../Support/TAPsInteractionPointGroup.hpp" 00019 //#include "../../Model/Structures/TAPsRoomBasic.hpp" 00020 00021 BEGIN_NAMESPACE_TAPs__CD__Fn 00022 //============================================================================= 00023 //----------------------------------------------------------------------------- 00024 00025 // CDR for Room Basic with Bounding Volume 00026 //----------------------------------------------------------------------------- 00027 #if ( defined TAPs_ROOM_BASIC_HPP && defined TAPs_BOUNDING_VOLUME_HPP ) 00028 00035 template <typename T> 00036 bool CD_RoomBasic_with_BoundingVolume ( 00037 RoomBasic<T> * const pRoom, 00038 BoundingVolume<T> * const pBV, 00039 std::vector< PointForce<T> > & ListOfPointForces, 00040 TransformationSupport<T> * const pTrx_Room = NULL, 00041 TransformationSupport<T> * const pTrx_BV = NULL 00042 ); 00043 #endif//#if ( defined TAPs_ROOM_BASIC_HPP && defined TAPs_BOUNDING_VOLUME_HPP ) 00044 //----------------------------------------------------------------------------- 00045 00046 // CDR for Room Basic with Multi Bounding Volume 00047 //----------------------------------------------------------------------------- 00048 #if ( defined TAPs_ROOM_BASIC_HPP && defined TAPs_MULTI_BOUNDING_VOLUME_HPP ) 00049 00056 template <typename T> 00057 bool CD_RoomBasic_with_MultiBoundingVolume ( 00058 RoomBasic<T> * const pRoom, 00059 MultiBoundingVolume<T> * const pMBV, 00060 std::vector< PointForce<T> > & ListOfPointForces, 00061 TransformationSupport<T> * const pTrx_Room = NULL, 00062 TransformationSupport<T> * const pTrx_MBV = NULL 00063 ); 00064 #endif//#if ( defined TAPs_ROOM_BASIC_HPP && defined TAPs_MULTI_BOUNDING_VOLUME_HPP ) 00065 //----------------------------------------------------------------------------- 00066 00067 00068 // Helper Functions 00069 //----------------------------------------------------------------------------- 00070 #if ( defined TAPs_ROOM_BASIC_HPP && defined TAPs_BOUNDING_VOLUME_HPP ) 00071 #endif//#if ( defined TAPs_ROOM_BASIC_HPP && defined TAPs_BOUNDING_VOLUME_HPP ) 00072 //----------------------------------------------------------------------------- 00073 00074 00075 //============================================================================= 00076 END_NAMESPACE_TAPs__CD__Fn 00077 //----------------------------------------------------------------------------- 00078 #include "TAPsCDFnsForRooms.cpp" 00079 //----------------------------------------------------------------------------- 00080 #endif 00081 //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 00082 //34567890123456789012345678901234567890123456789012345678901234567890123456789 00083 //--+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----