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

From KitwarePublic
Jump to navigationJump to search
No edit summary
Line 2: Line 2:


* PolyData from .vtk legacy files
* PolyData from .vtk legacy files
* STL files
* BYU files
* BYU files
* XML PolyData
* XML PolyData
* (STL files)


= Class Diagrams =
= Class Diagrams =

Revision as of 18:58, 22 April 2010

Desired Format Support

  • PolyData from .vtk legacy files
  • BYU files
  • XML PolyData
  • (STL files)

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.