head	1.4;
access;
symbols;
locks; strict;
comment	@// @;


1.4
date	95.01.04.07.06.56;	author rjj;	state Exp;
branches;
next	1.3;

1.3
date	94.12.04.21.21.04;	author rjj;	state Exp;
branches;
next	1.2;

1.2
date	94.12.01.22.15.19;	author rjj;	state Exp;
branches;
next	1.1;

1.1
date	94.09.23.17.23.19;	author rjj;	state Exp;
branches;
next	;


desc
@Generates a semi-spherical non-negative ball of a given dimension
  and radius.  This is really a support type function and may
  eventually be moved to the support directory tree.
@


1.4
log
@Added standard section header.
@
text
@// semi-sphere-image.h Section: 5.7, The Rolling Ball Algorithm
//     Copyright 1994, Center for Computer Vision and Visualization,
//     University of Florida.  All rights reserved.

#ifndef _semi_sphere_image_h_
#define _semi_sphere_image_h_

#include "UcharDI.h"
#include "IntDI.h"
#include "FloatDI.h"


// This function produces the non-negative semi-spherical surface
//   of a sphere of dimension domain_dimension, and with the
//   indicated radius.
// Since the point type P is often IA_Point<int>, the domain
//   of the image will be a digital_disc() of the indicated radius.
// NOTE: parameters pzero and tzero are not used, but are necessary
//   because Cfront insists that the template parameters occur in
//   the signiture of the function, which does NOT include the
//   return type.  Use (P*)0 and (T*)0
//
template <class P, class T>
IA_Image<P,T>
semi_sphere_image( double radius, unsigned int domain_dimension,
		   P * pzero, T * tzero );

#endif
@


1.3
log
@Corrected previous check in that I though worked...arghhh.
@
text
@d1 1
a1 1
// semi-sphere-image.h Section: 5.7  The Rolling Ball Algorithm
@


1.2
log
@Added header information
Modified function interface to use default values for dummy arguments.
@
text
@d26 1
a26 1
		   P * pzero = (P*)0, T * tzero = (T*)0 );
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
// semi-sphere-image.h Section: 5.7
d26 1
a26 1
		   P * pzero, T * tzero );
@
