[vtkusers] ruler in dicom
Andras Lasso
lasso at queensu.ca
Tue Nov 14 11:00:04 EST 2017
You can have a look at how it is implemented in 3D Slicer.
Screenshot:
https://www.dropbox.com/s/3dzhrkq80gsbvdx/SlicerRulerScreenshot.png?dl=0
Source code:
https://github.com/Slicer/Slicer/blob/master/Libs/MRML/DisplayableManager/vtkMRMLRulerDisplayableManager.cxx
Andras
-----Original Message-----
From: vtkusers [mailto:vtkusers-bounces at vtk.org] On Behalf Of Duster
Sent: Tuesday, November 14, 2017 12:32 AM
To: vtkusers at vtk.org
Subject: [vtkusers] ruler in dicom
Hello,
I am trying to create a ruler for an image that changes along with the zoom event of the interactorstyle.
I tried using the vtkLegendScaleActor.What i am trying to achieve is marked in the pictures below. Could anyone please provide some ideas on how this can be accomplished?
Thanks in Advance
<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fvtk.1045678.n5.nabble.com%2Ffile%2Ft342185%2Fruler.png&data=02%7C01%7Classo%40queensu.ca%7Cfa1628c0d5b64d7de03308d52b2117bb%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636462343484739675&sdata=XGkhiykQbudyGH3SIQb7rMM193SZwAZtlRlr0CeGcPo%3D&reserved=0>
<https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fvtk.1045678.n5.nabble.com%2Ffile%2Ft342185%2Fruler_1.png&data=02%7C01%7Classo%40queensu.ca%7Cfa1628c0d5b64d7de03308d52b2117bb%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636462343484739675&sdata=lGZe5f89KX5GEQJq3%2BsJ05QHJBJQplgT6jmjZ42nYCM%3D&reserved=0>
--
Sent from: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fvtk.1045678.n5.nabble.com%2FVTK-Users-f1224199.html&data=02%7C01%7Classo%40queensu.ca%7Cfa1628c0d5b64d7de03308d52b2117bb%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636462343484739675&sdata=YEdncRfzPDiCbjAhD%2BSqIa4m0aSNahnT6e74%2BtxyZno%3D&reserved=0
_______________________________________________
Powered by https://na01.safelinks.protection.outlook.com/?url=www.kitware.com&data=02%7C01%7Classo%40queensu.ca%7Cfa1628c0d5b64d7de03308d52b2117bb%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636462343484739675&sdata=IpzS0rMkfrnYiVGQPhRQ8h3G6XpbCRWeqNumLRQUkx0%3D&reserved=0
Visit other Kitware open-source projects at https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.kitware.com%2Fopensource%2Fopensource.html&data=02%7C01%7Classo%40queensu.ca%7Cfa1628c0d5b64d7de03308d52b2117bb%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636462343484739675&sdata=8%2Frj8t6fD1zvrjr04J9fdxTief2arcA77rdi%2B0w%2B7Zo%3D&reserved=0
Please keep messages on-topic and check the VTK FAQ at: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.vtk.org%2FWiki%2FVTK_FAQ&data=02%7C01%7Classo%40queensu.ca%7Cfa1628c0d5b64d7de03308d52b2117bb%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636462343484739675&sdata=5rsgriXHuX8EfuThjtejQAoW66CXkZn3bhM2mFj2%2BdY%3D&reserved=0
Search the list archives at: https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fmarkmail.org%2Fsearch%2F%3Fq%3Dvtkusers&data=02%7C01%7Classo%40queensu.ca%7Cfa1628c0d5b64d7de03308d52b2117bb%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636462343484739675&sdata=OYdA09%2BCquQbTmYIRRloVaBYk32d9BkvNjkHEzCP28k%3D&reserved=0
Follow this link to subscribe/unsubscribe:
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpublic.kitware.com%2Fmailman%2Flistinfo%2Fvtkusers&data=02%7C01%7Classo%40queensu.ca%7Cfa1628c0d5b64d7de03308d52b2117bb%7Cd61ecb3b38b142d582c4efb2838b925c%7C1%7C0%7C636462343484739675&sdata=ZVzQ5l9y99LXe0hK%2BidU7wKjNlBu8JkhpzGLvb70heg%3D&reserved=0
More information about the vtkusers
mailing list