<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
I want to get the texture value from a cell! <br>
I have the cellid as result of intersectWithLine.<br>
<br>
<font size="-1"> After I get the list of vertices of the cell:<br>
vtkIdList* nghList = vtkIdList::New();<br>
source->GetCellPoints(cellId, nghList);<br>
I iterate through the points in order to get their texture
coordinates
and interpolate them in the intersection position.<br>
Then with the (interpolated) texture coordinates, access the
texture
image to get the RGB point color!<br>
<br>
Is there a method faster than that?<br>
<br>
Thank you<br>
</font>
</body>
</html>