= 3d Brain Atlas Reconstructor on-line service = == queryReconstruction == Return AJAX data describing reconstructions in the service matching the criteria. syntax:: {{{ queryReconstruction?cafDatasetName= ;structureList= ;outputFormats= [;resolution=] [;pipeline=] [;switches=] }}} === Required arguments === cafDatasetName:: The service identifier of the selected CAF dataset. structureName:: Name of structure from hierarchy tree. In practice nearly all names should be fine. Formally name has to point to a root node of a subtree containing at least one node with representation among paths in CAF slides. outputFormats:: Nonempty coma-separated list of reconstruction file format descriptors. Allowed format descriptors are: - 'exportToVRML': VRML files, - 'exportToX3d': X3D files, - 'exportToPOVRay': POV-Ray files, - 'exportToNiftii': NIfTI files - 'exportToVTKPolydata': vtk polydata files, - 'exportToNumpy': NumPy array files, - 'exportToVolume': vtk structured grid files, - 'exportScreenshot': PNG images, - 'exportThumbnail': PNG thumbnails. === Optional arguments === resolution:: Coronal and anterior-posterior voxel size separated with a coma. pipeline:: Service identifier of the pipeline the reconstructions has been generated with. switches:: Nonempty coma-separated list of switches. Allowed switches are: - 'brainoutline': match only structures containing the outline of hierarchy tree root structure; forces 'composite' switch, - 'composite': only scene format descriptors ('exportToVRML', 'exportToX3d', 'exportToPOVRay', 'exportScreenshot', 'exportThumbnail') are allowed in the ''outputFormats'' list. === AJAX data type === {{{ [{ String: String, String: [Number, Number, String], String: String, String: Boolean, String: String, String: Number, String: Number | null, String: String, String: String }, ...] }}} === AJAX data description === The data is provided in format: {{{ [{ 'groups': , 'quality': [, , ], 'format': , 'compressed': , 'status': , 'cacheID': , 'size': , 'groupsID': , 'CAFSlideUnits': }, ...] }}} where: :: is a string describing structures included in the reconstruction, :: is the coronal voxel size used in the reconstruction process, :: is the anterior-posterior voxel size used in the reconstruction process, :: is the service identifier of the pipeline used in the reconstruction process, :: is a string describing the format of reconstruction file, :: indicates if the reconstruction file has been compressed as a zip archive, :: is a string describing the status of the reconstruction; possible values are: - 'None', - 'Scheduled', - 'Pending', - 'In progress', - 'Completed', - 'Finished', - 'Failed', - 'Removed', :: is the service identifier of the reconstruction, :: is the reconstruction file size (in bytes), :: is a string composed of reconstructed groups names separated with '_' character; if an outline is present in the reconstruction, its name precedes others and is separated with double '_' character, :: is the voxel size unit. === Examples === * http://service.3dbar.org/queryReconstruction?cafDatasetName=sba_DB08;structureList=Br;outputFormats=exportToVRML * http://service.3dbar.org/queryReconstruction?cafDatasetName=whs_0.6.1;structureList=Brain;outputFormats=exportToVRML,exportToX3d;pipeline=whs_0.6.1-LQ;resolution=0.043,0.043 * http://service.3dbar.org/queryReconstruction?cafDatasetName=sba_DB08;structureList=Amg;switches=brainoutline;outputFormats=exportToVRML,exportToX3d,exportScreenshot