<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18928">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>Hi all, </FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>I'm trying to apply texture to some geometry in a 
vtk window. According to the documentation this can be done by 
calling</FONT></DIV>
<DIV><FONT size=2 face=Arial>vtkActor-&gt;SetTexture(vtkTexture) this however 
assumes that the Actor has Texture Coordinates already so my question is 
h</FONT><FONT size=2 face=Arial>ow to detect if an Actor has TextureCoordinates 
available (in order to give a better feedback in case it doesn't)?. My Actors 
have associated vtkPolyData&nbsp;that is &nbsp;constructed from a Reader (.vtp, 
.obj) in case it matters.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial>Thanks all for your help,</FONT></DIV>
<DIV><FONT size=2 face=Arial>-Ayman</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV>
<DIV><FONT size=2 face=Arial></FONT>&nbsp;</DIV></BODY></HTML>