<!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.2900.2769" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I have a problem in blanking points. In
StructuredGrid, I set </FONT></DIV>
<DIV><FONT face=Arial size=2>the visibility of the points in array, but when I
render, the points are still visible. Does anyone Knows the problem? I tried to
fix the problem for hours, but still have no sucess. I apreciated any help.
Thanks!!!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>The code:</FONT> </DIV>
<DIV><FONT face=Arial size=2>...</FONT></DIV>
<DIV><FONT size=2>
<P></P>
<P>rgrid->SetPoints(pontos2);</P>
<P>rgrid->GetCellData()->SetScalars(tEscalar2);</P>
<P></P>
<P></FONT><FONT color=#008000 size=2>//Blank Cells</P></FONT><FONT size=2>
<P>vtkUnsignedCharArray *vetor_visivel = vtkUnsignedCharArray::New();</P>
<P>vetor_visivel->SetNumberOfValues(31);</P>
<P></FONT><FONT color=#0000ff size=2>for</FONT><FONT
size=2>(i=0;i<31;i++)</FONT></P>
<P><FONT size=2> vetor_visivel->SetValue(i, 0);</P>
<P>rgrid->SetPointVisibilityArray(vetor_visivel);</P>
<P>rgrid->Update();</P></FONT></DIV></BODY></HTML>