Local support bases for a class of spline functions