#include <Mapper.h>
Public Member Functions | |
const Rectangle2< kt_int32s > & | GetROI () const |
virtual kt_int32s | GridIndex (const Vector2< kt_int32s > &rGrid, kt_bool boundaryCheck=true) const |
void | SetROI (const Rectangle2< kt_int32s > &roi) |
void | SmearPoint (const Vector2< kt_int32s > &rGridPoint) |
virtual | ~CorrelationGrid () |
Static Public Member Functions | |
static CorrelationGrid * | CreateGrid (kt_int32s width, kt_int32s height, kt_double resolution, kt_double smearDeviation) |
Protected Member Functions | |
virtual void | CalculateKernel () |
CorrelationGrid (kt_int32u width, kt_int32u height, kt_int32u borderSize, kt_double resolution, kt_double smearDeviation) | |
Static Protected Member Functions | |
static kt_int32s | GetHalfKernelSize (kt_double smearDeviation, kt_double resolution) |
Private Attributes | |
kt_int32s | m_KernelSize |
kt_int8u * | m_pKernel |
Rectangle2< kt_int32s > | m_Roi |
kt_double | m_SmearDeviation |
Implementation of a correlation grid used for scan matching
virtual karto::CorrelationGrid::~CorrelationGrid | ( | ) | [inline, virtual] |
virtual void karto::CorrelationGrid::CalculateKernel | ( | ) | [inline, protected, virtual] |
static CorrelationGrid* karto::CorrelationGrid::CreateGrid | ( | kt_int32s | width, |
kt_int32s | height, | ||
kt_double | resolution, | ||
kt_double | smearDeviation | ||
) | [inline, static] |
static kt_int32s karto::CorrelationGrid::GetHalfKernelSize | ( | kt_double | smearDeviation, |
kt_double | resolution | ||
) | [inline, static, protected] |
const Rectangle2<kt_int32s>& karto::CorrelationGrid::GetROI | ( | ) | const [inline] |
virtual kt_int32s karto::CorrelationGrid::GridIndex | ( | const Vector2< kt_int32s > & | rGrid, |
kt_bool | boundaryCheck = true |
||
) | const [inline, virtual] |
Gets the index into the data pointer of the given grid coordinate
rGrid | |
boundaryCheck |
Reimplemented from karto::Grid< kt_int8u >.
void karto::CorrelationGrid::SetROI | ( | const Rectangle2< kt_int32s > & | roi | ) | [inline] |
void karto::CorrelationGrid::SmearPoint | ( | const Vector2< kt_int32s > & | rGridPoint | ) | [inline] |
kt_int8u* karto::CorrelationGrid::m_pKernel [private] |
Rectangle2<kt_int32s> karto::CorrelationGrid::m_Roi [private] |