![]() |
0.1.8
|
Classes | |
| class | Visualizer |
| High-level interface for 3D visualization and rendering. More... | |
| class | VisualizerError |
| Raised when Visualizer operations fail. More... | |
Functions | |
| str | _resolve_user_path (str path) |
| Resolve a user-provided path to an absolute path before working directory changes. | |
| _visualizer_working_directory () | |
| Context manager that temporarily changes working directory for visualizer operations. | |
Variables | |
| logger = logging.getLogger(__name__) | |
|
protected |
Resolve a user-provided path to an absolute path before working directory changes.
This ensures that user file paths are interpreted relative to their original working directory, not the temporary working directory used for asset discovery.
| path | User-provided file path (absolute or relative) |
Definition at line 40 of file Visualizer.py.
|
protected |
Context manager that temporarily changes working directory for visualizer operations.
The C++ visualizer code expects to find assets at 'plugins/visualizer/' relative to the current working directory. This context manager ensures the working directory is set correctly during visualizer initialization and operations.
Definition at line 63 of file Visualizer.py.
| pyhelios.Visualizer.logger = logging.getLogger(__name__) |
Definition at line 23 of file Visualizer.py.