MCPcopy Create free account
hub / github.com/PRBonn/depth_clustering / PointsProjectedToPixel

Method PointsProjectedToPixel

src/utils/cloud.cpp:38–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38std::list<const RichPoint*> Cloud::PointsProjectedToPixel(int row,
39 int col) const {
40 std::list<const RichPoint*> point_list;
41 if (!_projection) {
42 return point_list;
43 }
44 for (const auto& index : _projection->at(row, col).points()) {
45 point_list.push_back(&_points[index]);
46 }
47 return point_list;
48}
49
50void Cloud::TransformInPlace(const Pose& pose) {
51 for (auto& point : _points) {

Callers 1

TESTFunction · 0.80

Calls 1

push_backMethod · 0.80

Tested by 1

TESTFunction · 0.64