KWScene/Documentation/Supported Generators/VTK/Surface: Difference between revisions
From KitwarePublic
< KWScene | Documentation | Supported Generators | VTK
Jump to navigationJump to search
(Created page with '= Desired Format Support = * PolyData from .vtk legacy files (.vtk) * BYU files (.byu) * XML PolyData (.vtp) * (STL files) (.stl) = Class Diagrams = <graphviz> digraph G { vt…') |
|||
Line 58: | Line 58: | ||
kwsVTKBYUSurfaceNodeGenerator | kwsVTKBYUSurfaceNodeGenerator | ||
kwsVTKPolyDataSurfaceNodeGenerator | kwsVTKPolyDataSurfaceNodeGenerator | ||
kwsVTKXMLurfaceNodeGenerator | |||
kwsVTKGenerator -> kwsVTKNodeGenerator | kwsVTKGenerator -> kwsVTKNodeGenerator | ||
kwsVTKNodeGenerator -> kwsVTKSurfaceNodeGenerator | kwsVTKNodeGenerator -> kwsVTKSurfaceNodeGenerator | ||
Line 64: | Line 64: | ||
kwsVTKSurfaceNodeGenerator -> kwsVTKBYUSurfaceNodeGenerator | kwsVTKSurfaceNodeGenerator -> kwsVTKBYUSurfaceNodeGenerator | ||
kwsVTKSurfaceNodeGenerator -> kwsVTKPolyDataSurfaceNodeGenerator | kwsVTKSurfaceNodeGenerator -> kwsVTKPolyDataSurfaceNodeGenerator | ||
kwsVTKSurfaceNodeGenerator -> | kwsVTKSurfaceNodeGenerator -> kwsVTKXMLSurfaceNodeGenerator | ||
} | } | ||
</graphviz> | </graphviz> |
Revision as of 19:41, 22 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
- VTKPolyDataSurface-KWSGenerator
- BYUSurface-KWSGenerator
- XMLSurface-KWSGenerator
- (STLSurface-KWSGenerator)
- Classes deriving from kwSurfaceNodeGenerator will implement a virtual method
- bool CanReadFile() const
- and will be pure virtual in the kwsSurfaceNodeGenerator
Proposed Hierarchy