[vtkusers] PolyData to scalar quantity

Nils H. Busch nilsb at cns.mpg.de
Mon Jul 29 09:02:33 EDT 2002


Hi,

what is the recommended way in VTK to implement a filter/function
computing a (global) scalar quantity from vtkPolyData, say surface area.
Should one use a function taking a vtkPolyData argument or a write a
class ? From which superclass should such a class be derived from ? I
find a vtkPolyDataToPolyDataFilter abstract class, but nothing like a
vtkPolyDataToScalarFilter .

Thanks.

--
    Nils H. Busch
    Max-Planck-Institute of Cognitive Neuroscience
    phone:  ++49 (341) 9940-035 fax:  ++49 (341) 9940-204
    e-mail: nilsb at cns.mpg.de






More information about the vtkusers mailing list