MCPcopy
hub / github.com/NVlabs/imaginaire / world2local

Method world2local

imaginaire/model_utils/gancraft/mc_utils.py:223–225  ·  view source on GitHub ↗
(self, v, is_vec=False)

Source from the content-addressed store, hash-verified

221 self.nfilledvox = nfilledvox
222
223 def world2local(self, v, is_vec=False):
224 mat_world2local = torch.inverse(self.trans_mat)
225 return trans_vec_homo(mat_world2local, v, is_vec)
226
227 def _truncate_voxel(self):
228 gnd_level = self.heightmap.min()

Callers 9

__init__Method · 0.80
__init__Method · 0.80
rand_camera_pose_tourFunction · 0.80

Calls 1

trans_vec_homoFunction · 0.85

Tested by

no test coverage detected