Definition at line 187 of file MIPUtil.h.
Definition at line 211 of file MIPUtil.h.
212 {
213 using namespace std;
214
215
216 typedef typename Field_T::value_type Data_T;
218
219
221
222
225
226
228
229
231 {
232 boost::mutex::scoped_lock lock(
m_mutex);
235 }
236
238
240
242
243 for (
int k =
box.min.z;
k <=
box.max.z; ++
k) {
244 for (
int j =
box.min.y;
j <=
box.max.y; ++
j) {
245 for (
int i =
box.min.x;
i <=
box.max.x; ++
i) {
248
251
255 static_cast<int>(std::ceil(
curSrc + support *
257
260
262
266
268
271
273
276 }
277 }
278
282 }
283 } else {
285
288
292 static_cast<int>(std::ceil(
curSrc + support *
294
297
299
303
305
308
310
313 }
314
318 }
319 }
320 }
321 }
322 }
323 }
324
325 {
326 boost::mutex::scoped_lock lock(
m_mutex);
329 }
330 }
331 }
double discToCont(int discCoord)
Goes from discrete coordinates to continuous coordinates See Graphics Gems - What is a pixel.
bool checkInputEmpty(const SparseField< Data_T > &src, const SparseField< Data_T > &, const Box3i &tgtBox, const float support, const size_t dim)
References detail::checkInputEmpty(), discToCont(), FIELD3D_MTX_T, detail::MIPSeparableThreadOp< Field_T, FilterOp_T, IsAnalytic_T >::m_add, detail::MIPSeparableThreadOp< Field_T, FilterOp_T, IsAnalytic_T >::m_blocks, detail::MIPSeparableThreadOp< Field_T, FilterOp_T, IsAnalytic_T >::m_dim, detail::MIPSeparableThreadOp< Field_T, FilterOp_T, IsAnalytic_T >::m_filterOp, detail::MIPSeparableThreadOp< Field_T, FilterOp_T, IsAnalytic_T >::m_mutex, detail::MIPSeparableThreadOp< Field_T, FilterOp_T, IsAnalytic_T >::m_nextIdx, detail::MIPSeparableThreadOp< Field_T, FilterOp_T, IsAnalytic_T >::m_numBlocks, detail::MIPSeparableThreadOp< Field_T, FilterOp_T, IsAnalytic_T >::m_src, and detail::MIPSeparableThreadOp< Field_T, FilterOp_T, IsAnalytic_T >::m_tgt.