Jean-Yves Didier

added metadata on components

......@@ -53,3 +53,20 @@ Animator = ARCS.Component.create(
*/
export default {Animator: Animator};
/*
ARCS.__lib_`
{
"components": {
"Animator": {
"description": "A component that request new frames for animation. This component is useful when you want to create animations in the context of a web browser.",
"keywords": [
"animation",
"frame",
"request"
],
}
}
}
`
*/
\ No newline at end of file
......
......@@ -53,3 +53,38 @@ ARUCODetector = ARCS.Component.create(
);
export default {ARUCODetector: ARUCODetector};
/*
ARCS.__lib__`
{
"components": {
"ARUCODetector": {
"description": "Component that detects ARUCO markers in images",
"keywords": [
"ARUCO",
"marker",
"detector"
],
}
},
"dependencies": [ "js-aruco"],
"recipes": [
{
"from": 'node_modules/js-aruco/src/aruco.js',
"to": '../deps/aruco/index.js',
"replace" : {
"var CV = require('./cv');": "import CV from '../cv/index.js';",
"module.exports = AR;": "export default AR;"
}
},
{
"from": 'node_modules/js-aruco/src/cv.js',
to: '../deps/cv/index.js',
"replace" : {
"module.exports = CV;": "export default CV;"
}
}
]
}
`;
*/
\ No newline at end of file
......
......@@ -322,3 +322,22 @@ ARViewer = ARCS.Component.create(
export default {ARViewer: ARViewer};
/*
ARCS.__lib__`
{
"components": {
"ARViewer": {
"description": "Augmented Reality viewer",
"keywords": ["augmented reality", "3D", "video"]
}
},
"dependencies": ["three"],
"recipes": [
{
"from": "node_modules/three/build/three.module.js",
"to": "../deps/three.js/index.js"
}
]
}
`;
*/
......
......@@ -47,3 +47,21 @@ Console = ARCS.Component.create(
export default { Console: Console};
//export default {};
/*
ARCS.__lib__`
{
"components": {
"Console": {
"description": "Redirects console messages to a given HTML element in the page.",
"keywords": [
"console",
"log",
"error",
"warn"
]
}
}
}
`;
*/
\ No newline at end of file
......
......@@ -22,3 +22,20 @@ let DownloadData = ARCS.Component.create(
);
export default { DownloadData: DownloadData};
/*
ARCS.__lib__`
{
"components": {
"DownloadData": {
"description": "Downloads data to a file.",
"keywords": [
"download",
"file",
"data"
]
}
}
}
`;
*/
......
......@@ -56,3 +56,20 @@ Filter = ARCS.Component.create(
export default {Filter: Filter};
/*
ARCS.__lib__`
{
"components": {
"Filter": {
"description": "Creates a filter in between a signal and a slot",
"keywords": [
"filter",
"slot",
"signal"
]
}
}
}
`;
*/
\ No newline at end of file
......
......@@ -149,9 +149,20 @@ let GeoLocator = ARCS.Component.create(function() {
["sendPosition","sendCoordinates","geolocationDisabled"] // liste de signaux
);
export default { GeoLocator:GeoLocator};
/*
ARCS.__lib__`
{
"components": {
"GeoLocator": {
"description": "Uses the location provider of the browser to determine the geolocation of the device. This component relies on the Geolocation API.",
"keywords": [
"geolocation",
"location"
]
},
}
}
`;
*/
\ No newline at end of file
......
......@@ -52,3 +52,16 @@ var GPSInertialPose = new ARCS.Component.create(
export default { GPSInertialPose: GPSInertialPose };
/*
ARCS.__lib__`
{
"components": {
"GPSInertialPose": {
"description": "Component that computes the pose of a marker from GPS and inertial data.",
"keywords": ["gps", "inertial", "pose"]
}
}
}
`;
*/
\ No newline at end of file
......
......@@ -50,3 +50,21 @@ let Inertial = ARCS.Component.create( function() {
export default { Inertial : Inertial };
/*
ARCS.__lib__`
{
"components": {
"Inertial": {
"description": "Provides inertial data from the device.",
"keywords": [
"inertial",
"device",
"motion",
"orientation"
]
}
}
}
`;
*/
......
......@@ -243,3 +243,16 @@ Logger = ARCS.Component.create(
*/
export default { Logger: Logger };
/*
ARCS.__lib__`
{
"components": {
"Logger": {
"description": "Logger component",
"keywords": ["logger","log","database","websocket"]
}
}
}
`;
*/
\ No newline at end of file
......
......@@ -66,3 +66,20 @@ MarkerLocator = ARCS.Component.create(
export default { MarkerLocator: MarkerLocator };
/*
ARCS.__lib__`
{
"components": {
"MarkerLocator": {
"description": "Locates markers in an image.",
"keywords": [
"marker",
"locate",
"pose"
]
}
}
}
`;
*/
\ No newline at end of file
......
......@@ -119,3 +119,27 @@ ObjectTransform = ARCS.Component.create(
);
export default { ObjectTransform : ObjectTransform };
/*
ARCS.__lib__`
{
"components": {
"ObjectTransform": {
"description": "Apply transformations to objects",
"keywords": [
"object",
"transform",
"transformation"
]
}
}
"dependencies": ["three"],
"recipes": [
{
"from": "node_modules/three/build/three.module.js",
"to": "../deps/three.js/index.js"
}
]
}
`;
*/
\ No newline at end of file
......
......@@ -109,3 +109,37 @@ internalOBJLoader = ARCS.Component.create(
);
export default { OBJLoader: internalOBJLoader};
/*
ARCS.__lib__`
{
"components": {
"OBJLoader": {
"description": "Load an OBJ file",
"keywords": ["OBJ", "3D", "model"]
}
},
"dependencies": [ "three.js"],
"recipes": [
{
"from": "node_modules/three/build/three.module.js",
"to": "../deps/three.js/index.js"
},
{
"from": "node_modules/three/examples/jsm/loaders/OBJLoader.js",
"to": "../deps/objloader/index.js",
"replace" : {
'../../../build/three.module.js': '../three.js/index.js'
}
},
{
"from": "node_modules/three/examples/jsm/loaders/MTLLoader.js",
"to": "../deps/mtlloader/index.js",
"replace" : {
'../../../build/three.module.js': '../three.js/index.js'
}
}
]
}
`;
*/
......
......@@ -153,3 +153,19 @@ let OrientationSensor = ARCS.Component.create(
* @param quat {number[]} a quaternion given as an array [x,y,z,w]
*/
export default { OrientationSensor : OrientationSensor };
/*
ARCS.__lib__`
{
"components": {
"OrientationSensor": {
"description": "Uses browser facility to recover absolute orientation.",
"keywords": [
"orientation",
"sensor"
]
}
}
}
`;
*/
\ No newline at end of file
......
......@@ -48,3 +48,25 @@ PoseOffset = ARCS.Component.create(
);
export default { PoseOffset: PoseOffset};
/*
ARCS.__lib__`
{
"components": {
"PoseOffset": {
"description": "Apply a pose offset to a matrix",
"keywords": [
"pose",
"offset",
"transformation"
]
}
}
"dependencies": ["three"],
"recipes": {
"from": "node_modules/three/build/three.module.js",
"to": "../deps/three.js/index.js"
}
}
`;
*/
\ No newline at end of file
......
......@@ -67,6 +67,24 @@ QRCodeDetector = ARCS.Component.create(
['onQRCode']
);
export default {QRCodeDetector: QRCodeDetector};
/*
ARCS.__lib__`
{
"components": {
"QRCodeDetector": {
"description": "Detect QR codes in an image",
"keywords": [
"qr",
"code",
"detector"
]
}
},
"dependencies": [ "jsqr"],
"recipes": [
{ "from": "node_modules/jsqr/dist/jsQR.js", "to": "../deps/jsqr/jsQR.js"}
]
}`;
*/
\ No newline at end of file
......
......@@ -86,4 +86,19 @@ RestWrapper = ARCS.Component.create(
);
export default {RestWrapper};
\ No newline at end of file
export default {RestWrapper};
/*
ARCS.__lib__`
{
"components": {
"RestWrapper": {
"description": "A wrapper for REST requests",
"keywords": [
"REST",
"HTTP"
]
}
}
}`;
*/
\ No newline at end of file
......
......@@ -177,3 +177,25 @@ let StaticReticle = ARCS.Component.create(
export default {Reticle: Reticle, StaticReticle: StaticReticle};
/*
ARCS.__lib__`
{
"components": {
"Reticle": {
"description": "A reticle component",
"keywords": ["reticle", "cursor"]
},
"StaticReticle": {
"description": "A static reticle component",
"keywords": ["reticle", "cursor"]
}
},
"dependencies": [ "three" ],
"recipes": {
"from": "node_modules/three/build/three.module.js",
"to": "../deps/three.js/index.js"
}
}
`;
*/
\ No newline at end of file
......
......@@ -37,3 +37,19 @@ Storage = ARCS.Component.create(
);
export default {Storage : Storage};
/*
ARCS.__lib__`
{
"components": {
"Storage": {
"description": "A component that stores data in memory",
"keywords": [
"storage",
"memory"
]
}
}
}
`;
*/
\ No newline at end of file
......
......@@ -157,3 +157,21 @@ let TransformComposer = ARCS.Component.create(
);
export default { TransformComposer: TransformComposer};
/*
ARCS.__lib__`
{
"components": {
"TransformComposer": {
"description": "A component that computes a transform matrix from a set of poses and operations",
"keywords": ["transform", "matrix", "pose"]
}
},
"dependencies": [ "three" ],
"recipes": {
"from": "node_modules/three/build/three.module.js",
"to": "../deps/three.js/index.js"
}
}
`;
*/
......
......@@ -101,3 +101,19 @@ UIMapper = ARCS.Component.create(
);
export default {UIMapper : UIMapper};
/*
ARCS.__bin__`
{
"components": {
"UIMapper": {
"description": "A component that maps slot input to an HTML element",
"keywords": [
"ui",
"mapper",
"html"
]
}
}
}`;
*/
......
......@@ -255,3 +255,19 @@ VideoSource = ARCS.Component.create(
export default {LiveSource: LiveSource, VideoSource: VideoSource};
/*
ARCS.__lib__`
{
"components": {
"LiveSource": {
"description": "Uses the camera of the device to process images.",
"keywords": ["camera", "video", "image"]
},
"VideoSource": {
"description": "Uses a video element from the browser to process images.",
"keywords": ["video", "image"]
}
}
}`;
*/
\ No newline at end of file
......
......@@ -120,3 +120,25 @@ let XRExtensionManager = ARCS.Component.create(
*/
export default { XRExtensionManager: XRExtensionManager};
/*
ARCS.__lib__`
{
"components": {
"XRExtensionManager": {
"description": "WebXRExtension detector",
"keywords": [
"WebXR",
"extension",
"hit test",
"camera access",
"depth",
"light estimation",
"plane detection",
"anchors"
]
}
}
}
`;
*/
\ No newline at end of file
......
......@@ -85,3 +85,15 @@ XRImager = ARCS.Component.create(
);
export default { XRImager: XRImager };
/*
ARCS.__lib__`
{
"components": {
"XRImager": {
"description": "A component that captures the camera image",
"keywords": ["camera", "image", "capture"]
}
}
}`;
*/
\ No newline at end of file
......
......@@ -206,3 +206,31 @@ XRViewer = ARCS.Component.create(
export default {XRViewer: XRViewer};
/*
ARCS.__lib__`
{
"components": {
"XRViewer": {
"description": "A component to display a scene in a WebXR session",
"keywords": ["xr","webxr","ar","vr","viewer"]
}
},
"dependencies": ["three"],
"recipes": {
"recipes": [
{
"from": "node_modules/three/build/three.module.js",
"to": "../deps/three.js/index.js"
},
{
"from": "node_modules/three/examples/jsm/webxr/ARButton.js",
"to": "../deps/three.js/ARButton.js",
"replace": {
"../../../build/three.module.js": "./index.js"
}
}
]
}
}
`;
*/
\ No newline at end of file
......