Main MRPT website > C++ reference for MRPT 1.5.8
List of all members | Public Member Functions
mrpt::maps::CRandomFieldGridMap3D::ConnectivityDescriptor Struct Referenceabstract

Detailed Description

Base class for user-supplied objects capable of describing voxels connectivity, used to build prior factors of the MRF graph.

See also

Definition at line 150 of file CRandomFieldGridMap3D.h.

#include <mrpt/maps/CRandomFieldGridMap3D.h>

Public Member Functions

virtual ~ConnectivityDescriptor ()
virtual bool getEdgeInformation (const CRandomFieldGridMap3D *parent, size_t icx, size_t icy, size_t icz, size_t jcx, size_t jcy, size_t jcz, double &out_edge_information)=0
 Implement the check of whether node i=(icx,icy,icz) is connected with node j=(jcx,jcy,jcy). More...

Constructor & Destructor Documentation

◆ ~ConnectivityDescriptor()

virtual mrpt::maps::CRandomFieldGridMap3D::ConnectivityDescriptor::~ConnectivityDescriptor ( )

Definition at line 153 of file CRandomFieldGridMap3D.h.

Member Function Documentation

◆ getEdgeInformation()

virtual bool mrpt::maps::CRandomFieldGridMap3D::ConnectivityDescriptor::getEdgeInformation ( const CRandomFieldGridMap3D parent,
size_t  icx,
size_t  icy,
size_t  icz,
size_t  jcx,
size_t  jcy,
size_t  jcz,
double &  out_edge_information 
pure virtual

Implement the check of whether node i=(icx,icy,icz) is connected with node j=(jcx,jcy,jcy).

This visitor method will be called only for immediate neighbors.

true if connected (and the "information" value should be also updated in out_edge_information), false otherwise.
parentThe parent map on which we are running
icz(cx,cy,cz) for node "i"
jcz(cx,cy,cz) for node "j"
out_edge_informationMust output here the inverse of the variance of the constraint edge.

Referenced by mrpt::maps::CRandomFieldGridMap3D::internal_initialize().

Page generated by Doxygen 1.8.14 for MRPT 1.5.8 Git: f67d0f871 Wed Sep 25 18:32:17 2019 +0200 at lun oct 28 01:58:29 CET 2019