diff --git a/src/viewerModule/nehuba/viewerCtrl/change-perspective-orientation/changePerspectiveOrientation.component.ts b/src/viewerModule/nehuba/viewerCtrl/change-perspective-orientation/changePerspectiveOrientation.component.ts index 4ec5ed8ccc70a54e0df69f831070a8744e7d2ec3..0c4bdb1300fb0e7bc094a81d2dcac2d39f67c0d1 100644 --- a/src/viewerModule/nehuba/viewerCtrl/change-perspective-orientation/changePerspectiveOrientation.component.ts +++ b/src/viewerModule/nehuba/viewerCtrl/change-perspective-orientation/changePerspectiveOrientation.component.ts @@ -1,4 +1,4 @@ -import { Component, OnInit } from '@angular/core'; +import { Component } from '@angular/core'; import {viewerStateChangeNavigation} from "src/services/state/viewerState/actions"; import {Store} from "@ngrx/store"; @@ -7,7 +7,7 @@ import {Store} from "@ngrx/store"; templateUrl: './changePerspectiveOrientation.component.html', styleUrls: ['./changePerspectiveOrientation.component.sass'] }) -export class ChangePerspectiveOrientationComponent implements OnInit { +export class ChangePerspectiveOrientationComponent { private viewOrientations = { coronal: [[0,-1,1,0], [-1,0,0,1]], @@ -17,9 +17,6 @@ export class ChangePerspectiveOrientationComponent implements OnInit { constructor(private store$: Store<any>,) { } - ngOnInit(): void { - } - public set3DViewPoint(plane: 'coronal' | 'sagittal' | 'axial', view: 'first' | 'second') { const orientation = this.viewOrientations[plane][view === 'first'? 0 : 1]