[vtk-developers] Proposed filter name and class hierarchy changes

John Platt jcplatt at dsl.pipex.com
Tue Feb 6 17:50:08 EST 2007


Hi Dave,

I have often wondered why vtkThreshold and vtkExtractSelection do not
give output the same type as the input rather than vtkUnstructuredGrid.
Perhaps it's something to do with avoiding the output being deleted when
the input type changes? 

John.

-----Original Message-----
From: vtk-developers-bounces+jcplatt=dsl.pipex.com at vtk.org
[mailto:vtk-developers-bounces+jcplatt=dsl.pipex.com at vtk.org] On Behalf
Of David E DeMarle
Sent: 06 February 2007 21:42
To: vtk-developers at vtk.org; ParaQ Developers
Subject: [vtk-developers] Proposed filter name and class hierarchy
changes

Hello,

I am fleshing out support for selection in vtk and ParaViewIII. I am
adding new content types to the vtkSelections class in order to use it
to hold geometric and threshold selection information. As part of this
effort I would like to:

* move vtkSelection from being a subclass of vtkObject to vtkDataObject
* rename vtkFrustumExtraction to vtkExtractSelectedFrustum
* rename vtkPolyDataExtractSelection to vtkExtractSelectedPolyDataIds
* rename vtkExtractSelection to vtkExtractSelectedUnstructuredGridIds
* create new vtkExtractSelectedThreshold, vtkExtractSelectedPoints,
vtkExtractSelectedIds and vtkExtractSelection classes.

The end result will be a cleaner framework for performing, recording
and replaying various data selections in applications that use vtk.
One will be able to create a vtkSelection describing some desired
selection operation, give the vtkSelection and a vtkDataSet to to one
of the above algorithms, and execute Update to extract the chosen
contents of a data set.

I plan on committing sometime this week unless there are objections
from the  list.

cheers,
Dave DeMarle
_______________________________________________
vtk-developers mailing list
vtk-developers at vtk.org
http://www.vtk.org/mailman/listinfo/vtk-developers





More information about the vtk-developers mailing list