Skip to content

TrajectoryFileInfo only declares/allows a PerspectiveCameraSpec  #185

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions