]> Creatis software - bbtk.git/blob - src/bbstdAdd.xml
#3202 BBTK Feature New Normal - fast algorithm for ImageBoundaries box
[bbtk.git] / src / bbstdAdd.xml
1 <?xml version="1.0" encoding="iso-8859-1"?>
2
3 <blackbox name="Add">
4
5   <author>laurent.guigues@creatis.insa-lyon.fr </author>
6   <description>Adds its inputs                 </description>
7   <category>math                               </category>
8
9   <input name="In1"  type="double" description="First number to add"/>
10   <input name="In2"  type="double" description="Second number to add"/>
11   <output name="Out" type="double" description="Result"/>
12
13   <process><PRE>
14     bbSetOutputOut( bbGetInputIn1() + bbGetInputIn2() );
15   </PRE></process>
16   
17   <defaultValues><PRE>
18     bbSetInputIn1(0);
19     bbSetInputIn2(0);
20     bbSetOutputOut(0);    
21   </PRE></defaultValues> 
22
23 </blackbox>
24
25