MCPcopy Create free account
hub / github.com/MrNeRF/LichtFeld-Studio / PySplatSimplifyResult

Class PySplatSimplifyResult

src/python/lfs/py_splat_simplify.cpp:89–104  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

87 };
88
89 class PySplatSimplifyResult {
90 public:
91 PySplatSimplifyResult(std::shared_ptr<core::SplatData> splat_data,
92 std::shared_ptr<core::SplatSimplifyMergeTree> merge_tree)
93 : splat_data_(std::move(splat_data)), merge_tree_(std::move(merge_tree)) {
94 if (!splat_data_ || !merge_tree_)
95 throw std::runtime_error("Invalid SplatSimplifyResult payload");
96 }
97
98 PySplatData splat_data() const { return PySplatData(splat_data_); }
99 PySplatSimplifyMergeTree merge_tree() const { return PySplatSimplifyMergeTree(merge_tree_); }
100
101 private:
102 std::shared_ptr<core::SplatData> splat_data_;
103 std::shared_ptr<core::SplatSimplifyMergeTree> merge_tree_;
104 };
105
106 } // namespace
107

Callers 1

register_splat_simplifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected