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


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


desc
@Not used, checking in incase this is of use later.
@


1.1
log
@Initial revision
@
text
@// ball-image.h        Section: 5.7
//     Copyright 1994, Center for Computer Vision and Visualization,
//     University of Florida.  All rights reserved.

#ifndef _ball_image_h_
#define _ball_image_h_

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


template <class P, class T>
class BallImage : public IA_ClosureI<P,T> {
private:
    double radius;  // This will yield the smoothest possible ball.
    double r2;      // radius squred, used internally.
    unsigned int d_dim;  // Usually 2, but we will accept larger
public:

    BallImage( double radius_, unsigned int domain_dimension_ );

    T  operator() (const P & x) const;

    IA_ClosureI<P,T> *  clone_self() const;
};

#endif
@
