Skip to content
Snippets Groups Projects
Commit 933041a8 authored by Xiao Gui's avatar Xiao Gui Committed by xgui3783
Browse files

chore: clean up

parent 18827b51
No related branches found
No related tags found
No related merge requests found
import { Component, HostBinding, ViewChild, ViewContainerRef, ComponentFactoryResolver, ComponentFactory, OnDestroy, ElementRef, Injector, ComponentRef, AfterViewInit, OnInit, TemplateRef, HostListener, Renderer2 } from "@angular/core"; import { Component, HostBinding, ViewChild, ViewContainerRef, ComponentFactoryResolver, ComponentFactory, OnDestroy, ElementRef, ComponentRef, AfterViewInit, OnInit, HostListener, Renderer2 } from "@angular/core";
import { Store, select } from "@ngrx/store"; import { Store, select } from "@ngrx/store";
import { ViewerStateInterface, OPEN_SIDE_PANEL, CLOSE_SIDE_PANEL, isDefined,UNLOAD_DEDICATED_LAYER, FETCHED_SPATIAL_DATA, UPDATE_SPATIAL_DATA, TOGGLE_SIDE_PANEL, NgViewerStateInterface, safeFilter } from "../services/stateStore.service"; import { ViewerStateInterface, OPEN_SIDE_PANEL, CLOSE_SIDE_PANEL, isDefined,UNLOAD_DEDICATED_LAYER, FETCHED_SPATIAL_DATA, UPDATE_SPATIAL_DATA, TOGGLE_SIDE_PANEL, NgViewerStateInterface, safeFilter } from "../services/stateStore.service";
import { Observable, Subscription, combineLatest } from "rxjs"; import { Observable, Subscription, combineLatest } from "rxjs";
......
...@@ -75,7 +75,6 @@ import { AtlasWorkerService } from "./atlasViewer/atlasViewer.workerService.serv ...@@ -75,7 +75,6 @@ import { AtlasWorkerService } from "./atlasViewer/atlasViewer.workerService.serv
PluginUnit, PluginUnit,
], ],
providers : [ providers : [
AtlasViewerDataService,
AtlasViewerDataService, AtlasViewerDataService,
WidgetServices, WidgetServices,
AtlasViewerURLService, AtlasViewerURLService,
......
...@@ -110,7 +110,7 @@ label.perspective-panel-show-slice-views:hover ...@@ -110,7 +110,7 @@ label.perspective-panel-show-slice-views:hover
label.perspective-panel-show-slice-views:before label.perspective-panel-show-slice-views:before
{ {
margin-left: .2em; margin-left: .2em;
content: "show / hide frontal octant"; content: "toggle frontal octant";
visibility: visible; visibility: visible;
pointer-events: all; pointer-events: all;
color: #337ab7; color: #337ab7;
......
{ {"globals":{"hideNullImageValues":true,"useNehubaLayout":true,"useCustomSegmentColors":true,"useNehubaMeshLayer":true},"zoomWithoutCtrl":true,"hideNeuroglancerUI":true,"rightClickWithCtrl":true,"rotateAtViewCentre":true,"zoomAtViewCentre":true,"restrictUserNavigation":true,"enableMeshLoadingControl":true,"dataset":{"imageBackground":[0,0,0,1],"initialNgState":{"showDefaultAnnotations":false,"layers":{"infant template":{"type":"image","source":"precomputed://https://neuroglancer-dev.humanbrainproject.org/precomputed/Infant/t2_masked_uint8","transform":[[1,0,0,-62091243.743896484],[0,1,0,-75278762.81738281],[0,0,1,-63800006.86645508],[0,0,0,1]]},"infant atlas":{"type":"segmentation","source":"precomputed://https://www.jubrain.fz-juelich.de/apps/hbp/preview/infant2/data/dummyseg","transform":[[-1,0,0,62699913.0249023],[0,-1,0,75827774.0478516],[0,0,-1,64288764.9536133],[0,0,0,1]]}},"navigation":{"pose":{"position":{"voxelSize":[1098960.875,1098953.25,1099998.5],"voxelCoordinates":[-0.5184690952301025,3.893488645553589,1.6981953382492065]}},"zoomFactor":450227.18138248235},"perspectiveOrientation":[0.5,0.5,-0.5,-0.5],"perspectiveZoom":1895248.9337559766}},"layout":{"useNehubaPerspective":{"removePerspectiveSlicesBackground":{"mode":"=="},"fixedZoomPerspectiveSlices":{"sliceViewportWidth":400,"sliceViewportHeight":400,"sliceZoom":450227.18138248235,"sliceViewportSizeMultiplier":2},"centerToOrigin":true,"mesh":{"surfaceParcellation":true}}}}
"globals": { \ No newline at end of file
"hideNullImageValues": true,
"useNehubaLayout": true,
"useCustomSegmentColors": true,
"useNehubaMeshLayer": true
},
"zoomWithoutCtrl": true,
"hideNeuroglancerUI": true,
"rightClickWithCtrl": true,
"rotateAtViewCentre": true,
"zoomAtViewCentre": true,
"restrictUserNavigation": true,
"enableMeshLoadingControl": true,
"dataset": {
"imageBackground": [
0,
0,
0,
1
],
"initialNgState": {
"showDefaultAnnotations":false,
"layers": {
"infant template": {
"type": "image",
"source": "precomputed://https://neuroglancer-dev.humanbrainproject.org/precomputed/Infant/t2_masked_uint8",
"transform": [
[
1,
0,
0,
-62091243.743896484
],
[
0,
1,
0,
-75278762.81738281
],
[
0,
0,
1,
-63800006.86645508
],
[
0,
0,
0,
1
]
]
},
"infant atlas": {
"type": "segmentation",
"source": "precomputed://https://www.jubrain.fz-juelich.de/apps/hbp/preview/infant2/data/dummyseg",
"transform": [
[
-1,
0,
0,
62699913.0249023
],
[
0,
-1,
0,
75827774.0478516
],
[
0,
0,
-1,
64288764.9536133
],
[
0,
0,
0,
1
]
]
}
},
"navigation": {
"pose": {
"position": {
"voxelSize": [
1098960.875,
1098953.25,
1099998.5
],
"voxelCoordinates": [
-0.5184690952301025,
3.893488645553589,
1.6981953382492065
]
}
},
"zoomFactor": 450227.18138248235
},
"perspectiveOrientation": [
0.5,
0.5,
-0.5,
-0.5
],
"perspectiveZoom": 1895248.9337559766
}
},
"layout": {
"useNehubaPerspective": {
"removePerspectiveSlicesBackground": {
"mode": "=="
},
"fixedZoomPerspectiveSlices": {
"sliceViewportWidth": 400,
"sliceViewportHeight": 400,
"sliceZoom": 450227.18138248235,
"sliceViewportSizeMultiplier": 2
},
"centerToOrigin": true,
"mesh": {
"surfaceParcellation": true
}
}
}
}
\ No newline at end of file
...@@ -41,7 +41,9 @@ module.exports = { ...@@ -41,7 +41,9 @@ module.exports = {
}, },
plugins : [ plugins : [
new webpack.DefinePlugin({ new webpack.DefinePlugin({
PLUGINDEV : JSON.stringify(process.env.PLUGINDEV), PLUGINDEV : process.env.PLUGINDEV
? JSON.stringify(process.env.PLUGINDEV)
: false,
BUNDLEDPLUGINS : process.env.BUNDLEDPLUGINS BUNDLEDPLUGINS : process.env.BUNDLEDPLUGINS
? JSON.stringify(process.env.BUNDLEDPLUGINS.split(',')) ? JSON.stringify(process.env.BUNDLEDPLUGINS.split(','))
: JSON.stringify([]), : JSON.stringify([]),
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment