How can I release a NPPointCloudFrame object?

Post Reply
msching
Posts: 10
Joined: Wed Nov 12, 2008 1:03 am

How can I release a NPPointCloudFrame object?

Post by msching » Wed Dec 24, 2008 3:51 am

I found such sentences in the Users Manual of PointCloud:
"Frame Object Lifetime
Frame objects in the Point Cloud system are a limited resource. Be sure to call the Free() method to release the INPPointCloudFrame interface as quickly as possible."

But I didn't find any methods called Free() in the NPPointCloudFrame object in C#.

Then how can I release a NPPointCloudFrame object?

beckdo
NaturalPoint Employee
NaturalPoint Employee
Posts: 519
Joined: Tue Jan 02, 2007 2:02 pm

Re: How can I release a NPPointCloudFrame object?

Post by beckdo » Fri Dec 26, 2008 10:42 am

There may be a misprint in the user manual. I believe you would want to call Release() and not Free().

Give that a try and let me know if that solves your problem.

Post Reply