KWScene/Documentation/Supported Generators/ITK/PolyData: Difference between revisions

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


* PolyData from .vtk legacy files
* PolyData from .vtk legacy files (.vtk)
* BYU files
* BYU files (.byu)
* XML PolyData
* XML PolyData (.vtp)
* (STL files)
* (STL files) (.stl)


= Class Diagrams =
= Class Diagrams =


<graphviz>
digraph G {
itkProcessObject [URL="http://www.itk.org/Doxygen316/html/classitk_1_1ProcessObject.html"];
itkImageSource [URL="http://www.itk.org/Doxygen316/html/classitk_1_1ImageSource.html"];
itkImageSeriesReader [URL="http://www.itk.org/Doxygen316/html/classitk_1_1ImageSeriesReader.html"];
itkImageFileReader [URL="http://www.itk.org/Doxygen316/html/classitk_1_1ImageFileReader.html"];
itkImageIOBase [URL="http://www.itk.org/Doxygen316/html/classitk_1_1ImageIOBase.html"];
itkVTKImageIO[URL="http://www.itk.org/Doxygen316/html/classitk_1_1VTKImageIO.html"];
itkGDCMImageIO[URL="http://www.itk.org/Doxygen316/html/classitk_1_1GDCMImageIO.html"];
itkAnalyzeImageIO[URL="http://www.itk.org/Doxygen316/html/classitk_1_1AnalyzeImageIO.html"];
itkMetaImageIO[URL="http://www.itk.org/Doxygen316/html/classitk_1_1MetaImageIO.html"];
itkProcessObject -> itkImageSource
itkImageSource -> itkImageSeriesReader
itkImageSource -> itkImageFileReader
itkImageIOBase -> itkGDCMImageIO
itkImageIOBase -> itkAnalyzeImageIO
itkImageIOBase -> itkVTKImageIO
itkImageIOBase -> itkMetaImageIO
}
</graphviz>


<graphviz>
<graphviz>

Revision as of 19:00, 22 April 2010

Desired Format Support

  • PolyData from .vtk legacy files (.vtk)
  • BYU files (.byu)
  • XML PolyData (.vtp)
  • (STL files) (.stl)

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.

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 where every class is dedicated to a specific file format.
  • Will have classes
    • STL-KWSGenerator
    • BYU-KWSGenerator
    • XML-PolyData-KWSGenerator
    • PolyData-KWSGenerator
  • Classes deriving from kwSurfaceNodeGenerator will implement a virtual method
    • bool CanReadFile() const
    • and will be pure virtual in the kwsSurfaceNodeGenerator

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.