Difference between revisions of "Project Week 25/Interactive Manipulation of Plots and Graphs"
From NAMIC Wiki
(23 intermediate revisions by 3 users not shown) | |||
Line 2: | Line 2: | ||
Back to [[Project_Week_25#Projects|Projects List]] | Back to [[Project_Week_25#Projects|Projects List]] | ||
− | |||
==Key Investigators== | ==Key Investigators== | ||
<!-- Key Investigator bullet points --> | <!-- Key Investigator bullet points --> | ||
− | *[http://www.rug.nl/staff/davide.punzo/ Davide Punzo] (Kapteyn Astronomical Institute) | + | *[http://www.rug.nl/staff/davide.punzo/ Davide Punzo] (Kapteyn Astronomical Institute, University of Groningen, The Netherlands) |
− | *[ | + | *[http://www.spl.harvard.edu/pages/People/pieper Steve Pieper] (Isomics Inc., USA) |
− | *[https://www.kitware.com/jean-christophe-fillion-robin/ Jean-Christophe Fillion-Robin] (Kitware) | + | *[https://www.kitware.com/jean-christophe-fillion-robin/ Jean-Christophe Fillion-Robin] (Kitware Inc., USA) |
+ | *[http://perk.cs.queensu.ca/users/lasso Andras Lasso] (Queen's University, Canada) | ||
==Project Description== | ==Project Description== | ||
Line 25: | Line 25: | ||
* Implement them | * Implement them | ||
|<!-- Progress and Next steps (fill out at the end of project week), bullet points --> | |<!-- Progress and Next steps (fill out at the end of project week), bullet points --> | ||
− | + | * Once updated to jqplot version 1.0.9 (necessary for click and drag) the plotting does not work anymore. The infrastructure needs to be updated. Data selection will be hard to achieve. | |
+ | * We decided to switch to [http://www.vtk.org/features-2d-plots-and-charts/ vtkPlots] (jqplot will be preserved for producing plots at publication quality level). The new infrastructure will allow a direct C++ integration of the vtkTable into the plotting (e.g., all the observations and data handling are automatically set), better performance (i.e., interactive performance up to hundreds of thousands of points) and easier customization. | ||
+ | * VTK PLOTS already have the following interactive desired functionality: zooming (middle click), panning (left click) and data selection (right click). | ||
+ | * The following widget, MRML and View classes have been designed and implemented: vtkMRMLPlotViewNode, vtkMRMLPlotNode, qMRMLPlotWidget, qMRMLPlotViewControllerWidget and qMRMLPlotView. | ||
+ | * A New Plot Layout has been created (index 36) and exposed to the qSlicerAppMainWindow widget. | ||
+ | * TO DO: connecting the new infrastructure with the Table Module. | ||
+ | * TO DO: implementing click and drag style interactor (e.g., https://echnotstechno.wordpress.com/2014/08/13/interactive-2d-plots-with-vtk-the-visualization-toolkit/ ). | ||
+ | * '''Implemented''' : https://www.slicer.org/wiki/Documentation/Nightly/Developers/Plots | ||
+ | https://www.youtube.com/watch?v=5Ag0PzYw0Hk&index=4&list=PLctSHxZgiJy6TZCu56v4qqb_uIdUL_KEz | ||
|} | |} | ||
Line 31: | Line 39: | ||
The idea is to be able to modify the parameters (in the table) of a model (blue object in the 3D View) directly from the plotting window. | The idea is to be able to modify the parameters (in the table) of a model (blue object in the 3D View) directly from the plotting window. | ||
− | [[ | + | [[image:SlicerAstroWiki13.png|1200px]] |
+ | |||
+ | |||
+ | VTKPLOTS sin and cos plus data selection (red crosses) example: | ||
+ | |||
+ | [[image:vtkPlots.png|1200px]] | ||
==Background and References== | ==Background and References== | ||
Line 37: | Line 50: | ||
*http://www.jqplot.com/examples/customHighlighterCursorTrendline.php | *http://www.jqplot.com/examples/customHighlighterCursorTrendline.php | ||
*http://www.jqplot.com/examples/zooming.php | *http://www.jqplot.com/examples/zooming.php | ||
+ | *[https://github.com/Punzo/SlicerAstro/wiki/ SlicerAstro] | ||
+ | |||
+ | [[image:SlicerAstroLogo.png|400px]] | ||
+ | |||
+ | *(Just for fun: how the gas in a galaxy looks like in 3D https://www.youtube.com/watch?v=yLjW9nbdO8g ) |
Latest revision as of 16:15, 14 February 2018
Home < Project Week 25 < Interactive Manipulation of Plots and Graphs
Back to Projects List
Key Investigators
- Davide Punzo (Kapteyn Astronomical Institute, University of Groningen, The Netherlands)
- Steve Pieper (Isomics Inc., USA)
- Jean-Christophe Fillion-Robin (Kitware Inc., USA)
- Andras Lasso (Queen's University, Canada)
Project Description
Objective | Approach and Plan | Progress and Next Steps |
---|---|---|
Implementing the following plotting and graphs infrastructure enhancement:
|
|
https://www.youtube.com/watch?v=5Ag0PzYw0Hk&index=4&list=PLctSHxZgiJy6TZCu56v4qqb_uIdUL_KEz |
Illustrations
The idea is to be able to modify the parameters (in the table) of a model (blue object in the 3D View) directly from the plotting window.
VTKPLOTS sin and cos plus data selection (red crosses) example:
Background and References
- https://www.slicer.org/wiki/Developer_Meetings/20170425
- http://www.jqplot.com/examples/customHighlighterCursorTrendline.php
- http://www.jqplot.com/examples/zooming.php
- SlicerAstro
- (Just for fun: how the gas in a galaxy looks like in 3D https://www.youtube.com/watch?v=yLjW9nbdO8g )