[vtkusers] calculate the averaging over a neighbor vertices of vertex p
HASSOUN Mohamad
hassoun at creatis.insa-lyon.fr
Tue Apr 3 13:42:27 EDT 2007
hello
I brand new to VTK, and i am in training for the master II, i have a problem
to calculate the average of the vertex neighbor to the principal vertex p.
an example:
i have a mesh for each edge i have to points p and q, i can separate the
normal vertices at the feature vertices by W, if( W!=1) than i have a
feature vertices. The calculation of W have been done.
i need to preserve the sharp edges, at each feature vertex p, by averaging
over those neighbor vertices that are feature vertices as well. the goal of
this calculation is to smooth the function f, by way f is a table 2
dimensions that he contain a constant value.
TableFunction[p][0]=....
TableFunction[p][1]=....
TableFunction[p][2]=....
how can i doing that??????
thanks a lot for youre help.
More information about the vtkusers
mailing list