[vtkusers] Re ndering surfaces with points

ferr ferr.mail at gmail.com
Sun Jan 10 03:05:55 EST 2010


Hello, I am trying to render a model which is made up of several
surfaces/splines.  The source I am retrieving the points from has a Model
which is made up of several things which it calls Surfaces.  This Surface
data structure inherits from a Spline class, so I retrieve the points by
getting the control points of each spline in the model.  Each model has a
handful of surfaces/splines and a given spline/surface in a model is made up
of a varying amount of control points (seen as low as 5 and as high as 250
control points on a spline), each control point is made up of 3 values
corresponding to the x,y,z location in 3d space.  I have gathered the x,y,z
of each control point in the model and would like to render them.  I imagine
it will require somehow generating a surface or face out of the points.  I
am not sure what the range is in 3d space for these models, some example
control point locations I've looked at are (161.1,11.1,7.1),
(161.1,-11.1,7.2), (161.2,-11.1,7.3), etc.

I have been reading through the VTK docs and writing VTK code for the last
couple of days and have not had much success.  What classes would be most
appropriate for this?

Thanks
-- 
View this message in context: http://old.nabble.com/Rendering-surfaces-with-points-tp27096271p27096271.html
Sent from the VTK - Users mailing list archive at Nabble.com.




More information about the vtkusers mailing list