diff --git a/usage/src/Volume/PET_CT_Overlay.jsx b/usage/src/Volume/PET_CT_Overlay.jsx index a1b9f61..98abd4c 100644 --- a/usage/src/Volume/PET_CT_Overlay.jsx +++ b/usage/src/Volume/PET_CT_Overlay.jsx @@ -2,6 +2,7 @@ import vtkITKHelper from '@kitware/vtk.js/Common/DataModel/ITKHelper'; import vtkLiteHttpDataAccessHelper from '@kitware/vtk.js/IO/Core/DataAccessHelper/LiteHttpDataAccessHelper'; import vtkResourceLoader from '@kitware/vtk.js/IO/Core/ResourceLoader'; import vtkColorMaps from '@kitware/vtk.js/Rendering/Core/ColorTransferFunction/ColorMaps.js'; +import { BlendMode } from '@kitware/vtk.js/Rendering/Core/VolumeMapper/Constants.js'; import { unzipSync } from 'fflate'; import { useContext, useEffect, useState } from 'react'; import './PET_CT_Overlay.css'; @@ -15,6 +16,7 @@ import { SliceRepresentation, UseDataSet, View, + VolumeRepresentation, } from 'react-vtk-js'; function Slider(props) { @@ -243,7 +245,7 @@ function Example(props) { style={{ position: 'absolute', left: '0px', - width: '50%', + width: '33%', height: '100%', }} > @@ -298,8 +300,8 @@ function Example(props) {
@@ -353,6 +355,37 @@ function Example(props) {
+
+ + + + + +