GithubHelp home page GithubHelp logo

angleplanes-extension's Introduction

AnglePlanes

Description

This Module is used to calculate the angle between two planes by using the normals.

The user gets the choice to use two planes which are already implemented on Slicer or they can define a plane by using landmarks (at least 3 landmarks).

Plane can also be saved to be reused for other models.

License

See LICENSE.txt for information on using and contributing.

angleplanes-extension's People

Contributors

allemangd avatar jamesobutler avatar jbvimort avatar jcfr avatar juanprietob avatar julialopinto avatar phcerdan avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

angleplanes-extension's Issues

color planes should not resize when sash is adjusted

When the slice reformat widgets are visible they track the size of the slice viewers by default. To change this behavior you can adjust the SliceResolution modue for each slice node associated with the plane.

https://github.com/Slicer/Slicer/blob/master/Libs/MRML/Core/vtkMRMLSliceNode.h#L390-L404

SliceResolutionMatchVolumes

@fbudin69500 this is what we discussed on the hangout -- I think you will know where to put this in the code but if not I can have a look.

Evaluate use of Plane markup

To define a planes, the user is currently expected to:

  • click on "Compute around bounding box"
  • select the model for projection
  • create a "connected landmark list"
  • click "add a new plane"
  • manually place 3 fiducials and make sure the correct fiducials are associated with the plane

image

To streamline this process and rely on the new plane markups, here are few questions:

  • what is the role of the "Define middle point between two landmarks" ? Is this is still needed ?
  • the save/load plane is an undocumented format specific to this extension. Are these files used ? Can we now use the new "json" format used to save markup annotation in Slicer ? (it is versioned and has a schema)

The plane markup is also associated with 3 fiducials and provide a mechanism to easily adjust angle/origin of the plane by showing an interactive tool:

image

By using the plane annotation, we would remove a lot of code in the extension and would simply display a list of plane markup annotations.

cc: @msyatabe

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.