<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Enabling / Disabling Texture (Probably easy!)</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1106" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi Erik</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Try Setting the Texture to NULL. I've been
doing the following under Tcl and it works OK ...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Actor SetTexture ""</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Malcolm</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=erik.karlsson@optronic.se
href="mailto:erik.karlsson@optronic.se">Karlsson Erik</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=vtkusers@public.kitware.com
href="mailto:'vtkusers@public.kitware.com'">'vtkusers@public.kitware.com'</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Thursday, January 30, 2003 2:29
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> [vtkusers] Enabling / Disabling
Texture (Probably easy!)</DIV>
<DIV><BR></DIV>
<P><FONT face=Arial size=2>Hi vtk users!</FONT> <BR><FONT face=Arial size=2>I
have a short question about textures. At the time I have a triangle mesh with
a texture and everything works fine.</FONT> <BR><FONT face=Arial size=2>The
thing is that I want to be able to disable and enable the texture from my GUI.
Is there any way to do this? I Couldn't seem to find any suitable functions in
either vtkTexture or vtkActor. Am I looking at the wrong place?</FONT></P>
<P><FONT face=Arial size=2>Any suggestions would be highly appreciated!</FONT>
</P>
<P><FONT face=Arial size=2>Regards,</FONT> <BR><FONT face=Arial size=2>Erik
Karlsson</FONT> <BR><FONT face=Arial
size=2>###########################################<BR><BR>This message has
been scanned by F-Secure Anti-Virus for Microsoft Exchange.<BR>For more
information, connect to <A href="http://www.F-Secure.com/"
target=_blank>http://www.F-Secure.com/</A></FONT>
</P></BLOCKQUOTE></BODY></HTML>