= 3d Brain Atlas Reconstructor on-line service = [[PageOutline(2-3,,inline)]] == Available backend services == === [wiki:barServiceGetAvailableDatasets getAvailableDatasets] === Returns an AJAX data describing CAF datasets (atlases) available to the user in the service. ==== Example ==== * http://service.3dbar.org/getAvailableDatasets === [wiki:barServiceGetCafInfo getCafInfo] === Returns the index file of selected CAF dataset. Index file contains the list of structures available for reconstruction, their hierarchy and the list of slides within the given dataset. ==== Examples ==== * http://service.3dbar.org/getCafInfo?cafDatasetName=whs_0.51 * http://service.3dbar.org/getCafInfo?cafDatasetName=whs_0.51;listSlides=False;listStructures=False === [wiki:barServiceGetReconstruction getReconstruction] === Returns a model of a given structure from selected dataset as a zip file containing the reconstruction and a short description. ==== Examples ==== * http://service.3dbar.org/getReconstruction?cafDatasetName=whs_0.51;structureName=thalamus * http://service.3dbar.org/getReconstruction?cafDatasetName=whs_0.51;structureName=thalamus;qualityPreset=high;outputFormat=vrml === [wiki:barServiceGetThumbnail getThumbnail] === Returns a thumbnail of the reconstruction of a given structure available via `getReconstruction` in png format. ==== Examples ==== * http://service.3dbar.org/getThumbnail?cafDatasetName=whs_0.51;structureName=corpus-callosum * http://service.3dbar.org/getThumbnail?cafDatasetName=whs_0.51;structureName=thalamus * http://service.3dbar.org/getThumbnail?cafDatasetName=whs_0.51;structureName=CNS * http://service.3dbar.org/getThumbnail?cafDatasetName=sba_DB08;structureName=FL * http://service.3dbar.org/getThumbnail?cafDatasetName=sba_DB08;structureName=LV * http://service.3dbar.org/getThumbnail?cafDatasetName=sba_PHT00;structureName=Brain === [wiki:barServiceGetCafSlide getCafSlide] === Returns an SVG image with CAF slide filtered using provided settings. ==== Examples ==== * http://service.3dbar.org/getCafSlide?cafDatasetName=whs_0.51;slideNumber=460 * http://service.3dbar.org/getCafSlide?cafDatasetName=whs_0.51;slideNumber=460;showMask=True;showLabels=False * http://service.3dbar.org/getCafSlide?cafDatasetName=whs_0.51;slideNumber=460;showLabels=False * http://service.3dbar.org/getCafSlide?cafDatasetName=sba_DB08;slideNumber=84;structureList=Cx * http://service.3dbar.org/getCafSlide?cafDatasetName=sba_DB08;slideNumber=84;structureList=Cx,Th == Availiable frontend services == === [wiki:barServiceGetPreview getPreview] === Displays a window allowing to manipulate (rotate, zoom, etc.) lightweight version of the reconstuciton. Note that the web browser has to support [[http://en.wikipedia.org/wiki/WebGL|WebGL]] in order to use this feature. ==== Examples ==== * http://service.3dbar.org/getPreview?cafDatasetName=whs_0.51&structureName=CNS * http://service.3dbar.org/getPreview?cafDatasetName=whs_0.5&structureName=Hc * http://service.3dbar.org/getPreview?cafDatasetName=sba_DB08&structureName=FBr === [wiki:barServiceGetCafInfoPage getCafInfoPage] === Displays a window containing basic information about CAF dataset. ==== Examples ==== * http://service.3dbar.org/getPreview?cafDatasetName=whs_0.5