KWScene/Documentation/Supported Generators/VTK/Image: Difference between revisions

From KitwarePublic
Jump to navigationJump to search
No edit summary
Line 27: Line 27:
vtkImageReader2 -> vtkDICOMImageReader
vtkImageReader2 -> vtkDICOMImageReader
vtkImageReader2 -> vtkAnalyzeReader
vtkImageReader2 -> vtkAnalyzeReader
vtkAlgorithm -> vtkXMLReader
vtkXMLReader -> vtkXMLDataReader
vtkXMLReader -> vtkXMLDataReader
vtkXMLDataReader -> vtkXMLStructuredDataReader
vtkXMLDataReader -> vtkXMLStructuredDataReader

Revision as of 15:23, 22 April 2010

Desired Format Support

  • DICOM
  • ANALYZE
  • VTI
  • MHA


Class Diagrams

This is a graph with borders and nodes. Maybe there is an Imagemap used so the nodes may be linking to some Pages.

Options

Option A

  • Create a KWScene hierarchy that uses vtkDICOMImage and Analyze Readers for 3D images, and vtkImageReader2Factory for 2D images.
  • Will have classes
    • ImageNode-KWSGenerator
    • DICOMImageNode-KWSGenerator
    • AnalyzeImageNode-KWSGenerator
    • XMLImageNode-KWSGenerator
  • Classes deriving from kwNodeGenerator will implement a virtual method
    • AlgorithmPointer InstantiateNodeReader()
  • Unlike SurfaceNode, ConnectToRenderer does not do anything.

Proposed Hierarchy

This is a graph with borders and nodes. Maybe there is an Imagemap used so the nodes may be linking to some Pages.