Skip to content

#359 VTKFunction should know whether it is cell or vertex data

Metadata

Property Value
Reported by Christian Engwer (christi@conan.iwr.uni-heidelberg.de)
Reported at Mar 4, 2008 15:36
Type Bug Report
Version Git (pre2.4) [autotools]
Operating System Unspecified / All
Last edited by Oliver Sander (oliver.sander@tu-dresden.de)
Last edited at Mar 9, 2015 16:53
Closed by Oliver Sander (oliver.sander@tu-dresden.de)
Closed at Mar 9, 2015 16:53
Closed in version Unknown
Resolution Won't implement
Comment Closing in agreement with Christian.

Description

When writing generic code it would very convient, if a vtk function could communicate it's prefered way fo visualization. Right now the code has to be changed when switching from p0 to p1 shape functions. I suggest that the vtkfunction can tell whether it contains cell or vertex data (or perhaps higher order data, once vtk supports this) and the user can wither pass this function an "addData" method which uses the auto guess feature, or to one of the existing methods, to overwrite the self-assessment of vtkfunction.