head     1.2;
branch   ;
access   ;
symbols  ;
locks    ; strict;
comment  @// @;


1.2
date     93.01.19.14.56.37;  author jnw;  state Exp;
branches ;
next     1.1;

1.1
date     92.10.05.11.50.34;  author jnw;  state Exp;
branches ;
next     ;


desc
@Initial revision
@


1.2
log
@Modified to support IA_ naming convention
@
text
@// Emacs: -*- C++ -*-

// $Log:	UcharDI.h,v $
// Revision 1.1  92/10/05  11:50:34  jnw
// Initial revision
// 

#ifndef UcharDiscreteImage_h_
#define UcharDiscreteImage_h_

#include "DiscreteImage.h"
#include "ArithDI.h"
#include "BitwiseDI.h"
#include "LatticeDI.h"

class IA_UcharDiscreteImage: public IA_ArithDI<unsigned char>,
	public IA_BitwiseDI<unsigned char>,
	public IA_LatticeDI<unsigned char> {
public:

    IA_UcharDiscreteImage():IA_DiscreteImage<unsigned char>() {};

    IA_UcharDiscreteImage(const IA_UcharDiscreteImage& im) {
	(*IA_(DiscreteImage<unsigned char> *)this) =
	    (IA_DiscreteImage<unsigned char>) im;
    }

    IA_UcharDiscreteImage(int value, IA_IntPointSet& ps) {
	(*(IA_DiscreteImage<unsigned char> *)this) =
	    IA_DiscreteImage<unsigned char>( value, ps);
    }

    IA_UcharDiscreteImage(int *vp, IA_IntPointSet& ps) {
	(*(IA_DiscreteImage<unsigned char> *)this) =
	    IA_DiscreteImage<unsigned char>( vp, ps);
    }

    IA_UcharDiscreteImage(int (*vf)(IA_IntPoint&), IA_IntPointSet& ps){
	(*(IA_DiscreteImage<unsigned char> *)this) =
	    IA_DiscreteImage<unsigned char>( vf, ps);
    }

    virtual ~IA_UcharDiscreteImage(){ }

    IA_UcharDiscreteImage( IA_ArithDI<unsigned char> a) {
	(*(IA_DiscreteImage<unsigned char> *)this) =
	    (IA_DiscreteImage<unsigned char>)a;
    }

    IA_UcharDiscreteImage( const IA_BitwiseDI<unsigned char> &b) {
	(*(IA_DiscreteImage<unsigned char> *)this) =
	    (IA_DiscreteImage<unsigned char>)b;
    }
    
    IA_UcharDiscreteImage( const IA_LatticeDI<unsigned char> &d) {
	(*IA_(DiscreteImage<unsigned char> *)this) =
	    (IA_DiscreteImage<unsigned char>)d;
    }

    IA_UcharDiscreteImage( const IA_DiscreteImage<unsigned char> &d) {
	(*IA_(DiscreteImage<unsigned char> *)this) = d;
    }

};

#endif
@


1.1
log
@Initial revision
@
text
@d3 4
a6 1
// $Log$
d16 3
a18 3
class UcharDiscreteImage: public ArithDI<unsigned char>,
	public BitwiseDI<unsigned char>,
	public LatticeDI<unsigned char> {
d21 1
a21 1
    UcharDiscreteImage():DiscreteImage<unsigned char>() {};
d23 3
a25 3
    UcharDiscreteImage(const UcharDiscreteImage& im) {
	(*(DiscreteImage<unsigned char> *)this) =
	    (DiscreteImage<unsigned char>) im;
d28 3
a30 3
    UcharDiscreteImage(int value, IntPointSet& ps) {
	(*(DiscreteImage<unsigned char> *)this) =
	    DiscreteImage<unsigned char>( value, ps);
d33 3
a35 3
    UcharDiscreteImage(int *vp, IntPointSet& ps) {
	(*(DiscreteImage<unsigned char> *)this) =
	    DiscreteImage<unsigned char>( vp, ps);
d38 3
a40 3
    UcharDiscreteImage(int (*vf)(IntPoint&), IntPointSet& ps){
	(*(DiscreteImage<unsigned char> *)this) =
	    DiscreteImage<unsigned char>( vf, ps);
d43 1
a43 1
    virtual ~UcharDiscreteImage(){ }
d45 3
a47 3
    UcharDiscreteImage( ArithDI<unsigned char> a) {
	(*(DiscreteImage<unsigned char> *)this) =
	    (DiscreteImage<unsigned char>)a;
d50 3
a52 3
    UcharDiscreteImage( const BitwiseDI<unsigned char> &b) {
	(*(DiscreteImage<unsigned char> *)this) =
	    (DiscreteImage<unsigned char>)b;
d55 3
a57 3
    UcharDiscreteImage( const LatticeDI<unsigned char> &d) {
	(*(DiscreteImage<unsigned char> *)this) =
	    (DiscreteImage<unsigned char>)d;
d60 2
a61 2
    UcharDiscreteImage( const DiscreteImage<unsigned char> &d) {
	(*(DiscreteImage<unsigned char> *)this) = d;
@
