PBRT
/home/felix/UBC/projects/AdaptiveLightfieldSampling/pbrt_v2/src/core/probes.h
00001 
00002 /*
00003     pbrt source code Copyright(c) 1998-2012 Matt Pharr and Greg Humphreys.
00004 
00005     This file is part of pbrt.
00006 
00007     Redistribution and use in source and binary forms, with or without
00008     modification, are permitted provided that the following conditions are
00009     met:
00010 
00011     - Redistributions of source code must retain the above copyright
00012       notice, this list of conditions and the following disclaimer.
00013 
00014     - Redistributions in binary form must reproduce the above copyright
00015       notice, this list of conditions and the following disclaimer in the
00016       documentation and/or other materials provided with the distribution.
00017 
00018     THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
00019     IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
00020     TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A
00021     PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
00022     HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
00023     SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
00024     LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
00025     DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
00026     THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
00027     (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
00028     OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
00029 
00030  */
00031 
00032 #if defined(_MSC_VER)
00033 #pragma once
00034 #endif
00035 
00036 #ifndef PBRT_CORE_PROBES_H
00037 #define PBRT_CORE_PROBES_H
00038 
00039 // core/probes.h*
00040 #include "pbrt.h"
00041 #ifdef PBRT_PROBES_DTRACE
00042 #include "core/dtrace.h"
00043 inline void ProbesCleanup() { }
00044 inline void ProbesPrint(FILE *) { }
00045 #endif // PBRT_PROBES_DTRACE
00046 
00047 #ifdef PBRT_PROBES_NONE
00048 inline void ProbesCleanup() { }
00049 inline void ProbesPrint(FILE *) { }
00050 
00051 // Statistics Disabled Declarations
00052 #define PBRT_STARTED_RAY_INTERSECTION(ray)
00053 #define PBRT_FINISHED_RAY_INTERSECTION(ray, isect, hit)
00054 #define PBRT_STARTED_RAY_INTERSECTIONP(ray)
00055 #define PBRT_FINISHED_RAY_INTERSECTIONP(ray, hit)
00056 
00057 // Remainder of disabled probes declarations
00058 #define PBRT_ACCESSED_TEXEL(arg0, arg1, arg2, arg3)
00059 #define PBRT_ALLOCATED_CACHED_TRANSFORM()
00060 #define PBRT_FOUND_CACHED_TRANSFORM()
00061 #define PBRT_ATOMIC_MEMORY_OP()
00062 #define PBRT_BVH_STARTED_CONSTRUCTION(arg0, arg1)
00063 #define PBRT_BVH_FINISHED_CONSTRUCTION(arg0)
00064 #define PBRT_BVH_INTERSECTION_STARTED(arg0, arg1)
00065 #define PBRT_BVH_INTERSECTION_TRAVERSED_INTERIOR_NODE(arg0)
00066 #define PBRT_BVH_INTERSECTION_TRAVERSED_LEAF_NODE(arg0)
00067 #define PBRT_BVH_INTERSECTION_PRIMITIVE_TEST(arg0)
00068 #define PBRT_BVH_INTERSECTION_PRIMITIVE_HIT(arg0)
00069 #define PBRT_BVH_INTERSECTION_PRIMITIVE_MISSED(arg0)
00070 #define PBRT_BVH_INTERSECTION_FINISHED()
00071 #define PBRT_BVH_INTERSECTIONP_STARTED(arg0, arg1)
00072 #define PBRT_BVH_INTERSECTIONP_TRAVERSED_INTERIOR_NODE(arg0)
00073 #define PBRT_BVH_INTERSECTIONP_TRAVERSED_LEAF_NODE(arg0)
00074 #define PBRT_BVH_INTERSECTIONP_PRIMITIVE_TEST(arg0)
00075 #define PBRT_BVH_INTERSECTIONP_PRIMITIVE_HIT(arg0)
00076 #define PBRT_BVH_INTERSECTIONP_PRIMITIVE_MISSED(arg0)
00077 #define PBRT_BVH_INTERSECTIONP_FINISHED()
00078 #define PBRT_CREATED_SHAPE(shape)
00079 #define PBRT_CREATED_TRIANGLE(tri)
00080 #define PBRT_FINISHED_GENERATING_CAMERA_RAY(arg0, arg1, arg2)
00081 #define PBRT_FINISHED_PARSING()
00082 #define PBRT_FINISHED_PREPROCESSING()
00083 #define PBRT_FINISHED_RENDERING()
00084 #define PBRT_FINISHED_RENDERTASK(arg0)
00085 #define PBRT_FINISHED_TASK(arg0)
00086 #define PBRT_FINISHED_ADDING_IMAGE_SAMPLE()
00087 #define PBRT_FINISHED_CAMERA_RAY_INTEGRATION(arg0, arg1, arg2)
00088 #define PBRT_FINISHED_EWA_TEXTURE_LOOKUP()
00089 #define PBRT_FINISHED_BSDF_SHADING(arg0, arg1)
00090 #define PBRT_FINISHED_BSSRDF_SHADING(arg0, arg1)
00091 #define PBRT_FINISHED_SPECULAR_REFLECTION_RAY(arg0)
00092 #define PBRT_FINISHED_SPECULAR_REFRACTION_RAY(arg0)
00093 #define PBRT_FINISHED_TRILINEAR_TEXTURE_LOOKUP()
00094 #define PBRT_GRID_BOUNDS_AND_RESOLUTION(arg0, arg1)
00095 #define PBRT_GRID_FINISHED_CONSTRUCTION(arg0)
00096 #define PBRT_GRID_INTERSECTIONP_TEST(arg0, arg1)
00097 #define PBRT_GRID_INTERSECTION_TEST(arg0, arg1)
00098 #define PBRT_GRID_RAY_MISSED_BOUNDS()
00099 #define PBRT_GRID_RAY_PRIMITIVE_HIT(arg0)
00100 #define PBRT_GRID_RAY_PRIMITIVE_INTERSECTIONP_TEST(arg0)
00101 #define PBRT_GRID_RAY_PRIMITIVE_INTERSECTION_TEST(arg0)
00102 #define PBRT_GRID_RAY_TRAVERSED_VOXEL(arg0, arg1)
00103 #define PBRT_GRID_STARTED_CONSTRUCTION(arg0, arg1)
00104 #define PBRT_GRID_VOXELIZED_PRIMITIVE(arg0, arg1)
00105 #define PBRT_IRRADIANCE_CACHE_ADDED_NEW_SAMPLE(arg0, arg1, arg2, arg3, arg4, arg5)
00106 #define PBRT_IRRADIANCE_CACHE_CHECKED_SAMPLE(arg0, arg1, arg2)
00107 #define PBRT_IRRADIANCE_CACHE_FINISHED_COMPUTING_IRRADIANCE(arg0, arg1)
00108 #define PBRT_IRRADIANCE_CACHE_FINISHED_INTERPOLATION(arg0, arg1, arg2, arg3)
00109 #define PBRT_IRRADIANCE_CACHE_FINISHED_RAY(arg0, arg1, arg2)
00110 #define PBRT_IRRADIANCE_CACHE_STARTED_COMPUTING_IRRADIANCE(arg0, arg1)
00111 #define PBRT_IRRADIANCE_CACHE_STARTED_INTERPOLATION(arg0, arg1)
00112 #define PBRT_IRRADIANCE_CACHE_STARTED_RAY(arg0)
00113 #define PBRT_KDTREE_CREATED_INTERIOR_NODE(arg0, arg1)
00114 #define PBRT_KDTREE_CREATED_LEAF(arg0, arg1)
00115 #define PBRT_KDTREE_FINISHED_CONSTRUCTION(arg0)
00116 #define PBRT_KDTREE_INTERSECTIONP_PRIMITIVE_TEST(arg0)
00117 #define PBRT_KDTREE_INTERSECTION_PRIMITIVE_TEST(arg0)
00118 #define PBRT_KDTREE_INTERSECTIONP_HIT(arg0)
00119 #define PBRT_KDTREE_INTERSECTIONP_MISSED()
00120 #define PBRT_KDTREE_INTERSECTIONP_TEST(arg0, arg1)
00121 #define PBRT_KDTREE_INTERSECTION_FINISHED()
00122 #define PBRT_KDTREE_INTERSECTION_HIT(arg0)
00123 #define PBRT_KDTREE_INTERSECTION_TEST(arg0, arg1)
00124 #define PBRT_KDTREE_RAY_MISSED_BOUNDS()
00125 #define PBRT_KDTREE_STARTED_CONSTRUCTION(arg0, arg1)
00126 #define PBRT_KDTREE_INTERSECTION_TRAVERSED_INTERIOR_NODE(arg0)
00127 #define PBRT_KDTREE_INTERSECTION_TRAVERSED_LEAF_NODE(arg0, arg1)
00128 #define PBRT_KDTREE_INTERSECTIONP_TRAVERSED_INTERIOR_NODE(arg0)
00129 #define PBRT_KDTREE_INTERSECTIONP_TRAVERSED_LEAF_NODE(arg0, arg1)
00130 #define PBRT_LOADED_IMAGE_MAP(arg0, arg1, arg2, arg3, arg4)
00131 #define PBRT_MIPMAP_EWA_FILTER(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
00132 #define PBRT_MIPMAP_TRILINEAR_FILTER(arg0, arg1, arg2, arg3, arg4, arg5)
00133 #define PBRT_MLT_ACCEPTED_MUTATION(arg0, arg1, arg2)
00134 #define PBRT_MLT_REJECTED_MUTATION(arg0, arg1, arg2)
00135 #define PBRT_MLT_STARTED_MLT_TASK(arg0)
00136 #define PBRT_MLT_FINISHED_MLT_TASK(arg0)
00137 #define PBRT_MLT_STARTED_RENDERING()
00138 #define PBRT_MLT_FINISHED_RENDERING()
00139 #define PBRT_MLT_STARTED_DIRECTLIGHTING()
00140 #define PBRT_MLT_FINISHED_DIRECTLIGHTING()
00141 #define PBRT_MLT_STARTED_BOOTSTRAPPING(count)
00142 #define PBRT_MLT_FINISHED_BOOTSTRAPPING(b)
00143 #define PBRT_MLT_STARTED_MUTATION()
00144 #define PBRT_MLT_FINISHED_MUTATION()
00145 #define PBRT_MLT_STARTED_SAMPLE_SPLAT()
00146 #define PBRT_MLT_FINISHED_SAMPLE_SPLAT()
00147 #define PBRT_MLT_STARTED_GENERATE_PATH()
00148 #define PBRT_MLT_FINISHED_GENERATE_PATH()
00149 #define PBRT_MLT_STARTED_LPATH()
00150 #define PBRT_MLT_FINISHED_LPATH()
00151 #define PBRT_MLT_STARTED_LBIDIR()
00152 #define PBRT_MLT_FINISHED_LBIDIR()
00153 #define PBRT_MLT_STARTED_TASK_INIT()
00154 #define PBRT_MLT_FINISHED_TASK_INIT()
00155 #define PBRT_MLT_STARTED_SAMPLE_LIGHT_FOR_BIDIR()
00156 #define PBRT_MLT_FINISHED_SAMPLE_LIGHT_FOR_BIDIR()
00157 #define PBRT_MLT_STARTED_DISPLAY_UPDATE()
00158 #define PBRT_MLT_FINISHED_DISPLAY_UPDATE()
00159 #define PBRT_MLT_STARTED_ESTIMATE_DIRECT()
00160 #define PBRT_MLT_FINISHED_ESTIMATE_DIRECT()
00161 #define PBRT_PHOTON_MAP_DEPOSITED_CAUSTIC_PHOTON(arg0, arg1, arg2)
00162 #define PBRT_PHOTON_MAP_DEPOSITED_DIRECT_PHOTON(arg0, arg1, arg2)
00163 #define PBRT_PHOTON_MAP_DEPOSITED_INDIRECT_PHOTON(arg0, arg1, arg2)
00164 #define PBRT_PHOTON_MAP_FINISHED_GATHER_RAY(arg0)
00165 #define PBRT_PHOTON_MAP_FINISHED_LOOKUP(arg0, arg1, arg2, arg3)
00166 #define PBRT_PHOTON_MAP_FINISHED_RAY_PATH(arg0, arg1)
00167 #define PBRT_PHOTON_MAP_STARTED_GATHER_RAY(arg0)
00168 #define PBRT_PHOTON_MAP_STARTED_LOOKUP(arg0)
00169 #define PBRT_PHOTON_MAP_STARTED_RAY_PATH(arg0, arg1)
00170 #define PBRT_RAY_TRIANGLE_INTERSECTIONP_HIT(arg0, arg1)
00171 #define PBRT_RAY_TRIANGLE_INTERSECTIONP_TEST(arg0, arg1)
00172 #define PBRT_RAY_TRIANGLE_INTERSECTION_HIT(arg0, arg1)
00173 #define PBRT_RAY_TRIANGLE_INTERSECTION_TEST(arg0, arg1)
00174 #define PBRT_SAMPLE_OUTSIDE_IMAGE_EXTENT(arg0)
00175 #define PBRT_STARTED_ADDING_IMAGE_SAMPLE(arg0, arg1, arg2, arg3)
00176 #define PBRT_STARTED_CAMERA_RAY_INTEGRATION(arg0, arg1)
00177 #define PBRT_STARTED_EWA_TEXTURE_LOOKUP(arg0, arg1)
00178 #define PBRT_STARTED_GENERATING_CAMERA_RAY(arg0)
00179 #define PBRT_STARTED_PARSING()
00180 #define PBRT_STARTED_PREPROCESSING()
00181 #define PBRT_STARTED_RENDERING()
00182 #define PBRT_STARTED_RENDERTASK(arg0)
00183 #define PBRT_STARTED_BSDF_SHADING(arg0)
00184 #define PBRT_STARTED_BSSRDF_SHADING(arg0)
00185 #define PBRT_STARTED_SPECULAR_REFLECTION_RAY(arg0)
00186 #define PBRT_STARTED_SPECULAR_REFRACTION_RAY(arg0)
00187 #define PBRT_STARTED_TASK(arg0)
00188 #define PBRT_STARTED_TRILINEAR_TEXTURE_LOOKUP(arg0, arg1)
00189 #define PBRT_SUBSURFACE_ADDED_INTERIOR_CONTRIBUTION(arg0)
00190 #define PBRT_SUBSURFACE_ADDED_POINT_CONTRIBUTION(arg0)
00191 #define PBRT_SUBSURFACE_ADDED_POINT_TO_OCTREE(arg0, arg1)
00192 #define PBRT_SUBSURFACE_COMPUTED_IRRADIANCE_AT_POINT(arg0, arg1)
00193 #define PBRT_SUBSURFACE_FINISHED_COMPUTING_IRRADIANCE_VALUES()
00194 #define PBRT_SUBSURFACE_FINISHED_OCTREE_LOOKUP()
00195 #define PBRT_SUBSURFACE_FINISHED_RAYS_FOR_POINTS(arg0, arg1)
00196 #define PBRT_SUBSURFACE_STARTED_COMPUTING_IRRADIANCE_VALUES()
00197 #define PBRT_SUBSURFACE_STARTED_OCTREE_LOOKUP(arg0)
00198 #define PBRT_SUBSURFACE_STARTED_RAYS_FOR_POINTS()
00199 #define PBRT_SUPERSAMPLE_PIXEL_NO(arg0, arg1)
00200 #define PBRT_SUPERSAMPLE_PIXEL_YES(arg0, arg1)
00201 #define PBRT_RNG_STARTED_RANDOM_FLOAT()
00202 #define PBRT_RNG_FINISHED_RANDOM_FLOAT()
00203 #define PBRT_RNG_FINISHED_TABLEGEN()
00204 #define PBRT_RNG_STARTED_TABLEGEN()
00205 #define PBRT_STARTED_BSDF_EVAL()
00206 #define PBRT_FINISHED_BSDF_EVAL()
00207 #define PBRT_STARTED_BSDF_SAMPLE()
00208 #define PBRT_FINISHED_BSDF_SAMPLE()
00209 #define PBRT_STARTED_BSDF_PDF()
00210 #define PBRT_FINISHED_BSDF_PDF()
00211 #define PBRT_AREA_LIGHT_STARTED_SAMPLE()
00212 #define PBRT_AREA_LIGHT_FINISHED_SAMPLE()
00213 #define PBRT_INFINITE_LIGHT_STARTED_SAMPLE()
00214 #define PBRT_INFINITE_LIGHT_FINISHED_SAMPLE()
00215 #define PBRT_INFINITE_LIGHT_STARTED_PDF()
00216 #define PBRT_INFINITE_LIGHT_FINISHED_PDF()
00217 #endif // PBRT_PROBES_NONE
00218 
00219 #ifdef PBRT_PROBES_COUNTERS
00220 
00221 // Statistics Counters Declarations
00222 void ProbesPrint(FILE *dest);
00223 void ProbesCleanup();
00224 class Triangle;
00225 extern void PBRT_CREATED_SHAPE(Shape *);
00226 extern void PBRT_CREATED_TRIANGLE(Triangle *);
00227 extern void PBRT_STARTED_GENERATING_CAMERA_RAY(const struct CameraSample *);
00228 extern void PBRT_KDTREE_CREATED_INTERIOR_NODE(int axis, float split);
00229 extern void PBRT_KDTREE_CREATED_LEAF(int nprims, int depth);
00230 #if 1
00231 extern void PBRT_RAY_TRIANGLE_INTERSECTION_TEST(const Ray *, const Triangle *);
00232 extern void PBRT_RAY_TRIANGLE_INTERSECTIONP_TEST(const Ray *, const Triangle *);
00233 extern void PBRT_RAY_TRIANGLE_INTERSECTION_HIT(const Ray *, float t);
00234 extern void PBRT_RAY_TRIANGLE_INTERSECTIONP_HIT(const Ray *, float t);
00235 #else
00236 #define PBRT_RAY_TRIANGLE_INTERSECTION_HIT(arg0, arg1)
00237 #define PBRT_RAY_TRIANGLE_INTERSECTION_TEST(arg0, arg1)
00238 #define PBRT_RAY_TRIANGLE_INTERSECTIONP_HIT(arg0, arg1)
00239 #define PBRT_RAY_TRIANGLE_INTERSECTIONP_TEST(arg0, arg1)
00240 #endif
00241 extern void PBRT_FINISHED_RAY_INTERSECTION(const Ray *, const Intersection *, int hit);
00242 extern void PBRT_FINISHED_RAY_INTERSECTIONP(const Ray *, int hit);
00243 extern void PBRT_STARTED_SPECULAR_REFLECTION_RAY(const RayDifferential *);
00244 extern void PBRT_STARTED_SPECULAR_REFRACTION_RAY(const RayDifferential *);
00245 #define PBRT_ACCESSED_TEXEL(arg0, arg1, arg2, arg3)
00246 #define PBRT_ALLOCATED_CACHED_TRANSFORM()
00247 #define PBRT_FOUND_CACHED_TRANSFORM()
00248 #define PBRT_ATOMIC_MEMORY_OP()
00249 #define PBRT_BVH_STARTED_CONSTRUCTION(arg0, arg1)
00250 #define PBRT_BVH_FINISHED_CONSTRUCTION(arg0)
00251 #define PBRT_BVH_INTERSECTION_STARTED(arg0, arg1)
00252 #define PBRT_BVH_INTERSECTION_TRAVERSED_INTERIOR_NODE(arg0)
00253 #define PBRT_BVH_INTERSECTION_TRAVERSED_LEAF_NODE(arg0)
00254 #define PBRT_BVH_INTERSECTION_PRIMITIVE_TEST(arg0)
00255 #define PBRT_BVH_INTERSECTION_PRIMITIVE_HIT(arg0)
00256 #define PBRT_BVH_INTERSECTION_PRIMITIVE_MISSED(arg0)
00257 #define PBRT_BVH_INTERSECTION_FINISHED()
00258 #define PBRT_BVH_INTERSECTIONP_STARTED(arg0, arg1)
00259 #define PBRT_BVH_INTERSECTIONP_TRAVERSED_INTERIOR_NODE(arg0)
00260 #define PBRT_BVH_INTERSECTIONP_TRAVERSED_LEAF_NODE(arg0)
00261 #define PBRT_BVH_INTERSECTIONP_PRIMITIVE_TEST(arg0)
00262 #define PBRT_BVH_INTERSECTIONP_PRIMITIVE_HIT(arg0)
00263 #define PBRT_BVH_INTERSECTIONP_PRIMITIVE_MISSED(arg0)
00264 #define PBRT_BVH_INTERSECTIONP_FINISHED()
00265 #define PBRT_FINISHED_PARSING()
00266 #define PBRT_FINISHED_PREPROCESSING()
00267 #define PBRT_FINISHED_RENDERING()
00268 #define PBRT_FINISHED_RENDERTASK(arg0)
00269 #define PBRT_FINISHED_TASK(arg0)
00270 #define PBRT_FINISHED_ADDING_IMAGE_SAMPLE()
00271 #define PBRT_FINISHED_CAMERA_RAY_INTEGRATION(arg0, arg1, arg2)
00272 #define PBRT_FINISHED_EWA_TEXTURE_LOOKUP()
00273 #define PBRT_FINISHED_GENERATING_CAMERA_RAY(arg0, arg1, arg2)
00274 #define PBRT_FINISHED_BSDF_SHADING(arg0, arg1)
00275 #define PBRT_FINISHED_BSSRDF_SHADING(arg0, arg1)
00276 #define PBRT_FINISHED_SPECULAR_REFLECTION_RAY(arg0)
00277 #define PBRT_FINISHED_SPECULAR_REFRACTION_RAY(arg0)
00278 #define PBRT_FINISHED_TRILINEAR_TEXTURE_LOOKUP()
00279 #define PBRT_GRID_BOUNDS_AND_RESOLUTION(arg0, arg1)
00280 #define PBRT_GRID_FINISHED_CONSTRUCTION(arg0)
00281 #define PBRT_GRID_INTERSECTIONP_TEST(arg0, arg1)
00282 #define PBRT_GRID_INTERSECTION_TEST(arg0, arg1)
00283 #define PBRT_GRID_RAY_MISSED_BOUNDS()
00284 #define PBRT_GRID_RAY_PRIMITIVE_HIT(arg0)
00285 #define PBRT_GRID_RAY_PRIMITIVE_INTERSECTIONP_TEST(arg0)
00286 #define PBRT_GRID_RAY_PRIMITIVE_INTERSECTION_TEST(arg0)
00287 #define PBRT_GRID_RAY_TRAVERSED_VOXEL(arg0, arg1)
00288 #define PBRT_GRID_STARTED_CONSTRUCTION(arg0, arg1)
00289 #define PBRT_GRID_VOXELIZED_PRIMITIVE(arg0, arg1)
00290 #define PBRT_IRRADIANCE_CACHE_ADDED_NEW_SAMPLE(arg0, arg1, arg2, arg3, arg4, arg5)
00291 #define PBRT_IRRADIANCE_CACHE_CHECKED_SAMPLE(arg0, arg1, arg2)
00292 #define PBRT_IRRADIANCE_CACHE_FINISHED_COMPUTING_IRRADIANCE(arg0, arg1)
00293 #define PBRT_IRRADIANCE_CACHE_FINISHED_INTERPOLATION(arg0, arg1, arg2, arg3)
00294 #define PBRT_IRRADIANCE_CACHE_FINISHED_RAY(arg0, arg1, arg2)
00295 #define PBRT_IRRADIANCE_CACHE_STARTED_COMPUTING_IRRADIANCE(arg0, arg1)
00296 #define PBRT_IRRADIANCE_CACHE_STARTED_INTERPOLATION(arg0, arg1)
00297 #define PBRT_IRRADIANCE_CACHE_STARTED_RAY(arg0)
00298 #define PBRT_KDTREE_FINISHED_CONSTRUCTION(arg0)
00299 #define PBRT_KDTREE_INTERSECTIONP_PRIMITIVE_TEST(arg0)
00300 #define PBRT_KDTREE_INTERSECTION_PRIMITIVE_TEST(arg0)
00301 #define PBRT_KDTREE_INTERSECTIONP_HIT(arg0)
00302 #define PBRT_KDTREE_INTERSECTIONP_MISSED()
00303 #define PBRT_KDTREE_INTERSECTIONP_TEST(arg0, arg1)
00304 #define PBRT_KDTREE_INTERSECTION_FINISHED()
00305 #define PBRT_KDTREE_INTERSECTION_HIT(arg0)
00306 #define PBRT_KDTREE_INTERSECTION_TEST(arg0, arg1)
00307 #define PBRT_KDTREE_RAY_MISSED_BOUNDS()
00308 #define PBRT_KDTREE_STARTED_CONSTRUCTION(arg0, arg1)
00309 #define PBRT_KDTREE_INTERSECTION_TRAVERSED_INTERIOR_NODE(arg0)
00310 #define PBRT_KDTREE_INTERSECTION_TRAVERSED_LEAF_NODE(arg0, arg1)
00311 #define PBRT_KDTREE_INTERSECTIONP_TRAVERSED_INTERIOR_NODE(arg0)
00312 #define PBRT_KDTREE_INTERSECTIONP_TRAVERSED_LEAF_NODE(arg0, arg1)
00313 #define PBRT_LOADED_IMAGE_MAP(arg0, arg1, arg2, arg3, arg4)
00314 #define PBRT_MIPMAP_EWA_FILTER(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10)
00315 #define PBRT_MIPMAP_TRILINEAR_FILTER(arg0, arg1, arg2, arg3, arg4, arg5)
00316 #define PBRT_MLT_ACCEPTED_MUTATION(arg0, arg1, arg2)
00317 #define PBRT_MLT_REJECTED_MUTATION(arg0, arg1, arg2)
00318 #define PBRT_MLT_STARTED_MLT_TASK(arg0)
00319 #define PBRT_MLT_FINISHED_MLT_TASK(arg0)
00320 #define PBRT_MLT_STARTED_RENDERING()
00321 #define PBRT_MLT_FINISHED_RENDERING()
00322 #define PBRT_MLT_STARTED_DIRECTLIGHTING()
00323 #define PBRT_MLT_FINISHED_DIRECTLIGHTING()
00324 #define PBRT_MLT_STARTED_BOOTSTRAPPING(count)
00325 #define PBRT_MLT_FINISHED_BOOTSTRAPPING(b)
00326 #define PBRT_MLT_STARTED_MUTATION()
00327 #define PBRT_MLT_FINISHED_MUTATION()
00328 #define PBRT_MLT_STARTED_SAMPLE_SPLAT()
00329 #define PBRT_MLT_FINISHED_SAMPLE_SPLAT()
00330 #define PBRT_MLT_STARTED_GENERATE_PATH()
00331 #define PBRT_MLT_FINISHED_GENERATE_PATH()
00332 #define PBRT_MLT_STARTED_LPATH()
00333 #define PBRT_MLT_FINISHED_LPATH()
00334 #define PBRT_MLT_STARTED_LBIDIR()
00335 #define PBRT_MLT_FINISHED_LBIDIR()
00336 #define PBRT_MLT_STARTED_TASK_INIT()
00337 #define PBRT_MLT_FINISHED_TASK_INIT()
00338 #define PBRT_MLT_STARTED_SAMPLE_LIGHT_FOR_BIDIR()
00339 #define PBRT_MLT_FINISHED_SAMPLE_LIGHT_FOR_BIDIR()
00340 #define PBRT_MLT_STARTED_DISPLAY_UPDATE()
00341 #define PBRT_MLT_FINISHED_DISPLAY_UPDATE()
00342 #define PBRT_MLT_STARTED_ESTIMATE_DIRECT()
00343 #define PBRT_MLT_FINISHED_ESTIMATE_DIRECT()
00344 #define PBRT_PHOTON_MAP_DEPOSITED_CAUSTIC_PHOTON(arg0, arg1, arg2)
00345 #define PBRT_PHOTON_MAP_DEPOSITED_DIRECT_PHOTON(arg0, arg1, arg2)
00346 #define PBRT_PHOTON_MAP_DEPOSITED_INDIRECT_PHOTON(arg0, arg1, arg2)
00347 #define PBRT_PHOTON_MAP_FINISHED_GATHER_RAY(arg0)
00348 #define PBRT_PHOTON_MAP_FINISHED_LOOKUP(arg0, arg1, arg2, arg3)
00349 #define PBRT_PHOTON_MAP_FINISHED_RAY_PATH(arg0, arg1)
00350 #define PBRT_PHOTON_MAP_STARTED_GATHER_RAY(arg0)
00351 #define PBRT_PHOTON_MAP_STARTED_LOOKUP(arg0)
00352 #define PBRT_PHOTON_MAP_STARTED_RAY_PATH(arg0, arg1)
00353 #define PBRT_SAMPLE_OUTSIDE_IMAGE_EXTENT(arg0)
00354 #define PBRT_STARTED_ADDING_IMAGE_SAMPLE(arg0, arg1, arg2, arg3)
00355 #define PBRT_STARTED_CAMERA_RAY_INTEGRATION(arg0, arg1)
00356 #define PBRT_STARTED_EWA_TEXTURE_LOOKUP(arg0, arg1)
00357 #define PBRT_STARTED_PARSING()
00358 #define PBRT_STARTED_PREPROCESSING()
00359 #define PBRT_STARTED_RAY_INTERSECTION(arg0)
00360 #define PBRT_STARTED_RAY_INTERSECTIONP(arg0)
00361 #define PBRT_STARTED_RENDERING()
00362 #define PBRT_STARTED_RENDERTASK(arg0)
00363 #define PBRT_STARTED_BSDF_SHADING(arg0)
00364 #define PBRT_STARTED_BSSRDF_SHADING(arg0)
00365 #define PBRT_STARTED_TASK(arg0)
00366 #define PBRT_STARTED_TRILINEAR_TEXTURE_LOOKUP(arg0, arg1)
00367 #define PBRT_SUBSURFACE_ADDED_INTERIOR_CONTRIBUTION(arg0)
00368 #define PBRT_SUBSURFACE_ADDED_POINT_CONTRIBUTION(arg0)
00369 #define PBRT_SUBSURFACE_ADDED_POINT_TO_OCTREE(arg0, arg1)
00370 #define PBRT_SUBSURFACE_COMPUTED_IRRADIANCE_AT_POINT(arg0, arg1)
00371 #define PBRT_SUBSURFACE_FINISHED_COMPUTING_IRRADIANCE_VALUES()
00372 #define PBRT_SUBSURFACE_FINISHED_OCTREE_LOOKUP()
00373 #define PBRT_SUBSURFACE_FINISHED_RAYS_FOR_POINTS(arg0, arg1)
00374 #define PBRT_SUBSURFACE_STARTED_COMPUTING_IRRADIANCE_VALUES()
00375 #define PBRT_SUBSURFACE_STARTED_OCTREE_LOOKUP(arg0)
00376 #define PBRT_SUBSURFACE_STARTED_RAYS_FOR_POINTS()
00377 #define PBRT_SUPERSAMPLE_PIXEL_NO(arg0, arg1)
00378 #define PBRT_SUPERSAMPLE_PIXEL_YES(arg0, arg1)
00379 #define PBRT_RNG_STARTED_RANDOM_FLOAT()
00380 #define PBRT_RNG_FINISHED_RANDOM_FLOAT()
00381 #define PBRT_RNG_FINISHED_TABLEGEN()
00382 #define PBRT_RNG_STARTED_TABLEGEN()
00383 #define PBRT_STARTED_BSDF_EVAL()
00384 #define PBRT_FINISHED_BSDF_EVAL()
00385 #define PBRT_STARTED_BSDF_SAMPLE()
00386 #define PBRT_FINISHED_BSDF_SAMPLE()
00387 #define PBRT_STARTED_BSDF_PDF()
00388 #define PBRT_FINISHED_BSDF_PDF()
00389 #define PBRT_AREA_LIGHT_STARTED_SAMPLE()
00390 #define PBRT_AREA_LIGHT_FINISHED_SAMPLE()
00391 #define PBRT_INFINITE_LIGHT_STARTED_SAMPLE()
00392 #define PBRT_INFINITE_LIGHT_FINISHED_SAMPLE()
00393 #define PBRT_INFINITE_LIGHT_STARTED_PDF()
00394 #define PBRT_INFINITE_LIGHT_FINISHED_PDF()
00395 #endif // PBRT_PROBES_COUNTERS
00396 
00397 #endif // PBRT_CORE_PROBES_H