Load a PLY and return as PointCloud if available.
(self, lf, benchmark_ply)
| 133 | |
| 134 | @pytest.fixture |
| 135 | def point_cloud(self, lf, benchmark_ply): |
| 136 | """Load a PLY and return as PointCloud if available.""" |
| 137 | result = lf.io.load(str(benchmark_ply)) |
| 138 | # Access point cloud through splat_data |
| 139 | splat = result.splat_data |
| 140 | if splat is None: |
| 141 | pytest.skip("No splat data in loaded result") |
| 142 | return splat |
| 143 | |
| 144 | @pytest.mark.slow |
| 145 | def test_point_cloud_size(self, point_cloud): |
no test coverage detected