[Insight-users] Request for ImageFileWriter...

Miller, James V (Research) millerjv@crd.ge.com
Tue, 1 Apr 2003 16:30:35 -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_01C2F895.EE836800
Content-Type: text/plain;
	charset="iso-8859-1"

Both of these methods are already virtual in the superclass (ProcessObject).
You should not have a problem subclassing.
 
Jim
 

-----Original Message-----
From: Parag Chandra [mailto:pchandra@radonc.unc.edu]
Sent: Tuesday, April 01, 2003 4:13 PM
To: ITK Mailing List
Subject: [Insight-users] Request for ImageFileWriter...


Hi,
 
I'm trying to subclass ImageFileWriter to work with fstreams. I've defined
my own file format that contains non-image data, and so I need to be able to
write to an open stream in my application. I just need to override
GenerateOutputInformation and GenerateData, but these are not declared as
virtual. Can this change be made to facilitate subclassing? Thanks.
 
-Parag
 
 


------_=_NextPart_001_01C2F895.EE836800
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.2715.400" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><SPAN class=117432921-01042003><FONT color=#0000ff size=2>Both of these 
methods are already&nbsp;virtual in the superclass (ProcessObject).&nbsp; You 
should not have a problem subclassing.</FONT></SPAN></DIV>
<DIV><SPAN class=117432921-01042003><FONT color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=117432921-01042003><FONT color=#0000ff 
size=2>Jim</FONT></SPAN></DIV>
<DIV><SPAN class=117432921-01042003><FONT color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px">
  <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
  size=2>-----Original Message-----<BR><B>From:</B> Parag Chandra 
  [mailto:pchandra@radonc.unc.edu]<BR><B>Sent:</B> Tuesday, April 01, 2003 4:13 
  PM<BR><B>To:</B> ITK Mailing List<BR><B>Subject:</B> [Insight-users] Request 
  for ImageFileWriter...<BR><BR></FONT></DIV>
  <DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>I'm trying to 
  subclass&nbsp;ImageFileWriter&nbsp;to work with fstreams. I've defined my own 
  file format that contains non-image data, and so&nbsp;I need to be able 
  to&nbsp;write to an open stream in my application. I just need to override 
  GenerateOutputInformation and GenerateData, but these are not declared as 
  virtual. Can this change be made to facilitate subclassing? 
  Thanks.</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2>-Parag</FONT></DIV>
  <DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
  <DIV>&nbsp;</DIV></BLOCKQUOTE></BODY></HTML>

------_=_NextPart_001_01C2F895.EE836800--