YafaRay Core  v3.2.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
integr_utils.h
Go to the documentation of this file.
1 /****************************************************************************
2  * integr_utils.h: API for light integrator utilities
3  * This is part of the yafray package
4  * Copyright (C) 2006 Mathias Wein
5  *
6  * This library is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * This library is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with this library; if not, write to the Free Software
18  * Foundation,Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19  */
20 
21 #ifndef Y_INTEGR_UTILS_H
22 #define Y_INTEGR_UTILS_H
23 
24 #include <utilities/mcqmc.h>
25 #include <yafraycore/scr_halton.h>
26 #include <yafraycore/monitor.h>
27 #include <string>
28 
30 
31 class photonMap_t;
32 
33 //from common.cc
34 color_t estimateDirect_PH(renderState_t &state, const surfacePoint_t &sp, const std::vector<light_t *> &lights, scene_t *scene, const vector3d_t &wo, bool trShad, int sDepth);
35 color_t estimatePhotons(renderState_t &state, const surfacePoint_t &sp, const photonMap_t &map, const vector3d_t &wo, int nSearch, float radius);
36 
37 bool createCausticMap(const scene_t &scene, const std::vector<light_t *> &all_lights, photonMap_t &cMap, int depth, int count, progressBar_t *pb = nullptr, std::string intName = "None");
38 
40 
41 #endif // Y_INTEGR_UTILS_H
bool createCausticMap(const scene_t &scene, const std::vector< light_t * > &all_lights, photonMap_t &cMap, int depth, int count, progressBar_t *pb=nullptr, std::string intName="None")
color_t estimatePhotons(renderState_t &state, const surfacePoint_t &sp, const photonMap_t &map, const vector3d_t &wo, int nSearch, float radius)
#define __BEGIN_YAFRAY
Progress bar abstract class with pure virtual members.
Definition: monitor.h:9
Definition: scene.h:143
Definition: color.h:49
color_t estimateDirect_PH(renderState_t &state, const surfacePoint_t &sp, const std::vector< light_t * > &lights, scene_t *scene, const vector3d_t &wo, bool trShad, int sDepth)
#define __END_YAFRAY