Drop features related to camera pose used to capture the point
(self, drop_normal: bool = True)
| 147 | return PointCloud(**data_dict) |
| 148 | |
| 149 | def drop_features(self, drop_normal: bool = True): |
| 150 | """Drop features related to camera pose used to capture the point""" |
| 151 | for attr_name in [ |
| 152 | 'captured_z_direction_w', 'captured_view_direction_w', |
| 153 | 'captured_dps', 'captured_dps_u_w', 'captured_dps_v_w', |
| 154 | ]: |
| 155 | setattr(self, attr_name, None) |
| 156 | |
| 157 | if drop_normal: |
| 158 | setattr(self, 'normal_w', None) |
| 159 | |
| 160 | def check_dim(self): |
| 161 | """Check all attributes have the same number of points.""" |
no outgoing calls
no test coverage detected