voxcity.simulator_gpu.visibility.workspace.SurfaceViewWorkspace =============================================================== .. py:class:: voxcity.simulator_gpu.visibility.workspace.SurfaceViewWorkspace(*, key: SurfaceViewWorkspaceKey, nx: int, ny: int, nz: int, n_faces: int, n_azimuth: int, n_elevation: int, ray_sampling: str, n_rays: Optional[int]) Pre-allocated Taichi fields for one surface visibility configuration. .. py:attribute:: key .. py:attribute:: nx .. py:attribute:: ny .. py:attribute:: nz .. py:attribute:: n_faces .. py:attribute:: n_hemisphere_dirs .. py:attribute:: hemisphere_dirs .. py:attribute:: face_centers .. py:attribute:: face_normals .. py:attribute:: face_vf_values .. py:attribute:: is_tree .. py:attribute:: is_solid .. py:attribute:: is_target .. py:attribute:: is_opaque .. py:method:: validate_face_data(face_centers: numpy.ndarray, face_normals: numpy.ndarray) -> None .. py:method:: validate_voxel_data(voxel_data: numpy.ndarray) -> None .. py:method:: set_faces(face_centers: numpy.ndarray, face_normals: numpy.ndarray) -> None