bbi.spawn.thermal¶
- class AssetThermalSpot(name: str, intensity: float, relative_transform: Transform, spot_type: ThermalSpotType)¶
Bases:
objectStore thermal spot information
- name: str¶
- intensity: float¶
- spot_type: ThermalSpotType¶
- class AssetThermal(joseph_service: JosephService, asset_id: str)¶
Bases:
objectClass handling assets’ thermal properties.
- property temperature: float¶
- property min_temperature: float¶
- property max_temperature: float¶
- property opacity: float¶
- property glass_brightness: float¶
- property reflectivity: float¶
- property thermal_spots: dict[str, AssetThermalSpot]¶
- set_temperature(temperature: float) None¶
Set the temperature of the asset for thermal imaging.
0: coldest, 1: warmest
- Parameters:
temperature (float) – Normalized temperature value between 0 and 1.
- set_min_temperature(min_temperature: float) None¶
Set the min temperature of the asset for thermal imaging.
0: coldest, 1: warmest
- Parameters:
temperature (float) – Normalized temperature value between 0 and 1.
- set_max_temperature(max_temperature: float) None¶
Set the max temperature of the asset for thermal imaging.
0: coldest, 1: warmest
- Parameters:
temperature (float) – Normalized temperature value between 0 and 1.
- set_opacity(opacity: float) None¶
Set the opacity of the translucent asset for thermal imaging.
0: completely transparent, 1: completely opaque
- Parameters:
opacity (float) – Normalized opacity value between 0 and 1.
- set_glass_brightness(glass_brightness: float) None¶
Set the brightness of the glass for thermal imaging.
0: darkest glass brightness, 1: brightest glass brightness
- Parameters:
glass_brightness (float) – Normalized glass brightness value between 0 and 1.
- set_reflectivity(reflectivity: float) None¶
Set the reflectivity of the asset for thermal imaging.
0: no reflectivity, 1: maximum reflectivity
- Parameters:
reflectivity (float) – Normalized reflectivity value between 0 and 1.
- add_hotspot(hotspot_name: str, relative_transform: Transform, intensity: float = 1.0) None¶
Add or update a thermal hotspot to the asset.
- Parameters:
hotspot_name (str) – Unique name for the thermal hotspot
relative_transform (Transform) – Transform of the thermal hotspot relative to the asset
intensity (float) – Intensity value for the thermal hotspot (0-1)
- add_coldspot(coldspot_name: str, relative_transform: Transform, intensity: float = 1.0) None¶
Add or update a thermal coldspot to the asset.
- Parameters:
coldspot_name (str) – Unique name for the thermal coldspot
relative_transform (Transform) – Transform of the thermal coldspot relative to the asset
intensity (float) – Intensity value for the thermal coldspot (0-1)
- remove_thermal_spot(spot_name: str) None¶
Remove a specific thermal spot from the asset.
- Parameters:
spot_name (str) – Name of the thermal spot to remove
- remove_all_thermal_spots() None¶
Remove all thermal spots from the asset.