[vtkusers] How to create a surface from two-dimensional array of points and their values?

Sebastian Gatzka sebastian.gatzka at stud.tu-darmstadt.de
Tue Mar 16 07:43:36 EDT 2010


Beside setting a Lookup-Table you also need  the appropriate range for the mapper.

->SetScalarRange(…)

 

Can you give us some code?

 

Von: vtkusers-bounces at vtk.org [mailto:vtkusers-bounces at vtk.org] Im Auftrag von ?????? ??????
Gesendet: Dienstag, 16. März 2010 12:38
An: vtkusers
Betreff: [vtkusers] How to create a surface from two-dimensional array of points and their values?

 

I have a 2D array of points and a table of values for each point of the same size. How can I obtain the distribution of values in the form of 2D surface? I tried to set the color for each point through vtkLookupTable, but I did not get a shaded surface.

-- 
С Уважением,
Андрей.
Best regards, Andrew

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20100316/b9b4b605/attachment.htm>


More information about the vtkusers mailing list