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 {
id: 'arrowAnnotate',
id: 'ArrowAnnotate',
name: 'ArrowAnnotate',
toolGroup: 'allTools',
cornerstoneToolType: 'arrowAnnotate',
cornerstoneToolType: 'ArrowAnnotate',
options: {
measurementTable: {
displayFunction

View File

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

View File

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

View File

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

View File

@ -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 [

View File

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