[Insight-developers] Can SpatialObject be a subclass of ImageBase?

Miller, James V (Research) millerjv at crd.ge.com
Wed, 3 Mar 2004 11:38:18 -0500


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C4013D.9ED5A44C
Content-Type: text/plain;
	charset="iso-8859-1"

This is a rather strange question but I am trying to clean up some of
subclasses of DataObject and noticed that SpatialObject has a lot of code
that is identical to ImageBase.  Can anyone see a problem with making
SpatialObject a subclass of ImageBase?
 
Note that ImageBase is simply templated over dimension, provides the
mechanisms to set regions, and provides the pipeline interface.  No pixel
data is allocated in ImageBase (that is left to its subclasses).
 
 

Jim Miller 
_____________________________________
Visualization & Computer Vision
GE Research
Bldg. KW, Room C218B
P.O. Box 8, Schenectady NY 12301

millerjv at research.ge.com <mailto:millerjv at research.ge.com> 

james.miller at research.ge.com
(518) 387-4005, Dial Comm: 8*833-4005, 
Cell: (518) 505-7065, Fax: (518) 387-6981 

 

------_=_NextPart_001_01C4013D.9ED5A44C
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2800.1276" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=392033616-03032004><FONT size=2>This is a rather strange 
question but I am trying to clean up some of subclasses of DataObject and 
noticed that SpatialObject has a lot of code that is identical to 
ImageBase.&nbsp; Can anyone see a problem with making SpatialObject a subclass 
of ImageBase?</FONT></SPAN></DIV>
<DIV><SPAN class=392033616-03032004><FONT size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=392033616-03032004><FONT size=2>Note that ImageBase is simply 
templated over dimension, provides the mechanisms to set regions, and provides 
the pipeline interface.&nbsp; No pixel data is allocated in ImageBase (that is 
left to its subclasses).</FONT></SPAN></DIV>
<DIV><SPAN class=392033616-03032004><FONT size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=392033616-03032004><FONT size=2></FONT></SPAN>&nbsp;</DIV>
<DIV>
<P style="MARGIN: 0in 0in 0pt"><B><SPAN 
style="COLOR: navy; FONT-FAMILY: 'Comic Sans MS'">Jim Miller</SPAN></B> 
<BR><B><I><SPAN 
style="FONT-SIZE: 10pt; COLOR: red; FONT-FAMILY: Arial">_____________________________________</SPAN></I></B><BR><EM><SPAN 
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial">Visualization &amp; 
Computer Vision</SPAN></EM><I><SPAN 
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial"><BR><EM>GE 
Research</EM><BR><EM>Bldg. KW, Room C218B</EM><BR><EM>P.O. Box 8, Schenectady NY 
12301</EM><BR><BR></SPAN></I><EM><U><SPAN 
style="FONT-SIZE: 7.5pt; COLOR: blue"><A 
href="mailto:millerjv at research.ge.com">millerjv at research.ge.com</A></SPAN></U></EM></P>
<P style="MARGIN: 0in 0in 0pt"><EM><U><SPAN 
style="FONT-SIZE: 7.5pt; COLOR: blue">james.miller at research.ge.com</SPAN></U></EM><BR><I><SPAN 
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial">(518) 387-4005, Dial 
Comm: 8*833-4005, </SPAN></I><BR><I><SPAN 
style="FONT-SIZE: 7.5pt; COLOR: black; FONT-FAMILY: Arial">Cell: (518) 505-7065, 
Fax: (518) 387-6981</SPAN></I> </P></DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------_=_NextPart_001_01C4013D.9ED5A44C--