KWScene/Documentation/Supported Generators/VTK/Image: Difference between revisions
From KitwarePublic
< KWScene | Documentation | Supported Generators | VTK
Jump to navigationJump to search
(7 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
= Desired Format Support = | = Desired Format Support = | ||
* DICOM | * DICOM (.dcm) | ||
* ANALYZE | * ANALYZE (.hdr/.ima) | ||
* | * XML (.vti) | ||
* | * MetaImage (.mha) | ||
= Class Diagrams = | = Class Diagrams = | ||
Line 21: | Line 20: | ||
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 | ||
vtkImageReader2 -> vtkDICOMImageReader | vtkImageReader2 -> vtkDICOMImageReader | ||
vtkImageReader2 -> vtkAnalyzeReader | vtkImageReader2 -> vtkAnalyzeReader | ||
vtkImageReader2 -> vtkMetaImageReader | |||
vtkAlgorithm -> vtkXMLReader | vtkAlgorithm -> vtkXMLReader | ||
vtkXMLReader -> vtkXMLDataReader | vtkXMLReader -> vtkXMLDataReader | ||
Line 38: | Line 37: | ||
== 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 | |||
* Will have classes | * Will have classes | ||
** | ** FactoryBasedImageNode-KWSGenerator | ||
** DICOMImageNode-KWSGenerator | ** DICOMImageNode-KWSGenerator | ||
** AnalyzeImageNode-KWSGenerator | ** AnalyzeImageNode-KWSGenerator | ||
** XMLImageNode-KWSGenerator | ** XMLImageNode-KWSGenerator | ||
* Classes deriving from | * Classes deriving from kwsImageNodeGenerator will implement a virtual method | ||
** AlgorithmPointer InstantiateNodeReader() | ** AlgorithmPointer InstantiateNodeReader() | ||
* Unlike SurfaceNode, ConnectToRenderer does not do anything. | * Unlike SurfaceNode, ConnectToRenderer does not do anything. | ||
Line 56: | Line 54: | ||
kwsVTKNodeGenerator | kwsVTKNodeGenerator | ||
kwsVTKImageNodeGenerator | kwsVTKImageNodeGenerator | ||
kwsVTKGenerator -> kwsVTKNodeGenerator | kwsVTKGenerator -> kwsVTKNodeGenerator | ||
kwsVTKNodeGenerator -> | kwsVTKNodeGenerator -> kwsVTKImageNodeGenerator | ||
kwsVTKImageNodeGenerator -> kwsVTKFactoryBasedImageNodeGenerator | |||
kwsVTKImageNodeGenerator -> kwsVTKDICOMImageNodeGenerator | |||
kwsVTKImageNodeGenerator -> kwsVTKAnalyzeImageNodeGenerator | |||
kwsVTKImageNodeGenerator -> kwsVTKXMLImageNodeNodeGenerator | |||
} | } | ||
</graphviz> | </graphviz> |
Latest revision as of 18:55, 22 April 2010
Desired Format Support
- DICOM (.dcm)
- ANALYZE (.hdr/.ima)
- XML (.vti)
- MetaImage (.mha)
Class Diagrams
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