|
|
(2 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| = Desired Format Support =
| | * [[KWScene/Documentation/Supported Generators/ITK/Surface|ITK Surface]] |
| | | * [[KWScene/Documentation/Supported Generators/ITK/Image|ITK Image]] |
| * PolyData from .vtk legacy files | |
| * STL files
| |
| * BYU files
| |
| * XML PolyData
| |
| | |
| = Class Diagrams =
| |
| | |
| | |
| <graphviz>
| |
| digraph G {
| |
| vtkAlgorithm [URL="http://www.vtk.org/doc/nightly/html/classvtkAlgorithm.html"];
| |
| vtkAlgorithm -> vtkDataReader
| |
| }
| |
| </graphviz>
| |
| | |
| = 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 ===
| |
| | |
| <graphviz>
| |
| digraph G {
| |
| kwsVTKGenerator
| |
| kwsVTKNodeGenerator
| |
| kwsVTKSurfaceNodeGenerator
| |
| kwsVTKSTLSurfaceNodeGenerator
| |
| kwsVTKBYUSurfaceNodeGenerator
| |
| kwsVTKPolyDataSurfaceNodeGenerator
| |
| kwsVTKXMLPolyDataSurfaceNodeGenerator
| |
| kwsVTKGenerator -> kwsVTKNodeGenerator
| |
| kwsVTKNodeGenerator -> kwsVTKSurfaceNodeGenerator
| |
| kwsVTKSurfaceNodeGenerator -> kwsVTKSTLSurfaceNodeGenerator
| |
| kwsVTKSurfaceNodeGenerator -> kwsVTKBYUSurfaceNodeGenerator
| |
| kwsVTKSurfaceNodeGenerator -> kwsVTKPolyDataSurfaceNodeGenerator
| |
| kwsVTKSurfaceNodeGenerator -> kwsVTKXMLPolyDataSurfaceNodeGenerator
| |
| }
| |
| </graphviz>
| |