KWScene/Documentation/Supported Generators/ITK/PolyData: Difference between revisions
From KitwarePublic
< KWScene | Documentation | Supported Generators | ITK
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.…') |
|||
(9 intermediate revisions by the same user not shown) | |||
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> | <graphviz> | ||
digraph G { | digraph G { | ||
itkProcessObject [URL="http://www.itk.org/Doxygen316/html/classitk_1_1ProcessObject.html"]; | |||
itkMeshSource [URL="http://www.itk.org/Doxygen316/html/classitk_1_1MeshSource.html"]; | |||
itkVTKPolyDataReader[URL="http://www.itk.org/Doxygen316/html/classitk_1_1VTKPolyDataReader.html"]; | |||
itkBYUReader | |||
itkXMLReader | |||
itkProcessObject -> itkMeshSource | |||
itkMeshSource -> itkVTKPolyDataReader | |||
itkMeshSource -> itkBYUReader | |||
itkMeshSource -> itkXMLReader | |||
} | } | ||
</graphviz> | </graphviz> | ||
Line 36: | Line 25: | ||
== Option A == | == Option A == | ||
* Create a KWScene hierarchy where every class is dedicated to a specific file format. | * Create a KWScene hierarchy where every class is dedicated to a specific file format. | ||
* Will have classes | * Will have classes | ||
** | ** BYUSurface-KWSGenerator | ||
** | ** XMLSurface-KWSGenerator | ||
** | ** VTKSurface-KWSGenerator | ||
** | ** (STLSurface-KWSGenerator) | ||
** SurfaceNodeGenerator is the base class here, to be consistent with nomenclature in VTK generators. | |||
** | |||
=== Proposed Hierarchy === | === Proposed Hierarchy === | ||
Line 52: | Line 38: | ||
<graphviz> | <graphviz> | ||
digraph G { | digraph G { | ||
kwsITKGenerator | |||
kwsITKNodeGenerator | |||
kwsITKSurfaceNodeGenerator | |||
kwsITKVTKPolyDataSurfaceNodeGenerator | |||
kwsITKBYUSurfaceNodeGenerator | |||
kwsITKXMLSurfaceNodeGenerator | |||
kwsITKSTLSurfaceNodeGenerator | |||
kwsITKGenerator -> kwsITKNodeGenerator | |||
kwsITKNodeGenerator -> kwsITKSurfaceNodeGenerator | |||
kwsITKSurfaceNodeGenerator -> kwsITKVTKPolyDataSurfaceNodeGenerator | |||
kwsITKSurfaceNodeGenerator -> kwsITKBYUSurfaceNodeGenerator | |||
kwsITKSurfaceNodeGenerator -> kwsITKXMLSurfaceNodeGenerator | |||
kwsITKSurfaceNodeGenerator -> kwsITKSTLSurfaceNodeGenerator | |||
} | } | ||
</graphviz> | </graphviz> |
Latest revision as of 20:08, 25 April 2010
Desired Format Support
- PolyData from .vtk legacy files (.vtk)
- BYU files (.byu)
- XML PolyData (.vtp)
- (STL files) (.stl)
Class Diagrams
Options
Option A
- Create a KWScene hierarchy where every class is dedicated to a specific file format.
- Will have classes
- BYUSurface-KWSGenerator
- XMLSurface-KWSGenerator
- VTKSurface-KWSGenerator
- (STLSurface-KWSGenerator)
- SurfaceNodeGenerator is the base class here, to be consistent with nomenclature in VTK generators.
Proposed Hierarchy