Skip to content

Commit

Permalink
Revert "Image mapper class and example rendering. (#110)" (#111)
Browse files Browse the repository at this point in the history
This reverts commit 361ca81.
  • Loading branch information
JamesAPetts authored Oct 1, 2020
1 parent 361ca81 commit 6b98141
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 918 deletions.
5 changes: 1 addition & 4 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,5 @@
],
"prettier.disableLanguages": [],
"prettier.endOfLine": "lf",
"workbench.colorCustomizations": {},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
}
"workbench.colorCustomizations": {}
}
16 changes: 4 additions & 12 deletions examples/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import VTKMPRPaintingExample from './VTKMPRPaintingExample.js';
import VTKCornerstonePaintingSyncExample from './VTKCornerstonePaintingSyncExample.js';
import VTKLoadImageDataExample from './VTKLoadImageDataExample.js';
import VTKCrosshairsExample from './VTKCrosshairsExample.js';
import VTK4UpExample from './VTK4UpExample.js';
import VTKMPRRotateExample from './VTKMPRRotateExample.js';
import VTKVolumeRenderingExample from './VTKVolumeRenderingExample.js';

Expand Down Expand Up @@ -52,7 +51,8 @@ function Index() {
{
title: 'Volume Rendering',
url: '/volume-rendering',
text: 'Demonstrates how to perform volume rendering for a CT volume.',
text:
'Demonstrates how to perform volume rendering for a CT volume.',
},
{
title: 'Image Segmentation via Paint Widget',
Expand All @@ -72,11 +72,6 @@ function Index() {
text:
'Demonstrates how to set up the Crosshairs interactor style and SVG Widget',
},
{
title: 'MPR 4UP Example',
url: '/4up',
text: 'Demonstrates a 4UP view',
},
{
title: 'MPR Rotate Example',
url: '/rotate',
Expand All @@ -90,7 +85,7 @@ function Index() {
},
];

const exampleComponents = examples.map((e) => {
const exampleComponents = examples.map(e => {
return <ExampleEntry key={e.title} {...e} />;
});

Expand Down Expand Up @@ -148,10 +143,8 @@ function AppRouter() {
const synced = () =>
Example({ children: <VTKCornerstonePaintingSyncExample /> });
const crosshairs = () => Example({ children: <VTKCrosshairsExample /> });
const fourUp = () => Example({ children: <VTK4UpExample /> });
const rotateMPR = () => Example({ children: <VTKMPRRotateExample /> });
const volumeRendering = () =>
Example({ children: <VTKVolumeRenderingExample /> });
const volumeRendering = () => Example({ children: <VTKVolumeRenderingExample /> });

return (
<Router>
Expand All @@ -162,7 +155,6 @@ function AppRouter() {
<Route exact path="/painting" render={painting} />
<Route exact path="/cornerstone-sync-painting" render={synced} />
<Route exact path="/crosshairs" render={crosshairs} />
<Route exact path="/4up" render={fourUp} />
<Route exact path="/rotate" render={rotateMPR} />
<Route exact path="/volume-rendering" render={volumeRendering} />
<Route exact path="/cornerstone-load-image-data" render={loadImage} />
Expand Down
Loading

0 comments on commit 6b98141

Please sign in to comment.