Jump to content

add a queue container class in script engine


photo

Recommended Posts

I'm creating the kinect/leap motion plugin for unigine. and some of the gesture/posture recognize code will be much much more efficient if there is a queue container exists.

 

for example, I want to keep last 60 or 120 frames' skeleton info to find some posture/gesture, if there is a queue container, then I can just push the frame data into the container, the oldest data will be automatically poped out to maintain a fixed count of frame.

 

but without the queue container, by using only vector, I need to write more and inefficient codes to mantain those frame data.

 

I think some other work might also need this kind of container.

 

So, is there any posible to create such container in unigine?

Link to comment
  • 2 weeks later...
×
×
  • Create New...