-
Notifications
You must be signed in to change notification settings - Fork 43
/
Copy pathRcppExports.cpp
165 lines (158 loc) · 6.95 KB
/
RcppExports.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
// Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
#include <RcppThread.h>
#include <Rcpp.h>
using namespace Rcpp;
#ifdef RCPP_USE_GLOBAL_ROSTREAM
Rcpp::Rostream<true>& Rcpp::Rcout = Rcpp::Rcpp_cout_get();
Rcpp::Rostream<false>& Rcpp::Rcerr = Rcpp::Rcpp_cerr_get();
#endif
// PrintClassSizes
void PrintClassSizes();
RcppExport SEXP _rayrender_PrintClassSizes() {
BEGIN_RCPP
Rcpp::RNGScope rcpp_rngScope_gen;
PrintClassSizes();
return R_NilValue;
END_RCPP
}
// has_gui_capability
bool has_gui_capability();
RcppExport SEXP _rayrender_has_gui_capability() {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
rcpp_result_gen = Rcpp::wrap(has_gui_capability());
return rcpp_result_gen;
END_RCPP
}
// cppdef_HAS_OIDN
bool cppdef_HAS_OIDN();
RcppExport SEXP _rayrender_cppdef_HAS_OIDN() {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
rcpp_result_gen = Rcpp::wrap(cppdef_HAS_OIDN());
return rcpp_result_gen;
END_RCPP
}
// cppdef_HAS_NEON
bool cppdef_HAS_NEON();
RcppExport SEXP _rayrender_cppdef_HAS_NEON() {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
rcpp_result_gen = Rcpp::wrap(cppdef_HAS_NEON());
return rcpp_result_gen;
END_RCPP
}
// cppdef_HAS_SSE
bool cppdef_HAS_SSE();
RcppExport SEXP _rayrender_cppdef_HAS_SSE() {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
rcpp_result_gen = Rcpp::wrap(cppdef_HAS_SSE());
return rcpp_result_gen;
END_RCPP
}
// cppdef_HAS_SSE2
bool cppdef_HAS_SSE2();
RcppExport SEXP _rayrender_cppdef_HAS_SSE2() {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
rcpp_result_gen = Rcpp::wrap(cppdef_HAS_SSE2());
return rcpp_result_gen;
END_RCPP
}
// cppdef_HAS_SSE3
bool cppdef_HAS_SSE3();
RcppExport SEXP _rayrender_cppdef_HAS_SSE3() {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
rcpp_result_gen = Rcpp::wrap(cppdef_HAS_SSE3());
return rcpp_result_gen;
END_RCPP
}
// cppdef_HAS_SSE41
bool cppdef_HAS_SSE41();
RcppExport SEXP _rayrender_cppdef_HAS_SSE41() {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
rcpp_result_gen = Rcpp::wrap(cppdef_HAS_SSE41());
return rcpp_result_gen;
END_RCPP
}
// render_animation_rcpp
void render_animation_rcpp(List scene, List camera_info, List scene_info, List render_info, List camera_movement, int start_frame, int end_frame, CharacterVector filenames, Function post_process_frame, int toneval, bool bloom, bool write_image, bool transparent_background);
RcppExport SEXP _rayrender_render_animation_rcpp(SEXP sceneSEXP, SEXP camera_infoSEXP, SEXP scene_infoSEXP, SEXP render_infoSEXP, SEXP camera_movementSEXP, SEXP start_frameSEXP, SEXP end_frameSEXP, SEXP filenamesSEXP, SEXP post_process_frameSEXP, SEXP tonevalSEXP, SEXP bloomSEXP, SEXP write_imageSEXP, SEXP transparent_backgroundSEXP) {
BEGIN_RCPP
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< List >::type scene(sceneSEXP);
Rcpp::traits::input_parameter< List >::type camera_info(camera_infoSEXP);
Rcpp::traits::input_parameter< List >::type scene_info(scene_infoSEXP);
Rcpp::traits::input_parameter< List >::type render_info(render_infoSEXP);
Rcpp::traits::input_parameter< List >::type camera_movement(camera_movementSEXP);
Rcpp::traits::input_parameter< int >::type start_frame(start_frameSEXP);
Rcpp::traits::input_parameter< int >::type end_frame(end_frameSEXP);
Rcpp::traits::input_parameter< CharacterVector >::type filenames(filenamesSEXP);
Rcpp::traits::input_parameter< Function >::type post_process_frame(post_process_frameSEXP);
Rcpp::traits::input_parameter< int >::type toneval(tonevalSEXP);
Rcpp::traits::input_parameter< bool >::type bloom(bloomSEXP);
Rcpp::traits::input_parameter< bool >::type write_image(write_imageSEXP);
Rcpp::traits::input_parameter< bool >::type transparent_background(transparent_backgroundSEXP);
render_animation_rcpp(scene, camera_info, scene_info, render_info, camera_movement, start_frame, end_frame, filenames, post_process_frame, toneval, bloom, write_image, transparent_background);
return R_NilValue;
END_RCPP
}
// render_scene_rcpp
List render_scene_rcpp(List scene, List camera_info, List scene_info, List render_info);
RcppExport SEXP _rayrender_render_scene_rcpp(SEXP sceneSEXP, SEXP camera_infoSEXP, SEXP scene_infoSEXP, SEXP render_infoSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< List >::type scene(sceneSEXP);
Rcpp::traits::input_parameter< List >::type camera_info(camera_infoSEXP);
Rcpp::traits::input_parameter< List >::type scene_info(scene_infoSEXP);
Rcpp::traits::input_parameter< List >::type render_info(render_infoSEXP);
rcpp_result_gen = Rcpp::wrap(render_scene_rcpp(scene, camera_info, scene_info, render_info));
return rcpp_result_gen;
END_RCPP
}
// tonemap_image
Rcpp::List tonemap_image(Rcpp::NumericMatrix routput, Rcpp::NumericMatrix goutput, Rcpp::NumericMatrix boutput, int toneval);
RcppExport SEXP _rayrender_tonemap_image(SEXP routputSEXP, SEXP goutputSEXP, SEXP boutputSEXP, SEXP tonevalSEXP) {
BEGIN_RCPP
Rcpp::RObject rcpp_result_gen;
Rcpp::RNGScope rcpp_rngScope_gen;
Rcpp::traits::input_parameter< Rcpp::NumericMatrix >::type routput(routputSEXP);
Rcpp::traits::input_parameter< Rcpp::NumericMatrix >::type goutput(goutputSEXP);
Rcpp::traits::input_parameter< Rcpp::NumericMatrix >::type boutput(boutputSEXP);
Rcpp::traits::input_parameter< int >::type toneval(tonevalSEXP);
rcpp_result_gen = Rcpp::wrap(tonemap_image(routput, goutput, boutput, toneval));
return rcpp_result_gen;
END_RCPP
}
RcppExport SEXP run_testthat_tests(SEXP);
static const R_CallMethodDef CallEntries[] = {
{"_rayrender_PrintClassSizes", (DL_FUNC) &_rayrender_PrintClassSizes, 0},
{"_rayrender_has_gui_capability", (DL_FUNC) &_rayrender_has_gui_capability, 0},
{"_rayrender_cppdef_HAS_OIDN", (DL_FUNC) &_rayrender_cppdef_HAS_OIDN, 0},
{"_rayrender_cppdef_HAS_NEON", (DL_FUNC) &_rayrender_cppdef_HAS_NEON, 0},
{"_rayrender_cppdef_HAS_SSE", (DL_FUNC) &_rayrender_cppdef_HAS_SSE, 0},
{"_rayrender_cppdef_HAS_SSE2", (DL_FUNC) &_rayrender_cppdef_HAS_SSE2, 0},
{"_rayrender_cppdef_HAS_SSE3", (DL_FUNC) &_rayrender_cppdef_HAS_SSE3, 0},
{"_rayrender_cppdef_HAS_SSE41", (DL_FUNC) &_rayrender_cppdef_HAS_SSE41, 0},
{"_rayrender_render_animation_rcpp", (DL_FUNC) &_rayrender_render_animation_rcpp, 13},
{"_rayrender_render_scene_rcpp", (DL_FUNC) &_rayrender_render_scene_rcpp, 4},
{"_rayrender_tonemap_image", (DL_FUNC) &_rayrender_tonemap_image, 4},
{"run_testthat_tests", (DL_FUNC) &run_testthat_tests, 1},
{NULL, NULL, 0}
};
RcppExport void R_init_rayrender(DllInfo *dll) {
R_registerRoutines(dll, NULL, CallEntries, NULL, NULL);
R_useDynamicSymbols(dll, FALSE);
}