Field3D
|
#include <MIPInterp.h>
Classes | |
struct | InterpInfo |
Public Types | |
typedef MIPField_T::NestedType | FieldType |
typedef FieldType::LinearInterp | LinearInterpType |
typedef FieldType::value_type | value_type |
Public Member Functions | |
MIPLinearInterp (const MIPField_T &mip) | |
Must be constructed with a MIP field to operate on. | |
value_type | sample (const V3d &vsP, const float wsSpotSize) const |
Performs interpolation. A MIP field interpolation requires a spot size (which may be zero, forcing a lookup in the 0-level field). | |
Private Member Functions | |
InterpInfo | interpInfo (const float wsSpotSize) const |
Computes between which levels to interpolate. | |
Private Attributes | |
LinearInterpType | m_interp |
Linear interpolator. | |
const MIPField_T & | m_mip |
Const reference to MIP field. | |
std::vector< float > | m_wsVoxelSize |
Min world space voxel size for each MIP level. | |
Definition at line 61 of file MIPInterp.h.
typedef MIPField_T::NestedType MIPLinearInterp< MIPField_T >::FieldType |
Definition at line 67 of file MIPInterp.h.
typedef FieldType::LinearInterp MIPLinearInterp< MIPField_T >::LinearInterpType |
Definition at line 68 of file MIPInterp.h.
typedef FieldType::value_type MIPLinearInterp< MIPField_T >::value_type |
Definition at line 69 of file MIPInterp.h.
MIPLinearInterp< MIPField_T >::MIPLinearInterp | ( | const MIPField_T & | mip | ) |
Must be constructed with a MIP field to operate on.
Definition at line 129 of file MIPInterp.h.
References FIELD3D_MTX_T, and MIPLinearInterp< MIPField_T >::m_wsVoxelSize.
MIPLinearInterp< MIPField_T >::value_type MIPLinearInterp< MIPField_T >::sample | ( | const V3d & | vsP, |
const float | wsSpotSize ) const |
Performs interpolation. A MIP field interpolation requires a spot size (which may be zero, forcing a lookup in the 0-level field).
Definition at line 147 of file MIPInterp.h.
References FIELD3D_LERP, and FIELD3D_MTX_T.
|
private |
Computes between which levels to interpolate.
Definition at line 178 of file MIPInterp.h.
References FIELD3D_LERPFACTOR, and FIELD3D_MTX_T.
|
private |
Const reference to MIP field.
Definition at line 116 of file MIPInterp.h.
|
private |
Min world space voxel size for each MIP level.
Definition at line 118 of file MIPInterp.h.
Referenced by MIPLinearInterp< MIPField_T >::MIPLinearInterp().
|
private |
Linear interpolator.
Definition at line 120 of file MIPInterp.h.