Information
We are currently investigating an issue with the editor of some pages. Please save your work and avoid to create new pages until this banner is gone.
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
#Send
ImageType img;
img.length(3);
img[0] = 10;
img[1] = 20;
img[2] = 30;
#Receive
ImageType_var img = ...
for(unsigned int i = 0; i < img.length(); i++) { //You should also be able to use iterators...
...img[i]
} |
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
#Send
ImageList imgList;
imgList(2);
ImageType img1;
...
imgList[0] = img1;
ImageType img2;
...
imgList[1] = img1;
#Receive
imgList_var = ...
for(unsigned int i = 0; i < imgList.length(); i++) { //You should also be able to use iterators...
for(unsigned int j = 0; j < imgList[i].length(); j++) { //You should also be able to use iterators...
...imgList[i][j]
} | ||||||||
Code Block | ||||||||
language | py | |||||||
title | ImageList | |||||||
linenumbers | true | collapse | true
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
...