Difference between revisions of "Modules:DataModule-3.4"

From Slicer Wiki
Jump to: navigation, search
Line 19: Line 19:
 
= Displaying and Modifying the MRML Scene Hierarchy =
 
= Displaying and Modifying the MRML Scene Hierarchy =
  
The Data Module's MRML Scene Tree viewer shows how datasets in the MRML Scene are represented and offers options for deleting data, moving it to a different location in the hierarchy, adjusting its parameters and toggling its visibility, as shown in the figure below. For Developers or anyone interested, each selected dataset's unique MRML Node ID is displayed in the MRML Node Inspector below the MRML Tree viewer.
+
The Data Module's MRML Scene Tree viewer shows how datasets in the MRML Scene are represented and offers options for deleting data, moving it to a different location in the hierarchy, adjusting its parameters and toggling its visibility, as shown in the figure below.  
  
 
[[Image:Data-3.4-LoadDataShowData.png | Show all loaded data]]
 
[[Image:Data-3.4-LoadDataShowData.png | Show all loaded data]]
  
The panel beneath the MRML Scene Tree viewer provides convenient access to tools for loading many different types of data:
+
For Developers or anyone interested, a checkbox toggles the display of each dataset's MRML ID, and each selected dataset's unique MRML ID is displayed in the MRML Node Inspector below the MRML Tree viewer. The panel beneath the MRML Scene Tree viewer provides convenient access to tools for loading many different types of data:
  
 
[[Image:Data-3.4-LoadDataDataGUI.png | Load Data GUI]]
 
[[Image:Data-3.4-LoadDataDataGUI.png | Load Data GUI]]

Revision as of 15:28, 6 May 2009

Home < Modules:DataModule-3.4

Return to Slicer Documentation

Overview

This module allows you to load scenes and individual datasets of many types, and to view the scene's data hierarchy. The Data Module's "Load Panel" is first shown and described below, option by option. Then the panel that displays the MRML Scene hierarchy is described, along with functionality to modify that hierarchy and the visibility of each dataset (represented by a "Node") in the scene.

Terminology: MRML, MRML Scene Description, MRML Tree, MRML Nodes

  • MRML (pronounced mur-muhl) stands for the "Medical Reality Markup Language"; and is an XML-based representation of a a MRML Scene.
  • MRML Scene is the collection of datasets and their current state, viewing parameters, semantic descriptions, and also algorithm parameterization. A MRML Scene may also contain a set of alternate state configurations (scene snapshots) of interest.
  • MRML Scene description is the XML-based file (with extension .mrml) that contains the complete MRML Scene specification, and which references all datasets present in the MRML Scene. Slicer loads and saves MRML Scene description files. In order to load a MRML Scene from a description file, Slicer requires that all the datasets it references must be present in their referenced directory or file path.
  • MRML Tree is the hierarchical description of how data in a MRML Scene is represented. For instance, a Transformation Matrix may apply to multiple datasets, so these datasets are represented as children of the transform in the Data Module's tree-view of the scene.
  • MRML Nodes are data and parameter containers in the MRML Scene. Nodes may contain volumetric data (e.g. ScalarVolumeNodes or ScalarVolumeStorageNodes) or polygonal data (e.g ModelNodes or ModelStorageNodes) or the state of a particular Slicer software module (e.g. EMSSegmenterNode). MRML Nodes that describe/represent data have names, and are displayed in the Data Module's MRML Scene Tree panel. All nodes are saved into the MRML Scene description.

Displaying and Modifying the MRML Scene Hierarchy

The Data Module's MRML Scene Tree viewer shows how datasets in the MRML Scene are represented and offers options for deleting data, moving it to a different location in the hierarchy, adjusting its parameters and toggling its visibility, as shown in the figure below.

Show all loaded data

For Developers or anyone interested, a checkbox toggles the display of each dataset's MRML ID, and each selected dataset's unique MRML ID is displayed in the MRML Node Inspector below the MRML Tree viewer. The panel beneath the MRML Scene Tree viewer provides convenient access to tools for loading many different types of data:

Load Data GUI

Loading Scenes & Datasets, and Viewing the MRML Scene Hierarchy using the Data Module

Note that this collection of load options is a temporary placeholder for a more generalized scene & data loading interface, which we are working on for future versions of the Slicer software. The load panel is shown below:

Load Data Panel

The options it contains duplicate load options currently exposed in other parts of the Slicer software. Here, we'll briefly describe each option and mention where else in Slicer the functionality can be found.

Loading New Scenes

Data-3.4-LoadScene.png

Adding a Scene

Data-3.4-AddScene.png

Adding Individual Datasets, or a Directory of Data

Data-3.4-AddData.png

Adding Scalar and Tensor Volumes

Data-3.4-AddVolume.png

Adding 3D Models, or a Directory of Models

Data-3.4-AddModel.png

Adding a Scalar Overlay to a Model

Data-3.4-AddOverlay.png

Adding a Transformation Matrix

Data-3.4-AddMatrix.png

Adding a Fiducial List

Data-3.4-AddFiducialList.png

Adding a Custom Color Table

Data-3.4-AddColorTable.png

Adding a DTI Fiber Bundle

Data-3.4-AddFiberBundle.png