refactoring Point, added point normal as member

This commit is contained in:
Christian Forster
2014-04-03 10:08:18 +02:00
parent 0b0a9a51b0
commit a1e014c77c
8 changed files with 27 additions and 24 deletions
+3 -3
View File
@@ -24,15 +24,15 @@ namespace svo {
int Point::point_counter_ = 0;
Point::Point(Vector3d pos, PointOrigin origin) :
Point::Point(Vector3d pos) :
id_(point_counter_++),
pos_(pos),
normal_(Vector3d::Zero()),
n_obs_(0),
v_pt_(NULL),
last_published_ts_(0),
last_projected_kf_id_(-1),
type_(UNKNOWN_QUALITY),
origin_(origin),
type_(TYPE_UNKNOWN),
n_failed_reproj_(0),
n_succeeded_reproj_(0),
last_structure_optim_(0)