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

This commit is contained in:
Gustavo Lelis committed 2019-02-12 03:30:24 -02:00
1 parent 0ff4e43315
commit de853c9221
6 files changed
+20 -20

No files matched your search

@@ -3,10 +3,10 @@ const displayFunction = data => {
};
export default {
id: 'arrowAnnotate',
id: 'ArrowAnnotate',
name: 'ArrowAnnotate',
toolGroup: 'allTools',
cornerstoneToolType: 'arrowAnnotate',
cornerstoneToolType: 'ArrowAnnotate',
options: {
measurementTable: {
displayFunction
@@ -10,10 +10,10 @@ const displayFunction = data => {
};
export default {
id: 'ellipticalRoi',
id: 'EllipticalRoi',
name: 'Ellipse',
toolGroup: 'allTools',
cornerstoneToolType: 'ellipticalRoi',
cornerstoneToolType: 'EllipticalRoi',
options: {
measurementTable: {
displayFunction
@@ -7,10 +7,10 @@ const displayFunction = data => {
};
export default {
id: 'length',
id: 'Length',
name: 'Length',
toolGroup: 'allTools',
cornerstoneToolType: 'length',
cornerstoneToolType: 'Length',
options: {
measurementTable: {
displayFunction
@@ -7,10 +7,10 @@ const displayFunction = data => {
};
export default {
id: 'simpleAngle',
id: 'SimpleAngle',
name: 'SimpleAngle',
toolGroup: 'allTools',
cornerstoneToolType: 'simpleAngle',
cornerstoneToolType: 'SimpleAngle',
options: {
measurementTable: {
displayFunction
@@ -1,15 +1,15 @@
import length from './length';
import ellipticalRoi from './ellipticalRoi';
import rectangleRoi from './rectangleRoi';
import simpleAngle from './simpleAngle';
import arrowAnnotate from './arrowAnnotate';
import Length from './Length';
import EllipticalRoi from './EllipticalRoi';
import RectangleRoi from './rectangleRoi';
import SimpleAngle from './SimpleAngle';
import ArrowAnnotate from './ArrowAnnotate';
const trackedTools = [
length,
ellipticalRoi,
rectangleRoi,
simpleAngle,
arrowAnnotate
Length,
EllipticalRoi,
RectangleRoi,
SimpleAngle,
ArrowAnnotate
];
export default [
@@ -7,10 +7,10 @@ const displayFunction = data => {
};
export default {
id: 'rectangleRoi',
id: 'RectangleRoi',
name: 'Rectangle',
toolGroup: 'allTools',
cornerstoneToolType: 'rectangleRoi',
cornerstoneToolType: 'RectangleRoi',
options: {
measurementTable: {
displayFunction