25 typedef cv::Ptr<KinFu>
Ptr;
39 void performLastScan();
44 {
return has_shifted_;}
47 {checkForShift_ = !checkForShift_;}
50 {record_mode_ = !record_mode_;}
53 {
return perform_last_scan_;};
64 void reset(
Affine3f initialPose = Affine3f::Identity());
72 Affine3f getCameraPose (
int time = -1)
const;
75 void allocate_buffers();
97 cv::Ptr<cuda::ProjectiveICP>
icp_;
cuda::DeviceArray2D< Normal > Normals
cuda::CyclicalBuffer cyclical_
Cyclical buffer object.
std::vector< Affine3f > & getCameraPoses()
KF_EXPORTS bool checkIfPreFermiGPU(int device)
std::vector< Affine3f > poses_
KF_EXPORTS int getCudaEnabledDeviceCount()
CyclicalBuffer implements a cyclical TSDF buffer. The class offers a simple interface, by handling shifts and maintaining the world autonomously.
cv::Ptr< cuda::ProjectiveICP > icp_
KF_EXPORTS void printShortCudaDeviceInfo(int device)
KF_EXPORTS std::string getDeviceName(int device)
void triggerCheckForShift()
cv::Ptr< cuda::TsdfVolume > volume_
KF_EXPORTS void printCudaDeviceInfo(int device)
KF_EXPORTS void renderImage(const Depth &depth, const Normals &normals, const Intr &intr, const Vec3f &light_pose, Image &image)
KF_EXPORTS void setDevice(int device)