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


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


desc
@Not used, putting under control incase it is useful later.
Note: this generates compile errors because you can not create
      a ClosureDT from a template, you need an image.
@


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

#ifndef _negated_template_h_
#define _negated_template_h_

// Only include image types which have a unary minus operator defined.
#include "UcharDI.h"
#include "IntDI.h"
#include "FloatDI.h"
#include "CplxDI.h"
#include "DDTempl.h"


template <class P, class T>
class NegatedTemplate: public IA_ClosureDT<IA_Image<P,T> > {
private:
    IA_DDTemplate<IA_Image<P,T> >  theTemplate;

public:
    NegatedTemplate( const IA_DDTemplate<IA_Image<P,T> > & tmpl );

    IA_Image<P,T>  operator() (const IA_Point<int> & p) const;

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

#endif
@
