<DIV> hi,</DIV>
<DIV>I have a *.vtk file</DIV>
<DIV>and I defined a lookup table in it,named my_table;</DIV>
<DIV>and I write codes to read it,as follows:</DIV>
<DIV>vtkDataSetReader *pReader=vtkDataSetReader::New();</DIV>
<DIV>pReader->SetFileName(myfile.vtk);//has a custom lookup table in it</DIV>
<DIV> </DIV>
<DIV>...//the mapper</DIV>
<DIV>...//the actor</DIV>
<DIV> </DIV>
<DIV>and I got a unwanted Result ;The custom lookup table has no effect,but the</DIV>
<DIV>default one;</DIV>
<DIV>the question is how could I use the lookup tables defined in my files?</DIV>
<DIV> </DIV>
<DIV>I think its easy,but I can't find the proper method to control this behavior;</DIV>
<DIV> </DIV>
<DIV>yours</DIV>
<DIV>Robert</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><BR>--<BR>
<DIV>--------------------------------------------<BR><STRONG><EM><U><FONT face="Arial" color="#008000" size="3">Robert Chang<BR>Email:hengha1999@163.com<BR>china university of mining and technology<BR>Addr:master06.student8.src.cumt.edu.xuzhou.jiangsu.cn<BR>QQ:597132134/420127211<BR>Fix tel:0516-82842827<BR>mobile:15950678836</FONT></U></EM></STRONG></DIV></DIV><br><!-- footer --><br>
<hr>
<font style="font-size:12px;line-height:15px;">上房老大买二手房,看实景照片,</font><a style="font-size:12px;line-height:15px; color:blue; text-decoration:underline;" href="http://pro.163.com/event.ng/Type=click&FlightID=108452&AdID=109911&TargetID=635&Values=31,43,51,60,72,85,91,100,110,150,312,316,330,332,457,499,586,702,733,734,774,775,788,942,943,944,948,949,950,951,1004&Redirect=http://www.foloda.com">挑专业经纪人</a>