TAPs 0.7.7.3
TAPsSetup.hpp
Go to the documentation of this file.
00001 /******************************************************************************
00002 TAPsSetup.hpp
00003 
00004 A header file for including standard libraries.
00005 
00006 SUKITTI PUNAK   (06/19/2008)
00007 UPDATE          (04/16/2010)
00008 ******************************************************************************/
00009 
00019 #ifndef TAPs_SETUP_HPP
00020 #define TAPs_SETUP_HPP
00021 /*=============================================================================
00022 // Macro for namespace
00023 -------------------------------------------------------------------------------
00024 TAPs (Timesaving Application Programming)
00025 
00026 See Core/TAPsDef for defined namespaces.
00027 
00028 //=============================================================================
00029 // Preprocessing
00030 //-----------------------------------------------------------------------------
00031 // disable: "conversion from 'double' to 'float', possible loss of data
00032 //#pragma warning (disable : 4244)
00033 // disable: "truncation from 'double' to 'float'
00034 //#pragma warning (disable : 4305)
00035 //-----------------------------------------------------------------------------
00036 //=============================================================================
00037 
00038 //=============================================================================
00039 //-----------------------------------------------------------------------------
00043 //#define TAPs_USE_EXPORT
00044 //-----------------------------------------------------------------------------
00045 //=============================================================================
00046 
00047 //=============================================================================
00049 //-----------------------------------------------------------------------------
00050 //#define TAPs_USE_FLOAT            //!< Real is float, else Real is double
00051 //#define TAPs_USE_DOUBLE           //!< Real is double, else Real is double
00052 //#define TAPs_USE_LONG_DOUBLE  //!< Real is long double, else Real is double
00053 //-----------------------------------------------------------------------------
00054 //=============================================================================
00055 
00056 //=============================================================================
00058 //-----------------------------------------------------------------------------
00059 //#define   TAPs_DEBUG_MODE     //!< For showing TAPs debug messages
00060 //#define   TAPs_ENABLE_DEBUG   //!< An alias for TAPs_DEBUG_MODE
00061 //-------------------------------------------------------------------
00062 
00065 //---------------------------------------------------------
00067 //#define   TAPs_DEBUG_MODE_DETAIL_1
00069 //#define   TAPs_DEBUG_MODE_DETAIL_2
00071 //#define   TAPs_DEBUG_MODE_DETAIL_3
00073 //#define   TAPs_DEBUG_MODE_DETAIL_4
00075 //#define   TAPs_DEBUG_MODE_DETAIL_5
00076 //---------------------------------------------------------
00077 
00078 //-----------------------------------------------------------------------------
00079 //=============================================================================
00080 
00081 //=============================================================================
00083 //-----------------------------------------------------------------------------
00084 //#define TAPs_MAXIMIZE_SPEED
00085 //-----------------------------------------------------------------------------
00086 //=============================================================================
00087 
00088 //=============================================================================
00089 // Enable collision detection on/off status
00090 //-----------------------------------------------------------------------------
00099 //#define TAPs_ENABLE_COLLISION_DETECTION_ON_OFF_STATUS
00100 //-----------------------------------------------------------------------------
00101 //=============================================================================
00102 
00103 //=============================================================================
00105 //-----------------------------------------------------------------------------
00111 //#define TAPs_ENABLE_FACE_VERTEX_COLOR
00112 
00116 //#define TAPs_ENABLE_VERTEX_COLOR  // Future Work!
00117 //-----------------------------------------------------------------------------
00118 //=============================================================================
00119 
00120 //=============================================================================
00121 // Enable mesh models to support face's vertex texture coordinates (max 4 components for s, t, r, and q)
00122 //-----------------------------------------------------------------------------
00130 //#define TAPs_ENABLE_FACE_VERTEX_TEXTURE_COORDINATES
00131 
00135 //#define TAPs_ENABLE_VERTEX_TEXTURE_COORDINATES    // Future Work!
00136 //-----------------------------------------------------------------------------
00137 //=============================================================================
00138 
00139 //=============================================================================
00140 // Enable GLSL for rendering
00141 //-----------------------------------------------------------------------------
00148 //#define TAPs_RENDER_BY_GLSL_DS_FACE_VERTEX
00149     #ifdef  TAPs_RENDER_BY_GLSL_DS_FACE_VERTEX
00150         #define TAPs_ENABLE_FACE_VERTEX_COLOR                   // DO WE NEED IT???
00151         #define TAPs_ENABLE_FACE_VERTEX_TEXTURE_COORDINATES
00152     #endif//TAPs_RENDER_BY_GLSL_DS_FACE_VERTEX
00153 
00160 //#define TAPs_ENABLE_RENDERING_DS_VERTEX_BY_GLSL   // Future Work!
00161 #ifdef  TAPs_ENABLE_FACE_VERTEX_TEXTURE_COORDINATES
00162     #define TAPs_ENABLE_VERTEX_COLOR
00163     #define TAPs_ENABLE_VERTEX_TEXTURE_COORDINATES
00164 #endif//TAPs_ENABLE_FACE_VERTEX_TEXTURE_COORDINATES
00165 //-----------------------------------------------------------------------------
00166 //=============================================================================
00167 
00168 //=============================================================================
00169 // Enable mutlitexturing
00170 //-----------------------------------------------------------------------------
00174 //#define TAPs_ENABLE_MULTITEXTURING
00175 //-----------------------------------------------------------------------------
00176 //=============================================================================
00177 
00178 //=============================================================================
00179 // Enable centralized texture manager
00180 //-----------------------------------------------------------------------------
00187 //#define TAPs_ENABLE_CENTRALIZED_TEXTURE_MANAGER
00188 //-----------------------------------------------------------------------------
00189 //=============================================================================
00190 
00191 //=============================================================================
00193 //-----------------------------------------------------------------------------
00199 //#define TAPs_SUPPORT_ASE_FORMAT
00200 //-----------------------------------------------------------------------------
00201 //=============================================================================
00202 
00203 //=============================================================================
00205 //-----------------------------------------------------------------------------
00211 //#define TAPs_USE_DATA_POOL
00212 //-----------------------------------------------------------------------------
00213 //=============================================================================
00214 
00215 //=============================================================================
00217 //-----------------------------------------------------------------------------
00221 //#define TAPs_USE_CUDA
00222 //-----------------------------------------------------------------------------
00223 //=============================================================================
00224 
00225 //=============================================================================
00227 //-----------------------------------------------------------------------------
00228 //#define TAPs_COLLECT_DATA
00229 //-----------------------------------------------------------------------------
00230 //=============================================================================
00231 
00232 //=============================================================================
00234 //-----------------------------------------------------------------------------
00235 //#define TAPs_USE_WXWIDGETS
00236 //-----------------------------------------------------------------------------
00237 //=============================================================================
00238 
00239 //=============================================================================
00241 //-----------------------------------------------------------------------------
00242 //#define   TAPs_ADVANCED_SIMULATION
00243 //-----------------------------------------------------------------------------
00244 //=============================================================================
00245 
00246 //=============================================================================
00248 //-----------------------------------------------------------------------------
00249 //#define   TAPs_ADD_DEFORMABLE_MODEL_BASED_ON_FEM
00250 //-----------------------------------------------------------------------------
00251 //=============================================================================
00252 
00253 //-----------------------------------------------------------------------------
00254 //=============================================================================
00255 #endif//TAPs_SETUP_HPP
00256 //34567890123456789012345678901234567890123456789012345678901234567890123456789
00257 //--+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----
00258 
00259 
00260 //=============================================================================
00262 //-----------------------------------------------------------------------------
00263 
00264 //-----------------------------------------------------------------------------
00265 //=============================================================================
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines