Options for edge/face data

Revision as of 00:46, 2 June 2009 by Kat (talk | contribs) (New page: == Subclassing vtkGenericDataSet == One option for supporting edge/face data in VTK proper is to derive from vtkGenericDataSet. A tutorial for doing so was presented at [http://vis.com...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Subclassing vtkGenericDataSet

One option for supporting edge/face data in VTK proper is to derive from vtkGenericDataSet. A tutorial for doing so was presented at VisWeek '08, by ParaView. I'll attempt to summarize here.

vtkGenericDataSet is part of VTK's Adaptor Framework and was designed to allow new cell and attribute types to be created. Other classes in the framework include:

  • vtkGenericAdaptorCell
  • vtkGenericAttribute -- access and interpolate field data
  • vtkGenericDataSetAlgorithm
  • vtkGenericPointIterator/vtkGenericCellIterator

Many vis operations may need to be provided by our implementation (depends on our use-cases)

  • Iterators for ordered access to point/cells
  • Contouring
  • Clipping
  • Tesselation
  • Line intersection