2012 Project Week:QT3DTextRendering

From NAMIC Wiki
Jump to: navigation, search
Home < 2012 Project Week:QT3DTextRendering

Key Investigators

  • Kitware: Julien Finet
  • Isomics: Steve Pieper
  • BWH: Nicole Aucoin



Objective

  • Investigate to see if we can replace the VTK text actors with a Qt 3D text solution in the 3D viewer
    • considerations are both speed (support hundreds of fiducials in a scene and keep interaction speedy) and appearance (get rid of aliasing effects)



Approach, Plan

  • Implement a proof of concept to see if we can get Qt text rendered in 3D
  • Do timing tests head to head with VTK text to see if rendering speed is increased

Progress

  • Julien and Nicole talked early in the week to discuss possible approaches
    • update vtkTextActor to reduce aliasing: not practical
    • do a Qt rendering to QImage and texture map that onto an actor that can be situated in 3d space: possible
  • First step is unit testing to determine slow down factor of many fiducials with and without text
    • Render time is a lot faster now, better appearance of the letters is the main factor
  • Investigating the vtkQtLabelRenderStrategy class to see if it can be extended to 3D
    • will require a fair amount of coding, working on an example/test

Delivery Mechanism

This work will be delivered to the NA-MIC Kit as a

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

References