EyesWeb XMI Forum
http://forum.eyesweb.infomus.org/

Runtime parameters for Picture in Picture
http://forum.eyesweb.infomus.org/viewtopic.php?f=24&t=10
Page 1 of 1

Author:  gavspav [ 25 Apr 2008, 15:51 ]
Post subject:  Runtime parameters for Picture in Picture

How do I feed the Picture in Picture block with values at runtime?
I thought that it would accept a double matrix generator (2 x 2) but it doesn't.

I see from the description that the datatype it needs is Roi 2D double.
How do I generate this?
How should I go about deducing the answers to problems like this without spamming the forum?

Gavin

Author:  paolo [ 26 Apr 2008, 00:24 ]
Post subject:  Re: Runtime parameters for Picture in Picture

gavspav wrote:
How do I feed the Picture in Picture block with values at runtime?
I thought that it would accept a double matrix generator (2 x 2) but it doesn't.

I see from the description that the datatype it needs is Roi 2D double.
How do I generate this?


You can use the Rectangle2D generator. A Rectangle2D is different from a Roi2D, however, a converter from the former to the latter exists; thus, you can link the output of the Rectangle2D generator to the Roi2D parameter pin.
However, remember to use the same domain for both datatype (both integers or both double), otherwise the link is not possible.

Paolo

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/