HaeryangKim d3c1ebd311 Refactor and improve code readability, error handling, and logging
- **camera_widget.py**:
  - Improved variable initialization with comments for clarity.
  - Enhanced logging using `self.draw_command_output` for major actions.
  - Refactored error handling in tab addition, removal, camera connection, and disconnection.
  - Added feedback messages for better user interaction.

- **main.py**:
  - Added detailed logs for UI setup, camera addition, and removal.
  - Refactored the `draw_logo` method with exception handling and logs.
  - Improved stylesheet loading with error handling and default fallback.

- **processor_widget.py**:
  - Documented initialization and method purposes with inline comments.
  - Enhanced logs and error handling in point cloud saving, loading, and processing.
  - Added input validation checks for missing camera, settings, or source.

- **qtThread.py**:
  - Refactored threads with improved documentation and consistent error signals.
  - Added detailed logs using `self.handle_camera_output`.
  - Implemented robust error handling for camera discovery, connection, source capture, target capture, and disconnection.

- **visulization.py**:
  - Improved error handling in Open3D viewer setup and rendering updates.
  - Added QMessageBox alerts for critical errors in visualization.
  - Enhanced example usage with proper exception handling.

- Overall improvements:
  - Consistent use of single-line comments (`#`) instead of docstrings for inline explanations.
  - Enhanced user feedback with detailed logs and exception handling for all modules.
  - Maintained consistent coding style and error messages across the project.
2024-12-05 14:44:16 +09:00
Description
No description provided