feat(measurementTable): Fixing tool naming to match with tools instanciated in the viewer

This commit is contained in:
Gustavo Lelis 2019-02-06 21:35:25 -02:00
parent 0ff4e43315
commit de853c9221
6 changed files with 20 additions and 20 deletions

View File

@ -3,10 +3,10 @@ const displayFunction = data => {
}; };
export default { export default {
id: 'arrowAnnotate', id: 'ArrowAnnotate',
name: 'ArrowAnnotate', name: 'ArrowAnnotate',
toolGroup: 'allTools', toolGroup: 'allTools',
cornerstoneToolType: 'arrowAnnotate', cornerstoneToolType: 'ArrowAnnotate',
options: { options: {
measurementTable: { measurementTable: {
displayFunction displayFunction

View File

@ -10,10 +10,10 @@ const displayFunction = data => {
}; };
export default { export default {
id: 'ellipticalRoi', id: 'EllipticalRoi',
name: 'Ellipse', name: 'Ellipse',
toolGroup: 'allTools', toolGroup: 'allTools',
cornerstoneToolType: 'ellipticalRoi', cornerstoneToolType: 'EllipticalRoi',
options: { options: {
measurementTable: { measurementTable: {
displayFunction displayFunction

View File

@ -7,10 +7,10 @@ const displayFunction = data => {
}; };
export default { export default {
id: 'length', id: 'Length',
name: 'Length', name: 'Length',
toolGroup: 'allTools', toolGroup: 'allTools',
cornerstoneToolType: 'length', cornerstoneToolType: 'Length',
options: { options: {
measurementTable: { measurementTable: {
displayFunction displayFunction

View File

@ -7,10 +7,10 @@ const displayFunction = data => {
}; };
export default { export default {
id: 'simpleAngle', id: 'SimpleAngle',
name: 'SimpleAngle', name: 'SimpleAngle',
toolGroup: 'allTools', toolGroup: 'allTools',
cornerstoneToolType: 'simpleAngle', cornerstoneToolType: 'SimpleAngle',
options: { options: {
measurementTable: { measurementTable: {
displayFunction displayFunction

View File

@ -1,15 +1,15 @@
import length from './length'; import Length from './Length';
import ellipticalRoi from './ellipticalRoi'; import EllipticalRoi from './EllipticalRoi';
import rectangleRoi from './rectangleRoi'; import RectangleRoi from './rectangleRoi';
import simpleAngle from './simpleAngle'; import SimpleAngle from './SimpleAngle';
import arrowAnnotate from './arrowAnnotate'; import ArrowAnnotate from './ArrowAnnotate';
const trackedTools = [ const trackedTools = [
length, Length,
ellipticalRoi, EllipticalRoi,
rectangleRoi, RectangleRoi,
simpleAngle, SimpleAngle,
arrowAnnotate ArrowAnnotate
]; ];
export default [ export default [

View File

@ -7,10 +7,10 @@ const displayFunction = data => {
}; };
export default { export default {
id: 'rectangleRoi', id: 'RectangleRoi',
name: 'Rectangle', name: 'Rectangle',
toolGroup: 'allTools', toolGroup: 'allTools',
cornerstoneToolType: 'rectangleRoi', cornerstoneToolType: 'RectangleRoi',
options: { options: {
measurementTable: { measurementTable: {
displayFunction displayFunction