2010 NAMIC Project week: Programmatic use of Volume Rendering module

From NAMIC Wiki
Revision as of 22:46, 24 May 2010 by Fedorov (talk | contribs) (Created page with '__NOTOC__ <gallery> Image:PW-MIT2010.png|Projects List Image:genuFAp.jpg|Scatter plot of the original FA data through the genu of the corpus…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Home < 2010 NAMIC Project week: Programmatic use of Volume Rendering module

Key Investigators

  • BWH: Andriy Fedorov
  • NCI: Yanling Liu
  • Isomics: Alex Yarmarkovich

Objective

A number of modules in Slicer use volume rendering. However, none of them is using this functionality from Volume Rendering module in Slicer.

The objective of this project is to develop a set of guidelines and recommendations for incorporating volume rendering into Slicer GUI modules, and convert some of the existing modules to use this functionality instead of directly accessing VTK to set up volume rendering.

Approach, Plan

This is where we start ...

set scene $::slicer3::MRMLScene

set scenario [vtkMRMLVolumeRenderingScenarioNode New]
set property [vtkMRMLVolumePropertyNode New]
set parameters [vtkMRMLVolumeRenderingParametersNode New]

$scene AddNode $property
$scene AddNode $parameters

$parameters SetAndObserveVolumeNodeID "vtkMRMLScalarVolumeNode1"
$parameters SetAndObserveVolumePropertyNodeID [$property GetID]
$scenario SetParametersNodeID [$parameters GetID]

$scene AddNode $scenario


Progress

Complete success of this project is near!

Delivery Mechanism

This work will be delivered to the NA-MIC Kit as a (please select the appropriate options by noting YES against them below)

  1. ITK Module
  2. Slicer Module
    1. Built-in
    2. Extension -- commandline
    3. Extension -- loadable
  3. Other (Please specify)

References