<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1458" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi, all:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have many geometries with each one assigned a 
different color. I guess that I must use one mapper for&nbsp;each color. Say, if 
I have 5 geometries, I have to use 5 mappers.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Unfortunately, the total number of geometries is 
dynamic and depends on the user selection. How can I set a dynamic number of 
mappers in VTK?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thank you for help in advance.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Jichang</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT><A 
href="http://www.vtk.org/mailman/listinfo/vtkusers"></A>&nbsp;</DIV></BODY></HTML>