<commit_before>#include "precomp.hpp"
#include "dual_quaternion.hpp"
#include <algorithm>
#include <opencv2/imgproc/imgproc.hpp>
#include <kfusion/warp_field.hpp>

#define W_MAX 100.f // This is a hyperparameter for maximum node weight and needs to be tuned. For now set to high value
using namespace kfusion;
using namespace kfusion::cuda;

/////////////////////////////////fusion::c///////////////////////////////////////////////////////////////////////////////
/// TsdfVolume::Entry
//
//float kfusion::cuda::TsdfVolume::Entry::half2float(half)
//{ throw "Not implemented"; }
//
//kfusion::cuda::TsdfVolume::Entry::half kfusion::cuda::TsdfVolume::Entry::float2half(float value)
//{ throw "Not implemented"; }

////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// TsdfVolume

kfusion::cuda::TsdfVolume::TsdfVolume(const Vec3i& dims) : data_(),
                                                           trunc_dist_(0.03f),
                                                           max_weight_(128),
                                                           dims_(dims),
                                                           size_(Vec3f::all(3.f)),
                                                           pose_(Affine3f::Identity()),
                                                           gradient_delta_factor_(0.75f),
                                                           raycast_step_factor_(0.75f)
{
    create(dims_);
}

kfusion::cuda::TsdfVolume::~TsdfVolume() {}
<commit_msg>Removed commented code<commit_after>#include "precomp.hpp"
#include "dual_quaternion.hpp"
#include <algorithm>
#include <opencv2/imgproc/imgproc.hpp>
#include <kfusion/warp_field.hpp>

#define W_MAX 100.f // This is a hyperparameter for maximum node weight and needs to be tuned. For now set to high value
using namespace kfusion;
using namespace kfusion::cuda;

////////////////////////////////////////////////////////////////////////////////////////////////////////////////
/// TsdfVolume

kfusion::cuda::TsdfVolume::TsdfVolume(const Vec3i& dims) : data_(),
                                                           trunc_dist_(0.03f),
                                                           max_weight_(128),
                                                           dims_(dims),
                                                           size_(Vec3f::all(3.f)),
                                                           pose_(Affine3f::Identity()),
                                                           gradient_delta_factor_(0.75f),
                                                           raycast_step_factor_(0.75f)
{
    create(dims_);
}

kfusion::cuda::TsdfVolume::~TsdfVolume() {}

{'fraction_non_alphanumeric': 0.21263537906137184, 'fraction_numerical': 0.01516245487364621, 'mean_word_length': 1.0211524434719184, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 28, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6408896', 'n_tokens_mistral': 634, 'n_tokens_neox': 594, 'n_words': 119}