Field3D
|
Contains MIP-related utility functions. More...
#include <vector>
#include <boost/thread/thread.hpp>
#include <boost/thread/mutex.hpp>
#include "Resample.h"
#include "SparseField.h"
#include "Types.h"
#include "ns.h"
Go to the source code of this file.
Classes | |
struct | detail::ComputationType< T > |
Used to delegate the choice of bit depth to process at. More... | |
struct | detail::ComputationType< Field3D::half > |
Specialization for half float. More... | |
struct | detail::MIPSeparableThreadOp< Field_T, FilterOp_T > |
Namespaces | |
detail | |
Functions | |
FIELD3D_API FieldMapping::Ptr | detail::adjustedMIPFieldMapping (const FieldMapping::Ptr baseMapping, const V3i &baseRes, const Box3i &extents, const size_t level) |
template<typename Data_T > | |
bool | detail::checkInputEmpty (const SparseField< Data_T > &src, const SparseField< Data_T > &, const Box3i &tgtBox, const float support, const size_t dim) |
template<typename Field_T > | |
bool | detail::checkInputEmpty (const Field_T &, const Field_T &, const Box3i &, const float, const size_t) |
Fallback version always returns false. More... | |
template<typename MIPField_T , typename Filter_T > | |
FIELD3D_NAMESPACE_OPEN MIPField_T::Ptr | makeMIP (const typename MIPField_T::NestedType &base, const int minSize, const size_t numThreads) |
Constructs a MIP representation of the given field. More... | |
template<typename MIPField_T , typename Filter_T > | |
MIPField_T::Ptr | makeMIP (const typename MIPField_T::NestedType &base, const int minSize, const size_t numThreads) |
Constructs a MIP representation of the given field. More... | |
template<typename Field_T , typename FilterOp_T > | |
void | detail::mipResample (const Field_T &base, const Field_T &src, Field_T &tgt, const size_t level, const FilterOp_T &filterOp, const size_t numThreads) |
FIELD3D_API V3i | detail::mipResolution (const V3i &baseRes, const size_t level) |
template<typename Field_T , typename FilterOp_T > | |
void | detail::mipSeparable (const Field_T &src, Field_T &tgt, const V3i &oldRes, const V3i &newRes, const size_t level, const FilterOp_T &filterOp, const size_t dim, const size_t numThreads) |
Threaded implementation of separable MIP filtering. More... | |
template<typename Data_T > | |
size_t | detail::threadingBlockSize (const DenseField< Data_T > &) |
Constant size for all dense fields. More... | |
template<typename Data_T > | |
size_t | detail::threadingBlockSize (const SparseField< Data_T > &f) |
Use block size for sparse fields. More... | |
Contains MIP-related utility functions.
Definition in file MIPUtil.h.
FIELD3D_NAMESPACE_OPEN MIPField_T::Ptr makeMIP | ( | const typename MIPField_T::NestedType & | base, |
const int | minSize, | ||
const size_t | numThreads | ||
) |
Constructs a MIP representation of the given field.
Definition at line 406 of file MIPUtil.h.
References FIELD3D_NAMESPACE_HEADER_CLOSE, and detail::mipResample().
MIPField_T::Ptr makeMIP | ( | const typename MIPField_T::NestedType & | base, |
const int | minSize, | ||
const size_t | numThreads | ||
) |
Constructs a MIP representation of the given field.
Definition at line 406 of file MIPUtil.h.
References FIELD3D_NAMESPACE_HEADER_CLOSE, and detail::mipResample().