[vtkusers] vtkpoints versus vtkpointdata
Doug Hoppes
dhoppes at mbfbioscience.com
Tue Oct 30 08:25:14 EDT 2012
Hi all,
Okay, I know that this is a simple question, but I can't seem to figure out the answer for it. I have situation where I need to store a point position (x, y, z location). Now, I can store them as individual instance variables (X, Y, Z) in my application, but thought that it would be cleaner to just store a vtkpoint or something for the position of my object.
I could use the vtkpoints and add a single point to the array. Or I could use the vtkpointdata (I didn't see how you can set the point position, but it look like it's another array set).
What's the best way to just store the point in my class?
Doug
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20121030/adf347e7/attachment.htm>
More information about the vtkusers
mailing list