Lorenzo Fabrizi wrote: > Hello, > I am writing a paper and I am using MayVi to display 3D images. I am > quoting this reference: > > Ramachandran P (2003) Scientific data visualization with MayaVi Cnf. > SciPy: Python for scientific computing (Pasadena, CA) >
Thanks! > I am using the "vtkCellDataToPointData" to smooth the surfaces and > display then isosurfaces. > In the paper I need to describe this filter. Can you please clarify > the concept of cell data, point data and how these are averaged? > > This is the description I have found: > vtkCellDataToPointData is a filter that transforms cell data (i.e., data > specified per cell) into point data (i.e., data specified at cell > points). The method of transformation is based on averaging the data > values of all cells using a particular point. Optionally, the input cell > data can be passed through to the output as well. Thats the information available in the VTK class. The implementation is here: http://public.kitware.com/cgi-bin/cvsweb.cgi/VTK/Graphics/vtkCellDataToPointData.cxx Basically, they find all the cells that share particular point. Then the value at the point is the average of the values at the cells that share the point. The weights are the same for all cells. cheers, prabhu ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ MayaVi-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mayavi-users
