head	1.3;
access;
symbols
	r0_10:1.3
	Eglin_alpha_1:1.3;
locks; strict;
comment	@// @;


1.3
date	93.05.27.11.28.26;	author thoth;	state Exp;
branches;
next	1.2;

1.2
date	93.04.08.13.17.28;	author thoth;	state Exp;
branches;
next	1.1;

1.1
date	93.03.18.11.05.31;	author thoth;	state Exp;
branches;
next	;


desc
@The implementation of a translation invariant template.
@


1.3
log
@Copyright Notices
@
text
@// Emacs: -*- C++ -*-

//
//	Copyright 1993, Center for Computer Vision and Visualization,
//	University of Florida.  All rights reserved.
//


static char InvariantDT_rcsid[] = "$Id: InvariantDT.c,v 1.2 93/04/08 13:17:28 thoth Exp Locker: thoth $";

//
// $Log:	InvariantDT.c,v $
// Revision 1.2  93/04/08  13:17:28  thoth
// new restricted_to method.
// 
// Revision 1.1  93/03/18  11:05:31  thoth
// Initial revision
// 

#include "InvariantDT.h"

template <class I>
IA_BaseDT<I> *IA_InvariantDT<I>::restricted_to(const IA_IntPointSet &ps) const
{
    return new IA_InvariantDT<I>(ps & this->domain(), value);
}

template <class I>
ostream & IA_InvariantDT<I>::print_this(ostream &o) const
{
    o << "Translation Invariant template, value: " << value;

    this->ps.output(o);

    return o;
}

template <class I>
char IA_InvariantDT<I>::dummy;
@


1.2
log
@new restricted_to method.
@
text
@d3 4
a6 1
static char InvariantDT_rcsid[] = "$Id: InvariantDT.c,v 1.1 93/03/18 11:05:31 thoth Exp Locker: thoth $";
d8 3
d13 3
@


1.1
log
@Initial revision
@
text
@d3 1
a3 1
static char InvariantDT_rcsid[] = "$Id: DiscreteImage.c,v 1.7 93/02/23 14:10:14 thoth Exp $";
d6 4
a9 1
// $Log:	BaseDI.h,v $
d12 6
@
