Skip to content

Commit 6b98141

Browse files
authored
Revert "Image mapper class and example rendering. (#110)" (#111)
This reverts commit 361ca81.
1 parent 361ca81 commit 6b98141

File tree

9 files changed

+13
-918
lines changed

9 files changed

+13
-918
lines changed

.vscode/settings.json

+1-4
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,5 @@
2626
],
2727
"prettier.disableLanguages": [],
2828
"prettier.endOfLine": "lf",
29-
"workbench.colorCustomizations": {},
30-
"editor.codeActionsOnSave": {
31-
"source.fixAll.eslint": true
32-
}
29+
"workbench.colorCustomizations": {}
3330
}

examples/App.js

+4-12
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import VTKMPRPaintingExample from './VTKMPRPaintingExample.js';
77
import VTKCornerstonePaintingSyncExample from './VTKCornerstonePaintingSyncExample.js';
88
import VTKLoadImageDataExample from './VTKLoadImageDataExample.js';
99
import VTKCrosshairsExample from './VTKCrosshairsExample.js';
10-
import VTK4UpExample from './VTK4UpExample.js';
1110
import VTKMPRRotateExample from './VTKMPRRotateExample.js';
1211
import VTKVolumeRenderingExample from './VTKVolumeRenderingExample.js';
1312

@@ -52,7 +51,8 @@ function Index() {
5251
{
5352
title: 'Volume Rendering',
5453
url: '/volume-rendering',
55-
text: 'Demonstrates how to perform volume rendering for a CT volume.',
54+
text:
55+
'Demonstrates how to perform volume rendering for a CT volume.',
5656
},
5757
{
5858
title: 'Image Segmentation via Paint Widget',
@@ -72,11 +72,6 @@ function Index() {
7272
text:
7373
'Demonstrates how to set up the Crosshairs interactor style and SVG Widget',
7474
},
75-
{
76-
title: 'MPR 4UP Example',
77-
url: '/4up',
78-
text: 'Demonstrates a 4UP view',
79-
},
8075
{
8176
title: 'MPR Rotate Example',
8277
url: '/rotate',
@@ -90,7 +85,7 @@ function Index() {
9085
},
9186
];
9287

93-
const exampleComponents = examples.map((e) => {
88+
const exampleComponents = examples.map(e => {
9489
return <ExampleEntry key={e.title} {...e} />;
9590
});
9691

@@ -148,10 +143,8 @@ function AppRouter() {
148143
const synced = () =>
149144
Example({ children: <VTKCornerstonePaintingSyncExample /> });
150145
const crosshairs = () => Example({ children: <VTKCrosshairsExample /> });
151-
const fourUp = () => Example({ children: <VTK4UpExample /> });
152146
const rotateMPR = () => Example({ children: <VTKMPRRotateExample /> });
153-
const volumeRendering = () =>
154-
Example({ children: <VTKVolumeRenderingExample /> });
147+
const volumeRendering = () => Example({ children: <VTKVolumeRenderingExample /> });
155148

156149
return (
157150
<Router>
@@ -162,7 +155,6 @@ function AppRouter() {
162155
<Route exact path="/painting" render={painting} />
163156
<Route exact path="/cornerstone-sync-painting" render={synced} />
164157
<Route exact path="/crosshairs" render={crosshairs} />
165-
<Route exact path="/4up" render={fourUp} />
166158
<Route exact path="/rotate" render={rotateMPR} />
167159
<Route exact path="/volume-rendering" render={volumeRendering} />
168160
<Route exact path="/cornerstone-load-image-data" render={loadImage} />

0 commit comments

Comments
 (0)