Skip to content

Commit

Permalink
Fix build examples. Fix import Orientation corners (#10)
Browse files Browse the repository at this point in the history
Co-authored-by: Rodolfo <[email protected]>
  • Loading branch information
ladeirarodolfo and Rodolfo authored Dec 18, 2023
1 parent cbaaf90 commit 83b4002
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion packages/tools/src/tools/OrientationMarkerTool.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import vtkOrientationMarkerWidget from '@kitware/vtk.js/Interaction/Widgets/OrientationMarkerWidget';
import { Corners } from '@kitware/vtk.js/Interaction/Widgets/OrientationMarkerWidget/Constants';
import Constants from '@kitware/vtk.js/Interaction/Widgets/OrientationMarkerWidget/Constants';
import vtkAnnotatedCubeActor from '@kitware/vtk.js/Rendering/Core/AnnotatedCubeActor';
import vtkAxesActor from '@kitware/vtk.js/Rendering/Core/AxesActor';
import vtkActor from '@kitware/vtk.js/Rendering/Core/Actor';
Expand All @@ -11,6 +11,8 @@ import { BaseTool } from './base';
import { getRenderingEngines } from '@cornerstonejs/core';
import { filterViewportsWithToolEnabled } from '../utilities/viewportFilters';

const { Corners } = Constants;

const OverlayMarkerType = {
ANNOTATED_CUBE: 1,
AXES: 2,
Expand Down
2 changes: 1 addition & 1 deletion utils/ExampleRunner/template-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ module.exports = {
patterns: [
{
from:
'../../../node_modules/@cornerstonejs/dicom-image-loader/dist/dynamic-import',
'../../../node_modules/@radicalimaging/mcornerstone3d-dicom-image-loader/dist/dynamic-import',
to: '${destPath.replace(/\\/g, '/')}',
},
],
Expand Down

0 comments on commit 83b4002

Please sign in to comment.