KWScene/Documentation/Supported Generators/VTK/Image

From KitwarePublic
Jump to navigationJump to search

Desired Format Support

  • DICOM (.dcm)
  • ANALYZE (.hdr/.ima)
  • XML (.vti)
  • MetaImage (.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, Analyze, XML Readers for 3D images, and vtkImageReader2 (& Factory) for 2D images.
  • Will have classes
    • FactoryBasedImageNode-KWSGenerator
    • DICOMImageNode-KWSGenerator
    • AnalyzeImageNode-KWSGenerator
    • XMLImageNode-KWSGenerator
  • Classes deriving from kwsImageNodeGenerator 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.