adding option set_as_scalar to parameters
adding option set_as_scalar to parameters

This adds the additional member function to set the dim vec as a
scalar.

Change-Id: I0c12b4bc217b3c8b676983a9d0bd63bf20e7d8ac

richardbeare/SimpleITK,blowekamp/SimpleITK,SimpleITK/SimpleITK,InsightSoftwareConsortium/SimpleITK,kaspermarstal/SimpleElastix,InsightSoftwareConsortium/SimpleITK,richardbeare/SimpleITK,kaspermarstal/SimpleElastix,hendradarwin/SimpleITK,InsightSoftwareConsortium/SimpleITK,hendradarwin/SimpleITK,richardbeare/SimpleITK,kaspermarstal/SimpleElastix,hendradarwin/SimpleITK,richardbeare/SimpleITK,SimpleITK/SimpleITK,richardbeare/SimpleITK,blowekamp/SimpleITK,blowekamp/SimpleITK,blowekamp/SimpleITK,blowekamp/SimpleITK,SimpleITK/SimpleITK,kaspermarstal/SimpleElastix,InsightSoftwareConsortium/SimpleITK,InsightSoftwareConsortium/SimpleITK,richardbeare/SimpleITK,blowekamp/SimpleITK,SimpleITK/SimpleITK,SimpleITK/SimpleITK,hendradarwin/SimpleITK,SimpleITK/SimpleITK,richardbeare/SimpleITK,hendradarwin/SimpleITK,InsightSoftwareConsortium/SimpleITK,kaspermarstal/SimpleElastix,SimpleITK/SimpleITK,richardbeare/SimpleITK,hendradarwin/SimpleITK,kaspermarstal/SimpleElastix,InsightSoftwareConsortium/SimpleITK,InsightSoftwareConsortium/SimpleITK,hendradarwin/SimpleITK,hendradarwin/SimpleITK,blowekamp/SimpleITK,kaspermarstal/SimpleElastix,SimpleITK/SimpleITK,blowekamp/SimpleITK