/** * Generally (unless specified otherwise): * 'get-*' - RPC request * 'set-*' - RPC request/notification */ /** * Animation params */ export declare const SET_ANIMATION_PARAMS = "set-animation-parameters"; export declare type SET_ANIMATION_PARAMS_TYPE = typeof SET_ANIMATION_PARAMS; export declare const GET_ANIMATION_PARAMS = "get-animation-parameters"; export declare type GET_ANIMATION_PARAMS_TYPE = typeof GET_ANIMATION_PARAMS; export declare const ANIMATION_PARAMS = "animation-parameters"; export declare type ANIMATION_PARAMS_TYPE = typeof ANIMATION_PARAMS; /** * App params */ export declare const SET_APP_PARAMS = "set-application-parameters"; export declare type SET_APP_PARAMS_TYPE = typeof SET_APP_PARAMS; export declare const GET_APP_PARAMS = "get-application-parameters"; export declare type GET_APP_PARAMS_TYPE = typeof GET_APP_PARAMS; export declare const APP_PARAMS = "application-parameters"; export declare type APP_PARAMS_TYPE = typeof APP_PARAMS; /** * Statistics (rendering fps, scene size, etc.) */ export declare const GET_STATISTICS = "get-statistics"; export declare type GET_STATISTICS_TYPE = typeof GET_STATISTICS; export declare const STATISTICS = "statistics"; export declare type STATISTICS_TYPE = typeof STATISTICS; /** * Version */ export declare const GET_VERSION = "get-version"; export declare type GET_VERSION_TYPE = typeof GET_VERSION; export declare const VERSION = "version"; export declare type VERSION_TYPE = typeof VERSION; /** * Notifications from server -> client * NOTE: Clients cannot update these as they are side effects of other operations */ export declare const SET_STATISTICS = "set-statistics"; export declare type SET_STATISTICS_TYPE = typeof SET_STATISTICS; export declare const IMAGE_JPEG = "image-jpeg"; export declare type IMAGE_JPEG_TYPE = typeof IMAGE_JPEG; /** * Renderer */ export declare const GET_RENDERER = "get-renderer"; export declare type GET_RENDERER_TYPE = typeof GET_RENDERER; export declare const SET_RENDERER = "set-renderer"; export declare type SET_RENDERER_TYPE = typeof SET_RENDERER; export declare const RENDERER = "renderer"; export declare type RENDERER_TYPE = typeof RENDERER; export declare const GET_RENDERER_PARAMS = "get-renderer-params"; export declare type GET_RENDERER_PARMS_TYPE = typeof GET_RENDERER_PARAMS; export declare const SET_RENDERER_PARAMS = "set-renderer-params"; export declare type SET_RENDERER_PARMS_TYPE = typeof SET_RENDERER_PARAMS; export declare const RENDERER_PARAMS = "renderer-params"; export declare type RENDERER_PARMS_TYPE = typeof RENDERER_PARAMS; /** * Camera */ export declare const SET_CAMERA = "set-camera"; export declare type SET_CAMERA_TYPE = typeof SET_CAMERA; export declare const GET_CAMERA = "get-camera"; export declare type GET_CAMERA_TYPE = typeof GET_CAMERA; export declare const CAMERA = "camera"; export declare type CAMERA_TYPE = typeof CAMERA; export declare const GET_CAMERA_PARAMS = "get-camera-params"; export declare type GET_CAMERA_PARMS_TYPE = typeof GET_CAMERA_PARAMS; export declare const SET_CAMERA_PARAMS = "set-camera-params"; export declare type SET_CAMERA_PARMS_TYPE = typeof SET_CAMERA_PARAMS; export declare const CAMERA_PARAMS = "camera-params"; export declare type CAMERA_PARMS_TYPE = typeof CAMERA_PARAMS; /** * Model */ export declare const SET_SCENE = "set-scene"; export declare type SET_SCENE_TYPE = typeof SET_SCENE; export declare const GET_SCENE = "get-scene"; export declare type GET_SCENE_TYPE = typeof GET_SCENE; export declare const SCENE = "scene"; export declare type SCENE_TYPE = typeof SCENE; export declare const LOAD_MODEL = "add-model"; export declare type LOAD_MODEL_TYPE = typeof LOAD_MODEL; export declare const UPLOAD_MODEL = "request-model-upload"; export declare type UPLOAD_MODEL_TYPE = typeof UPLOAD_MODEL; export declare const CHUNK = "chunk"; export declare type CHUNK_TYPE = typeof CHUNK; export declare const REMOVE_MODEL = "remove-model"; export declare type REMOVE_MODEL_TYPE = typeof REMOVE_MODEL; export declare const UPDATE_MODEL = "update-model"; export declare type UPDATE_MODEL_TYPE = typeof UPDATE_MODEL; export declare const GET_MODEL_PROPERTIES = "get-model-properties"; export declare type GET_MODEL_PROPERTIES_TYPE = typeof GET_MODEL_PROPERTIES; export declare const SET_MODEL_PROPERTIES = "set-model-properties"; export declare type SET_MODEL_PROPERTIES_TYPE = typeof SET_MODEL_PROPERTIES; export declare const MODEL_PROPERTIES_SCHEMA = "model-properties-schema"; export declare type MODEL_PROPERTIES_SCHEMA_TYPE = typeof MODEL_PROPERTIES_SCHEMA; export declare const SET_MODEL_TRANSFER_FUNCTION = "set-model-transfer-function"; export declare type SET_MODEL_TRANSFER_FUNCTION_TYPE = typeof SET_MODEL_TRANSFER_FUNCTION; export declare const GET_MODEL_TRANSFER_FUNCTION = "get-model-transfer-function"; export declare type GET_MODEL_TRANSFER_FUNCTION_TYPE = typeof GET_MODEL_TRANSFER_FUNCTION; export declare const GET_LOADERS = "get-loaders"; export declare type GET_LOADERS_TYPE = typeof GET_LOADERS; export declare const LOADERS_SCHEMA = "loaders-schema"; export declare type LOADERS_SCHEMA_TYPE = typeof LOADERS_SCHEMA; /** * Clip planes */ export declare const ADD_CLIP_PLANE = "add-clip-plane"; export declare type ADD_CLIP_PLANE_TYPE = typeof ADD_CLIP_PLANE; export declare const UPDATE_CLIP_PLANE = "update-clip-plane"; export declare type UPDATE_CLIP_PLANE_TYPE = typeof UPDATE_CLIP_PLANE; export declare const GET_CLIP_PLANES = "get-clip-planes"; export declare type GET_CLIP_PLANES_TYPE = typeof GET_CLIP_PLANES; export declare const REMOVE_CLIP_PLANES = "remove-clip-planes"; export declare type REMOVE_CLIP_PLANES_TYPE = typeof REMOVE_CLIP_PLANES; /** * RPC requests */ export declare const INSPECT = "inspect"; export declare type INSPECT_TYPE = typeof INSPECT; export declare const SNAPSHOT = "snapshot"; export declare type SNAPSHOT_TYPE = typeof SNAPSHOT; export declare const SCHEMA = "schema"; export declare type SCHEMA_TYPE = typeof SCHEMA; export declare const SET_ENVIRONMENT_MAP = "set-environment-map"; export declare type SET_ENVIRONMENT_MAP_TYPE = typeof SET_ENVIRONMENT_MAP; export declare const GET_ENVIRONMENT_MAP = "get-environment-map"; export declare type GET_ENVIRONMENT_MAP_TYPE = typeof GET_ENVIRONMENT_MAP; /** * RPC Notifications from client -> server */ export declare const QUIT = "quit"; export declare type QUIT_TYPE = typeof QUIT; export declare enum ImageFormat { Jpeg = "jpeg", Png = "png", Bmp = "bmp", Tiff = "tiff" }