MCPcopy Create free account
hub / github.com/Robbyant/lingbot-map / active_points

Method active_points

demo_render/rgbd_render/scene.py:45–49  ·  view source on GitHub ↗

Return (xyz, rgb, frame_indices) up to frame_idx. No culling.

(self, frame_idx: int)

Source from the content-addressed store, hash-verified

43 return len(self.ptrs)
44
45 def active_points(self, frame_idx: int):
46 """Return (xyz, rgb, frame_indices) up to frame_idx. No culling."""
47 ptr = int(self.ptrs[frame_idx])
48 frames = self.sorted_frames[:ptr] if self.sorted_frames is not None else None
49 return self.sorted_xyz[:ptr], self.sorted_rgb[:ptr], frames
50
51 def thumbnail_images(self, long_edge: int = 240) -> Optional[np.ndarray]:
52 """Return images downsampled so the long edge = long_edge pixels."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected