def get_dialog(self) -> DialogValue: """ Gets names of all tracked values stored in given group. :return: """ return rest.get(f"{URL}/dialog", DialogValue)
def get_dialog(self) -> DialogValue: """ Gets names of all tracked values stored in given group. :return: """ try: return rest.get(f"{URL}/dialog", DialogValue) except rest.RestException: return None
def get_service_type_ids() -> IdDescList: return rest.get(f"{URL}/service_types", IdDescList)
def get_object_type_ids() -> IdDescList: return rest.get(f"{URL}/object_types", IdDescList)
def get_service_type(service_type_id: str) -> ServiceType: return rest.get(f"{URL}/service_type/{service_type_id}", ServiceType)
def get_object_type(object_type_id: str) -> ObjectType: return rest.get(f"{URL}/object_types/{object_type_id}", ObjectType)
def get_scene(scene_id: str) -> Scene: return rest.get(f"{URL}/scene/{scene_id}", Scene)
def search(self) -> SearchOutput: """ Searches items based on search engine configuration and images stored in internal cache. :return: """ return rest.get(f"{URL}/search", SearchOutput)
def get_project(project_id: str) -> Project: return rest.get(f"{URL}/project/{project_id}", Project)
def get_scenes() -> IdDescList: return rest.get(f"{URL}/scenes", IdDescList)
def get_projects() -> IdDescList: return rest.get(f"{URL}/projects", IdDescList)
def get_model(model_id: str, model_type: Model3dType) -> Models: return rest.get(f"{URL}/models/{model_id}/{model_type.value.lower()}", MODEL_MAPPING[model_type])
def get_mesh(mesh_id) -> Mesh: return rest.get(f"{URL}/models/{mesh_id}/mesh", Mesh)
def get_pose(self) -> Pose: """ Gets capture device pose in actual initialized spatial system space. :return: """ return rest.get(f"{URL}/capture/pose", Pose)
def get_robot_pose(self, robot_id: str) -> Pose: return rest.get(f"{URL}/robots/{robot_id}/pose", Pose)
def get_end_effector_pose(self, robot_id: str, end_effector_id: str) -> Pose: return rest.get( f"{URL}/robots/{robot_id}/endeffectors/{end_effector_id}/pose", Pose)
def get_project_sources(project_id: str) -> ProjectSources: return rest.get(f"{URL}/project/{project_id}/sources", ProjectSources)