1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
$(if (not no_procedure) or (no_procedure == 1) then
OUT='\
/**\
'
if briefdescription and (briefdescription:len() > 0) then
OUT=OUT..' * \\brief ${briefdescription}'
else
OUT=OUT..' * \\brief itk::simple::${name} Procedural Interface'
end
OUT=OUT..[[
*
* This function directly calls the execute method of ${name}
* in order to support a procedural API
*
* \sa itk::simple::${name} for the object oriented interface
*/
SITKBasicFilters_EXPORT Image ${name:gsub("ImageFilter$", ""):gsub("Filter$", "")} ( $(include ImageParameters.in)$(include InputParameters.in)$(include MemberParametersWithDefaults.in) );
]]
end)$(if has_optional_inputs and ((not no_procedure) or (no_procedure == 1)) then
no_optional=1
OUT=OUT..[[
SITKBasicFilters_EXPORT Image ${name:gsub("ImageFilter$", ""):gsub("Filter$", "")} ( $(include ImageParameters.in)$(include InputParameters.in)$(include MemberParametersWithDefaults.in) );]]
end)$(if inputs then no_optional=nil end)
|