ScannerApp-Swift Documentation

Classes

App​Delegate
Camera​View​Controller

Manage the camera preview when using the App

Configuration​View​Controller

manage the configuration activity for the app

Library​Table​View​Controller

UI class for gallery activity

Library​Table​View​Controller

UI class for gallery activity

Recording​Detail​View​Controller

UI controller for the recorded scene detail view

View​Controller

View controller for the main activity

Compressor

This is a sample compressor class from Apple, and its no longer used

Http​Request​Handler

handle http request related (e.g. upload, verify)

Device​Info

data holder class for device

User​Info

data holder class for user

Scene​Info

data holder class for scene

Stream​Info

data holder class for stream (Ex: encoding type, frequency and # of frames)

Camera​Stream​Info

data holder class for camera stream

Imu​Stream​Info

this subclass was used to handle 'frequency' which has been moved to StreamInfo, so it is currently the same as its superclass

Metadata

data holder class for metadata

Motion​Data

data holder class for motion data

Motion​Manager

Responsible for retrieving and storing motion data

Camera​Info

camera info data holder

Camera​Info​Recorder

retrieve camera info such as intrinsic and timestamp etc.

Confidence​Map​Recorder
Depth​Recorder
RGBRecorder
ARCamera​Recording​Manager
Dual​Camera​Recording​Manager
Single​Camera​Recording​Manager
Stereo​Depth​Recording​Manager
Scene​Delegate
Library​Table​View​Cell

Manages recorded scenes and allow users to view the details as well as upload them to the server

Pop​UpView

Pop up view to retrieve user and scene info for the current scene

Preview​View

The camera preview view that displays the capture output.

Structures

Constants
Constants.​Server
Constants.​Server.​Endpoints
Helper

various helper methods

User​Defaults.​Keys
Video​Helper

Helper methods for the videos such as get thumbnail and get # of frames in the video

Enumerations

Recording​Mode
Compression​Algorithm
Compression​Flag
Compression​Operation
Camera​Stream​Info.​Coding​Keys

Protocols

Camera​View​Controller​Pop​UpView​Delegate
Http​Request​Handler​Delegate
Recorder
Recording​Manager
Library​Table​View​Cell​Delegate

Extensions

UIApplication
UserDefaults
simd_float3x3
simd_float4x3
simd_float4x4