View Issue Details

IDProjectCategoryView StatusLast Update
0003123Slicer4Module Annotationspublic2017-06-07 23:27
ReportersalaG Assigned Tonicole  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product VersionSlicer 4.2.2-1 
Target VersionSlicer 4.4.0Fixed in VersionSlicer 4.4.0 
Summary0003123: Distance measurement error when creating an annotation ruler
Description

When creating a vtkMRMLAnnotationRuleNode and initializing the two points, the distance measurement of the ruler does not have the correct value, it returns a value close to 0.

It seems the distance measurement is not initialized when creating the node, but only when it is updated once there is mouse interaction.

TagsNo tags attached.

Activities

nicole

nicole

2013-05-16 10:38

administrator   ~0008652

I had fixed this in my local copy but hadn't checked it in yet. Changes are in svn 22005[1], let me know if that fixes the problem you're having.

[1] http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=22005

salaG

salaG

2013-05-16 10:45

reporter   ~0008653

Great.
Yes, thank you.

jcfr

jcfr

2014-03-06 04:53

administrator   ~0010790

Closing resolved issues that have not been updated in more than 3 months

Related Changesets

Slicer: 2145-support-for-installing-extension-from-file d86048c7

2013-05-16 14:37:18

naucoin

Details Diff
BUG: Calculate ruler distance so it's up to date

When adding a ruler node programatically to the scene, with initialised
end point coordinates, the distance wasn't getting updated. Removed the
local variable that saved the distance and changed GetDistanceMeasurement
to calculate it when called. Still writes out the distance to MRML
but does not read it back in as it will be re-calculated.

Issue 0003123



git-svn-id: http://svn.slicer.org/Slicer4/trunk@22005 3bd1e089-480b-0410-8dfb-8563597acbee
mod - Modules/Loadable/Annotations/MRML/vtkMRMLAnnotationRulerNode.cxx Diff File
mod - Modules/Loadable/Annotations/MRML/vtkMRMLAnnotationRulerNode.h Diff File
mod - Modules/Loadable/Annotations/MRMLDM/vtkMRMLAnnotationRulerDisplayableManager.cxx Diff File

Issue History

Date Modified Username Field Change
2013-05-16 10:18 salaG New Issue
2013-05-16 10:18 salaG Status new => assigned
2013-05-16 10:18 salaG Assigned To => nicole
2013-05-16 10:38 nicole Note Added: 0008652
2013-05-16 10:38 nicole Status assigned => resolved
2013-05-16 10:38 nicole Resolution open => fixed
2013-05-16 10:45 salaG Note Added: 0008653
2014-03-06 04:53 jcfr Note Added: 0010790
2014-03-06 04:54 jcfr Status resolved => closed
2014-03-06 05:56 jcfr Fixed in Version => Slicer 4.4.0
2014-03-06 06:15 jcfr Target Version => Slicer 4.4.0
2017-06-07 23:27 Changeset attached => Slicer 2145-support-for-installing-extension-from-file d86048c7