[vtkusers] update polydata

Rakesh Patil rakeshthp at in.com
Thu Mar 11 03:23:09 EST 2010


 Hi..I had also faced the similar problem, but not with colors.. I wanted the point values to be changed. Changing colors is easy i guess.mGrid>GetCellData()>GetScalars()>SetTuple(mnCellId, hilight); This should work for you.. Put it in a loop and vary the cellID for whichever cells u want to change.. Any other better way friends..??ThanksRegardsRakesh Patil Original message From:"Martin Allerstorfer"< allerstorfermartin at gmx.at >Date: 11 Mar 10 13:00:35Subject:Re: [vtkusers] update polydataTo: vtkusers at vtk.orgHi,Nobody with similar problems. I would like to change transparency values of polygons interactivly. Any ideas?Thanks,Martin>Hi,>>Does anybody know how I can update the polydata after changing color values of some polygons? I know there are the Update and Modified functions which I tried on polydata, the color array, the celldata, etc. But it does not change anything.>>Thanks for your help,>Martin Sicherer, schneller und einfacher. Die aktuellen InternetBrowser jetzt ko
 stenlos herunterladen! http://portal.gmx.net/de/go/atbrowserPowered by www.kitware.comVisit other Kitware opensource projects at http://www.kitware.com/opensource/opensource.htmlPlease keep messages ontopic and check the VTK FAQ at: http://www.vtk.org/Wiki/VTKFAQFollow this link to subscribe/unsubscribe:http://www.vtk.org/mailman/listinfo/vtkusers 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100311/2438e7cc/attachment.htm>


More information about the vtkusers mailing list