feat(measurementTable): Fixing tool naming to match with tools instanciated in the viewer
This commit is contained in:
parent
0ff4e43315
commit
de853c9221
@ -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
|
||||||
@ -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
|
||||||
@ -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
|
||||||
@ -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
|
||||||
@ -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 [
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user