OSSIM - Open Source Software Image Map
Version 1.9.0 (20180803)
|
#include <ossimFilterTable.h>
Public Member Functions | |
ossimFilterTable () | |
default constructor More... | |
~ossimFilterTable () | |
destructor More... | |
void | buildTable (ossim_uint32 filterSteps, const ossimFilter &filter) |
Builds a table with filter being used in both x and y direction. More... | |
void | buildTable (ossim_uint32 filterSteps, const ossimFilter &xFilter, const ossimFilter &yFilter) |
Builds a table. More... | |
ossim_uint32 | getWidthByHeight () const |
ossim_uint32 | getXSupport () const |
ossim_uint32 | getYSupport () const |
ossim_uint32 | getWidth () const |
ossim_uint32 | getHeight () const |
const double * | getClosestWeights (const double &x, const double &y) const |
Inlined below. More... | |
Protected Member Functions | |
void | allocateWeights () |
Creates the weight array "theWeights". More... | |
Protected Attributes | |
double * | theWeights |
ossim_uint32 | theWidth |
ossim_uint32 | theHeight |
ossim_uint32 | theWidthHeight |
ossim_uint32 | theXSupport |
ossim_uint32 | theYSupport |
ossim_uint32 | theFilterSteps |
Definition at line 19 of file ossimFilterTable.h.
ossimFilterTable::ossimFilterTable | ( | ) |
ossimFilterTable::~ossimFilterTable | ( | ) |
|
protected |
Creates the weight array "theWeights".
Will delete if previously allocated.
Definition at line 134 of file ossimFilterTable.cpp.
References size, theFilterSteps, theWeights, and theWidthHeight.
Referenced by buildTable().
void ossimFilterTable::buildTable | ( | ossim_uint32 | filterSteps, |
const ossimFilter & | filter | ||
) |
Builds a table with filter being used in both x and y direction.
Definition at line 36 of file ossimFilterTable.cpp.
Referenced by ossimFilterResampler::computeTable().
void ossimFilterTable::buildTable | ( | ossim_uint32 | filterSteps, |
const ossimFilter & | xFilter, | ||
const ossimFilter & | yFilter | ||
) |
Builds a table.
Definition at line 42 of file ossimFilterTable.cpp.
References allocateWeights(), ossimFilter::filter(), ossimFilter::getSupport(), theFilterSteps, theHeight, theWeights, theWidth, theWidthHeight, theXSupport, theYSupport, x, and y.
|
inline |
Inlined below.
Method inlined for speed as it is used in the inner pixel loop of ossimFilterResampler::resampleBilinearTile method.
Definition at line 80 of file ossimFilterTable.h.
References theFilterSteps, theWeights, theWidthHeight, x, and y.
Referenced by ossimFilterResampler::resampleBilinearTile().
ossim_uint32 ossimFilterTable::getHeight | ( | ) | const |
Definition at line 129 of file ossimFilterTable.cpp.
References theHeight.
Referenced by ossimFilterResampler::resampleBilinearTile().
ossim_uint32 ossimFilterTable::getWidth | ( | ) | const |
Definition at line 124 of file ossimFilterTable.cpp.
References theWidth.
Referenced by ossimFilterResampler::resampleBilinearTile().
ossim_uint32 ossimFilterTable::getWidthByHeight | ( | ) | const |
Definition at line 109 of file ossimFilterTable.cpp.
References theWidthHeight.
ossim_uint32 ossimFilterTable::getXSupport | ( | ) | const |
Definition at line 114 of file ossimFilterTable.cpp.
References theXSupport.
Referenced by ossimFilterResampler::resampleBilinearTile().
ossim_uint32 ossimFilterTable::getYSupport | ( | ) | const |
Definition at line 119 of file ossimFilterTable.cpp.
References theYSupport.
Referenced by ossimFilterResampler::resampleBilinearTile().
|
protected |
Definition at line 73 of file ossimFilterTable.h.
Referenced by allocateWeights(), buildTable(), and getClosestWeights().
|
protected |
Definition at line 69 of file ossimFilterTable.h.
Referenced by buildTable(), and getHeight().
|
protected |
Definition at line 67 of file ossimFilterTable.h.
Referenced by allocateWeights(), buildTable(), getClosestWeights(), and ~ossimFilterTable().
|
protected |
Definition at line 68 of file ossimFilterTable.h.
Referenced by buildTable(), and getWidth().
|
protected |
Definition at line 70 of file ossimFilterTable.h.
Referenced by allocateWeights(), buildTable(), getClosestWeights(), and getWidthByHeight().
|
protected |
Definition at line 71 of file ossimFilterTable.h.
Referenced by buildTable(), and getXSupport().
|
protected |
Definition at line 72 of file ossimFilterTable.h.
Referenced by buildTable(), and getYSupport().