orocos-toolchain/typelib — pull request #2 by D-Alex (2014-05-22 11:23:27+00:00)
Title: ruby binding: add method Vector.raw_memcpy

This method allows to set vector values from ruby via FFI
pt = FFI::Pointer.new
vector.raw_memcpy(pt.address,size)

Example in the context of rock-robotics:
conversion from cv::Mat to frame::Frame
frame.image.raw_memcpy(mat.data.address,mat.total*self.pixel_size)