MCPcopy Create free account
hub / github.com/PointCloudLibrary/pcl / initCompute

Method initCompute

tracking/include/pcl/tracking/impl/tracker.hpp:9–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7namespace tracking {
8template <typename PointInT, typename StateT>
9bool
10Tracker<PointInT, StateT>::initCompute()
11{
12 if (!PCLBase<PointInT>::initCompute()) {
13 PCL_ERROR("[pcl::%s::initCompute] PCLBase::Init failed.\n", getClassName().c_str());
14 return (false);
15 }
16
17 // If the dataset is empty, just return
18 if (input_->points.empty()) {
19 PCL_ERROR("[pcl::%s::compute] input_ is empty!\n", getClassName().c_str());
20 // Cleanup
21 deinitCompute();
22 return (false);
23 }
24
25 return (true);
26}
27
28template <typename PointInT, typename StateT>
29void

Callers 2

weightMethod · 0.45
weightMethod · 0.45

Calls 2

getClassNameFunction · 0.50
emptyMethod · 0.45

Tested by

no test coverage detected