Skip to content

Latest commit

 

History

History
31 lines (20 loc) · 1.29 KB

readme.md

File metadata and controls

31 lines (20 loc) · 1.29 KB

Project: VTK webapp

by: Omar Essam, Mohamed Bahaa, Youssef El Gazzar, Mohamed Ahmed Hamed

Problems we faced in:

  • Toggling between modes

Toggling between modes

  1. After choosing the mode, we were unable to change the mode
  • We used QuerySelector function that allows changing mode once again
  1. Toggling between two modes was allowed only once
  • we used QuerySelectorAll instead of QuerySelector as : The querySelector() method returns the first element within the document which matches a specified CSS selector(s). If multiple elements occurs, then it returns the result for only the first matching element. The querySelectorAll() method returns all the elements within the document which matches the specified CSS selector(s). It returns all the elements that matches with the selector in the form of a static NodeList object which is a collection of nodes.

Output

  • Changing iso value:

alt text

  • Changing ray casting properties:

alt text

-Toggling between modes:

alt text