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

From KitwarePublic
Jump to navigationJump to search
(Created page with '= Desired Format Support = * PolyData from .vtk legacy files * BYU files = Class Diagrams = <graphviz> digraph G { vtkAlgorithm [URL="http://www.vtk.org/doc/nightly/html/cla…')
 
No edit summary
Line 1: Line 1:
= Desired Format Support =
= Desired Format Support =


* PolyData from .vtk legacy files
* DICOM
* BYU files
* ANALYZE
* VTI
* MHA




Line 15: Line 17:
vtkDICOMImageReader [shape=box,URL="http://www.vtk.org/doc/nightly/html/classvtkDICOMImageReader.html"];
vtkDICOMImageReader [shape=box,URL="http://www.vtk.org/doc/nightly/html/classvtkDICOMImageReader.html"];
vtkMetaImageReader [shape=box,URL="http://www.vtk.org/doc/nightly/html/classvtkMetaImageReader.html"];
vtkMetaImageReader [shape=box,URL="http://www.vtk.org/doc/nightly/html/classvtkMetaImageReader.html"];
vtkXMLReader [shape=box,URL="http://www.vtk.org/doc/nightly/html/classvtkXMLReader.html"];
vtkXMLDataReader [shape=box,URL="http://www.vtk.org/doc/nightly/html/classvtkXMLDataReader.html"];
vtkXMLStructuredDataReader [shape=box,URL="http://www.vtk.org/doc/nightly/html/classvtkXMLStructuredDataReader.html"];
vtkXMLImageDataReader [shape=box,URL="http://www.vtk.org/doc/nightly/html/classvtkXMLImageReader.html"];
vtkAnalyzeReader  
vtkAnalyzeReader  
vtkAlgorithm -> vtkImageAlgorithm  
vtkAlgorithm -> vtkImageAlgorithm  
Line 21: Line 27:
vtkImageReader2 -> vtkDICOMImageReader
vtkImageReader2 -> vtkDICOMImageReader
vtkImageReader2 -> vtkAnalyzeReader
vtkImageReader2 -> vtkAnalyzeReader
vtkXMLReader -> vtkXMLDataReader
vtkXMLDataReader -> vtkXMLStructuredDataReader
vtkXMLStructuredDataReader -> vtkXMLImageDataReader
}
}
</graphviz>
</graphviz>
Line 34: Line 43:
** DICOMImageNode-KWSGenerator
** DICOMImageNode-KWSGenerator
** AnalyzeImageNode-KWSGenerator
** AnalyzeImageNode-KWSGenerator
** XMLImageNode-KWSGenerator
* Classes deriving from kwNodeGenerator will implement a virtual method  
* Classes deriving from kwNodeGenerator will implement a virtual method  
** AlgorithmPointer InstantiateNodeReader()  
** AlgorithmPointer InstantiateNodeReader()  

Revision as of 15:21, 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.