Lightmetrica  0.0.1.50dbee3 (yosakoi)
 All Classes Functions Variables Typedefs Enumerations Enumerator
explicitpathtrace.h
1 /*
2  Lightmetrica : A research-oriented renderer
3 
4  Copyright (c) 2014 Hisanari Otsu (hi2p.perim@gmail.com)
5 
6  Permission is hereby granted, free of charge, to any person obtaining a copy
7  of this software and associated documentation files (the "Software"), to deal
8  in the Software without restriction, including without limitation the rights
9  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10  copies of the Software, and to permit persons to whom the Software is
11  furnished to do so, subject to the following conditions:
12 
13  The above copyright notice and this permission notice shall be included in
14  all copies or substantial portions of the Software.
15 
16  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
22  THE SOFTWARE.
23 */
24 
25 #pragma once
26 #ifndef LIB_LIGHTMETRICA_EXPLICIT_PATH_TRACE_H
27 #define LIB_LIGHTMETRICA_EXPLICIT_PATH_TRACE_H
28 
29 #include "renderer.h"
30 
31 LM_NAMESPACE_BEGIN
32 
38 class LM_PUBLIC_API ExplictPathtraceRenderer : public Renderer
39 {
40 public:
41 
43  virtual ~ExplictPathtraceRenderer();
44 
45 public:
46 
47  virtual bool Configure( const ConfigNode& node, const Assets& assets );
48  virtual std::string Type() const { return "explicitpt"; }
49  virtual bool Render( const Scene& scene );
50  virtual boost::signals2::connection Connect_ReportProgress( const std::function<void (double, bool ) >& func);
51 
52 public:
53 
54  class Impl;
55  Impl* p;
56 
57 };
58 
59 LM_NAMESPACE_END
60 
61 #endif // LIB_LIGHTMETRICA_EXPLICIT_PATH_TRACE_H
Definition: renderer.h:39
Definition: explicitpathtrace.cpp:149
Definition: scene.h:47
Definition: assets.h:39
Definition: confignode.h:37
virtual boost::signals2::connection Connect_ReportProgress(const std::function< void(double, bool)> &func)=0
virtual bool Configure(const ConfigNode &node, const Assets &assets, const Scene &scene, const RenderProcessScheduler &sched)=0
virtual std::string Type() const
Definition: explicitpathtrace.h:48