![]() |
![]() |
#include <GBRForest2D.h>
Public Member Functions | |
GBRForest2D () | |
void | GetResponse (const float *vector, double &x, double &y) const |
void | SetInitialResponse (double x, double y) |
std::vector< GBRTree2D > & | Trees () |
const std::vector< GBRTree2D > & | Trees () const |
~GBRForest2D () | |
Protected Attributes | |
double | fInitialResponseX |
double | fInitialResponseY |
std::vector< GBRTree2D > | fTrees |
Definition at line 23 of file GBRForest2D.h.
GBRForest2D::GBRForest2D | ( | ) |
GBRForest2D::~GBRForest2D | ( | ) | [inline] |
Definition at line 29 of file GBRForest2D.h.
{ fInitialResponseX = x; fInitialResponseY = y; }
void GBRForest2D::GetResponse | ( | const float * | vector, |
double & | x, | ||
double & | y | ||
) | const [inline] |
Definition at line 45 of file GBRForest2D.h.
References fInitialResponseX, fInitialResponseY, and fTrees.
{ x = fInitialResponseX; y = fInitialResponseY; double tx, ty; for (std::vector<GBRTree2D>::const_iterator it=fTrees.begin(); it!=fTrees.end(); ++it) { it->GetResponse(vector,tx,ty); x += tx; y += ty; } return; }
void GBRForest2D::SetInitialResponse | ( | double | x, |
double | y | ||
) | [inline] |
Definition at line 33 of file GBRForest2D.h.
References fTrees.
std::vector<GBRTree2D>& GBRForest2D::Trees | ( | ) | [inline] |
const std::vector<GBRTree2D>& GBRForest2D::Trees | ( | ) | const [inline] |
Definition at line 36 of file GBRForest2D.h.
: double fInitialResponseX;
double GBRForest2D::fInitialResponseX [protected] |
Definition at line 39 of file GBRForest2D.h.
Referenced by GetResponse().
double GBRForest2D::fInitialResponseY [protected] |
Definition at line 40 of file GBRForest2D.h.
Referenced by GetResponse().
std::vector<GBRTree2D> GBRForest2D::fTrees [protected] |
Definition at line 41 of file GBRForest2D.h.
Referenced by GetResponse(), SetInitialResponse(), and Trees().