[vtkusers] Render only data that we need!!!

verena kinder verena.kinder at web.de
Tue Apr 12 10:18:38 EDT 2005


Hello!

We want to render a segmented volume data set, but for example only data with scalar value off 255.

We find two starting points:

1. vtkPiecewiseFunction::removePoints(254);
or
2. only read in data that we need, we use the PNMReader();

For the first point a problem appears while rendring the data. We get a black box, so we propose that all data we have remove with the function are assigned by 0.

For the second point we even don't know the starting point, is there a function in the class PNMReader or in that superclasses we could use? What about the vtkSetVector6Macro(DataVOI,int)?

Or is there another possibility?

Thanks


Verena
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193




More information about the vtkusers mailing list