KWScene/Documentation/Supported Generators/VTK/PolyData: Difference between revisions
From KitwarePublic
< KWScene | Documentation | Supported Generators | VTK
Jump to navigationJump to search
Line 46: | Line 46: | ||
* Classes deriving from kwSurfaceNodeGenerator will implement a virtual method | * Classes deriving from kwSurfaceNodeGenerator will implement a virtual method | ||
** bool CanReadFile() const | ** bool CanReadFile() const | ||
** and will be pure virtual in the kwsSurfaceNodeGenerator | |||
=== Proposed Hierarchy === | === Proposed Hierarchy === |
Revision as of 17:02, 1 February 2010
Desired Format Support
- PolyData from .vtk legacy files
- STL files
- BYU files
- XML PolyData
Class Diagrams
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