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

From KitwarePublic
Jump to navigationJump to search
No edit summary
Line 11: Line 11:
digraph G {
digraph G {
itkProcessObject [URL="http://www.itk.org/Doxygen316/html/classitk_1_1ProcessObject.html"];
itkProcessObject [URL="http://www.itk.org/Doxygen316/html/classitk_1_1ProcessObject.html"];
itkImageSource [URL="http://www.itk.org/Doxygen316/html/classitk_1_1ImageSource.html"];
itkMeshSource [URL="http://www.itk.org/Doxygen316/html/classitk_1_1MeshSource.html"];
itkImageSeriesReader [URL="http://www.itk.org/Doxygen316/html/classitk_1_1ImageSeriesReader.html"];
itkVTKPolyDataReader[URL="http://www.itk.org/Doxygen316/html/classitk_1_1VTKPolyDataReader.html"];
itkImageFileReader [URL="http://www.itk.org/Doxygen316/html/classitk_1_1ImageFileReader.html"];
itkBYUPolyDataReader
itkImageIOBase [URL="http://www.itk.org/Doxygen316/html/classitk_1_1ImageIOBase.html"];
itkProcessObject -> itkMeshSource
itkVTKImageIO[URL="http://www.itk.org/Doxygen316/html/classitk_1_1VTKImageIO.html"];
itkMeshSource -> itkVTKPolyDataReader
itkGDCMImageIO[URL="http://www.itk.org/Doxygen316/html/classitk_1_1GDCMImageIO.html"];
itkMeshSource -> itkBYUPolyDataReader
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>
digraph G {
vtkAlgorithm [URL="http://www.vtk.org/doc/nightly/html/classvtkAlgorithm.html"];
vtkDataReader [URL="http://www.vtk.org/doc/nightly/html/classvtkDataReader.html"];
vtkPolyDataReader [shape=box,URL="http://www.vtk.org/doc/nightly/html/classvtkPolyDataReader.html"];
vtkPolyDataAlgorithm [URL="http://www.vtk.org/doc/nightly/html/classvtkPolyDataAlgorithm.html"];
vtkSTLReader [shape=box,URL="http://www.vtk.org/doc/nightly/html/classvtkSTLReader.html"];
vtkBYUReader [shape=box,URL="http://www.vtk.org/doc/nightly/html/classvtkBYUReader.html"];
vtkXMLReader [URL="http://www.vtk.org/doc/nightly/html/classvtkXMLReader.html"];
vtkXMLDataReader [URL="http://www.vtk.org/doc/nightly/html/classvtkXMLDataReader.html"];
vtkXMLPolyDataReader [shape=box,URL="http://www.vtk.org/doc/nightly/html/classvtkXMLPolyDataReader.html"];
vtkXMLUnstructureDataReader [URL="http://www.vtk.org/doc/nightly/html/classvtkXMLUnstructuredDataReader.html"];
vtkAlgorithm -> vtkDataReader
vtkAlgorithm -> vtkPolyDataAlgorithm
vtkDataReader -> vtkPolyDataReader
vtkPolyDataAlgorithm -> vtkSTLReader
vtkPolyDataAlgorithm -> vtkBYUReader
vtkXMLUnstructureDataReader -> vtkXMLPolyDataReader
vtkXMLDataReader -> vtkXMLUnstructureDataReader
vtkXMLReader -> vtkXMLDataReader
vtkAlgorithm -> vtkXMLReader
}
}
</graphviz>
</graphviz>

Revision as of 19:11, 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.

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.