(self, eye: np.ndarray, center: np.ndarray,
up: np.ndarray, fov_deg: float = 60.0)
| 30 | __slots__ = ('eye', 'center', 'up', 'fov_deg') |
| 31 | |
| 32 | def __init__(self, eye: np.ndarray, center: np.ndarray, |
| 33 | up: np.ndarray, fov_deg: float = 60.0): |
| 34 | self.eye = np.asarray(eye, dtype=np.float32) |
| 35 | self.center = np.asarray(center, dtype=np.float32) |
| 36 | self.up = np.asarray(up, dtype=np.float32) |
| 37 | self.fov_deg = fov_deg |
| 38 | |
| 39 | def w2c(self) -> np.ndarray: |
| 40 | """W2C (4x4) in OpenCV convention. Rows of R: [right, down, forward].""" |
nothing calls this directly
no outgoing calls
no test coverage detected