VTK/Composite data changes: Difference between revisions

From KitwarePublic
< VTK
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
Primarily motivated by better support of AMR data structures, we have introduced changes to various classes related to vtkCompositeDataSet.
Primarily motivated by better support of AMR data structures, various
APIs related to vtkCompositeDataSet have been changed.


vtkCompositeDataSet has been used primarily as a container of data sets. However, vtkCompositeDataSet actually actually represents a hierarchy where the data sets are stored at leaves. 
=== Refactoring ===


vtkCompositeDataSet has been primarily used a container of data sets,
even though it really represents a tree of data sets.  So we first
renamed the class vtkDataObjectTree, then exctracted the methods that
support simple container functionalities and put them into a fully
abstract class vtkCompositeDataSet.  The refactored hierarchy is shown
below. It should be noted here that vtkUniformGridAMR now provides a
new implementation. The details can be found in a later section.


[[Image:new_composite.png]]


[[Image:new_composite.png]]
=== New Keys For Demand Driven Execution ====
 
 
 
=== Better AMR Data Structures ===

Revision as of 15:59, 21 September 2012

Primarily motivated by better support of AMR data structures, various APIs related to vtkCompositeDataSet have been changed.

Refactoring

vtkCompositeDataSet has been primarily used a container of data sets, even though it really represents a tree of data sets. So we first renamed the class vtkDataObjectTree, then exctracted the methods that support simple container functionalities and put them into a fully abstract class vtkCompositeDataSet. The refactored hierarchy is shown below. It should be noted here that vtkUniformGridAMR now provides a new implementation. The details can be found in a later section.

New composite.png

New Keys For Demand Driven Execution =

Better AMR Data Structures