flow360.report.Camera#

class Camera#

Bases: Flow360BaseModel

Represents the camera configuration payload.

position: Tuple[float, float, float] | None = (-1, -1, 1)#

Camera eye position, think of the eye position as a position on the unit sphere centered at the lookAt. The units are in length units used in geometry or volume mesh.

up: Tuple[float, float, float] | None = (0, 0, 1)#

Up orientation of the camera.

look_at: Tuple[float, float, float] | None = None#

Target point the camera will look at from the position. Default: center of bbox. The units are in length units used in geometry or volume mesh.

pan_target: Tuple[float, float, float] | None = None#

Position to pan the viewport center to; if undefined, the default is look_at. The units are in length units used in geometry or volume mesh.

dimension_dir: Literal['width', 'height', 'diagonal'] | None = 'width' (alias 'dimensionDirection')#

The direction dimension_size_model_units is for.

dimension: float | None = None (alias 'dimensionSizeModelUnits')#

The camera zoom will be set such that the extents of the scene’s projection is this number of model units for the applicable dimension_dir. The units are in length units used in geometry or volume mesh.

type: Literal['Camera'] = 'Camera'#