GithubHelp home page GithubHelp logo

easyclip-extension's People

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

easyclip-extension's Issues

Flipped orientation

When surface models (stl or vtk format) are loaded into Slicer 4.11, we can orient them in the Slicer Coordinate system following our protocol described by Ruellas in 2016.
When the oriented files are saved and later uploaded back in Slicer, we must now select the coordinate system as RAS. However, if we edit the surface model files with EasyClip and save them in Slicer, when we upload them once again in Slicer they are flipped 180 degrees (anterior shows as posterior) and it does not make a difference if we upload them as LPS or RAS orientation, they are always flipped.

Please see video recording saved to google DCBIA/KitwareSlicerextensionswork/VIDEOS on BUGS

cc: @jcfr @bpaniagua @JEHoctor @aruellas

Memory leaks

Opening the module without any data loaded, then perform no action, and closing slicer, produces a memory leak in vtkCollection.

Slicer closing print messages:

Switch to module:  ""
Switch to module:  ""
vtkDebugLeaks has detected LEAKS!
Class "vtkCollection" has 1 instance still around.

If something more useful is done, for example, creating three planes and clip, this is the result:

Switch to module:  ""
ctkSliderWidget::setSingleStep()  6.71768 is out of bounds. 58.0057 64.7234 61.3645
ctkSliderWidget::setSingleStep()  6.71768 is out of bounds. 58.0057 64.7234 61.3645
ctkSliderWidget::setSingleStep()  6.71768 is out of bounds. 58.0057 64.7234 61.3645
ctkSliderWidget::setSingleStep()  6.71768 is out of bounds. 58.0057 64.7234 61.3645
Switch to module:  ""
vtkDebugLeaks has detected LEAKS!
Class "vtkCollection" has 4 instances still around.
Class "vtkObserverManager" has 1 instance still around.
Class "vtkIntArray" has 3 instances still around.
Class "vtkMRMLModelNode" has 1 instance still around.
Class "vtkTagTable" has 1 instance still around.
Class "vtkCommand or subclass" has 3 instances still around.
Class "9vtkBufferIiE" has 3 instances still around.

Easyclip close model

After the clipping operation, and when there are multiple open boundaries in the 3D model created by that clip, the close open boundary algorithm creating back a solid shape does not work - only the smallest simple connected boundary opening gets closed.

Maybe this could be solved by keeping record of all points in all new boundaries created by the clipping and making sure (via their neighbourhood polygons?) that they are no longer part of an open boundary after the close open boundary step.

When closing scene planes disappear

When closing the scene once the clipping planes disappear and the only way to use again the extension is to re-load the whole Slicer application.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.