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

From KitwarePublic
Jump to navigationJump to search
No edit summary
Line 21: Line 21:
vtkXMLStructuredDataReader [shape=box,URL="http://www.vtk.org/doc/nightly/html/classvtkXMLStructuredDataReader.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"];
vtkXMLImageDataReader [shape=box,URL="http://www.vtk.org/doc/nightly/html/classvtkXMLImageReader.html"];
vtkAnalyzeReader  
vtkAnalyzeReader [shape=box,URL="http://www.atamai.com/cgi-bin/viewvc.cgi/AtamaiVTK/vtkAtamaiIO/vtkAnalyzeReader.cxx?root=cvspriv&view=log"];
vtkAlgorithm -> vtkImageAlgorithm  
vtkAlgorithm -> vtkImageAlgorithm  
vtkImageAlgorithm -> vtkImageReader2
vtkImageAlgorithm -> vtkImageReader2
Line 38: Line 38:
== Option A ==
== Option A ==


 
* Create a KWScene hierarchy that uses vtkDICOMImage, Analyze, XML Readers for 3D images, and vtkImageReader2 (& Factory) for 2D images.
* Create a KWScene hierarchy that uses vtkDICOMImage and Analyze Readers for 3D images, and vtkImageReader2Factory for 2D images.
* Will have classes
* Will have classes
** ImageNode-KWSGenerator
** ImageNode-KWSGenerator
Line 56: Line 55:
kwsVTKNodeGenerator
kwsVTKNodeGenerator
kwsVTKImageNodeGenerator
kwsVTKImageNodeGenerator
kwsVTKSTLSurfaceNodeGenerator
kwsVTKBYUSurfaceNodeGenerator
kwsVTKPolyDataSurfaceNodeGenerator
kwsVTKXMLPolyDataSurfaceNodeGenerator
kwsVTKGenerator -> kwsVTKNodeGenerator
kwsVTKGenerator -> kwsVTKNodeGenerator
kwsVTKNodeGenerator -> kwsVTKSurfaceNodeGenerator
kwsVTKNodeGenerator -> kwsVTKDICOMImageNodeGenerator
kwsVTKSurfaceNodeGenerator -> kwsVTKSTLSurfaceNodeGenerator
kwsVTKNodeGenerator -> kwsVTKAnalyzeImageNodeGenerator
kwsVTKSurfaceNodeGenerator -> kwsVTKBYUSurfaceNodeGenerator
kwsVTKNodeGenerator -> kwsVTKXMLImageNodeNodeGenerator
kwsVTKSurfaceNodeGenerator -> kwsVTKPolyDataSurfaceNodeGenerator
kwsVTKSurfaceNodeGenerator -> kwsVTKXMLPolyDataSurfaceNodeGenerator
}
}
</graphviz>
</graphviz>

Revision as of 15:28, 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, Analyze, XML Readers for 3D images, and vtkImageReader2 (& Factory) 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.