[Insight-users] Request for ImageFileWriter...

Parag Chandra pchandra@radonc.unc.edu
Tue, 1 Apr 2003 16:12:51 -0500


This is a multi-part message in MIME format.

------=_NextPart_000_0123_01C2F869.8BBA1D80
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

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_000_0123_01C2F869.8BBA1D80
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1141" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Hi,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>I'm trying to =
subclass&nbsp;ImageFileWriter&nbsp;to=20
work with fstreams. I've defined my own file format that contains =
non-image=20
data, and so&nbsp;I need to be able to&nbsp;write to an open stream in =
my=20
application. I just need to override GenerateOutputInformation and =
GenerateData,=20
but these are not declared as virtual. Can this change be made to =
facilitate=20
subclassing? Thanks.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>-Parag</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV>&nbsp;</DIV></BODY></HTML>

------=_NextPart_000_0123_01C2F869.8BBA1D80--