Skip to content

TrajectoryFileInfo only declares/allows a PerspectiveCameraSpec  #185

@toloudis

Description

@toloudis

Use Case

In the viewer code, the cameraDefault field of TrajectoryFileInfo is currently typed as a PerspectiveCameraSpec and since we offer ortho cameras, it makes sense to generalize the cameraDefault field.
See simularium/simularium-viewer#330 possibly related.
cameraDefault: PerspectiveCameraSpec;

Acceptance Criteria

Ensure that users can define ortho cameras in their trajectory files. Assuming they can, then allow it in the viewer (change cameraDefault type to CameraSpec) and verify we can load trajectories with either perspective or ortho default cameras.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions