<!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.6000.17102" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=372472114-09112011>I see 
Robert has your solution. Strangely, your CSVImage.xml opened displaying only a 
single line for me.</SPAN></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN 
class=372472114-09112011></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><SPAN class=372472114-09112011>Good 
luck!</SPAN></FONT></DIV>
<DIV>&nbsp;</DIV><!-- Converted from text/plain format -->
<P><FONT size=2>===================================<BR><BR>Adriano Gagliardi 
MEng PhD<BR>Business Sector Leader<BR>Computational Aerodynamics<BR>Aircraft 
Research Association Ltd.<BR>Manton Lane<BR>Bedford<BR><BR>Tel: 01234 32 
4644<BR>E-mail: agagliardi@ara.co.uk<BR>Url: www.ara.co.uk </FONT></P>
<DIV>&nbsp;</DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Christian Richter 
[mailto:christian.richter@ovgu.de] <BR><B>Sent:</B> 09 November 2011 
14:21<BR><B>To:</B> agagliardi@ara.co.uk<BR><B>Subject:</B> Re: [Paraview] 
Reader Plugin should inherit from which class ?<BR></FONT><BR></DIV>
<DIV></DIV>Dear Adiano,<BR><BR>I accociated *.txt with my vtkCSVImageReader 
Class, this works fine, I can read text files (space limeted).<BR><BR>But if I 
try to open a *.vtk file Paraview routes this file to my class (I can see this 
by setting vtkErrorMacro in my OpenFile funktion) instead to send the file to 
the vtklegacyreader.<BR><BR>Christian<BR><BR>Am 09.11.2011 14:58, schrieb 
Adriano Gagliardi: 
<BLOCKQUOTE cite=mid:F9B20BD137074D03A88FBADDA6AFA5FA@win.ara type="cite"><PRE wrap="">Christian,

Could it be that you haven't associated a file extension with your reader,
hence the issue ParaView has determining which reader to call?

Adriano 


===================================

Adriano Gagliardi MEng PhD
Business Sector Leader
Computational Aerodynamics
Aircraft Research Association Ltd.
Manton Lane
Bedford

Tel: 01234 32 4644
E-mail: <A class=moz-txt-link-abbreviated href="mailto:agagliardi@ara.co.uk">agagliardi@ara.co.uk</A>
Url: <A class=moz-txt-link-abbreviated href="http://www.ara.co.uk">www.ara.co.uk</A> 
-----Original Message-----
From: <A class=moz-txt-link-abbreviated href="mailto:paraview-bounces@paraview.org">paraview-bounces@paraview.org</A> [<A class=moz-txt-link-freetext href="mailto:paraview-bounces@paraview.org">mailto:paraview-bounces@paraview.org</A>]
On Behalf Of Christian Richter
Sent: 09 November 2011 13:36
To: <A class=moz-txt-link-abbreviated href="mailto:paraview@paraview.org">paraview@paraview.org</A>
Subject: [Paraview] Reader Plugin should inherit from which class ?

Dear List,

I've written a Plugin to read custom text files.
I'm using vtkPolyDataAlgorithm as Master-Class.
The code compiles fine and my Plugin is working in Paraview 3.12.
But if the plugin is active, it's not possible to open legecy VTK files,
because everytime my own reader class is used.
I think I should use another Superclass, but don't know which one I should
shoose.
I attached you the source code.

Thanks for help,
C. Richter


**********************************************************************
This email contains information that is private and confidential and is intended only for the addressee.
If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender.
Note: All email sent to or from this address may be accessed by someone other than the recipient, for
system management and security reasons.
Aircraft Research Association Ltd.  Registered in England, Registration No 503668 Registered Office:
Manton Lane, Bedford MK41 7PF England VAT No GB 196351245

**********************************************************************

</PRE></BLOCKQUOTE><BR><BR>
<DIV class=moz-signature>-- <BR>
<DIV style="FONT-SIZE: 6px; FONT-FAMILY: arial; LETTER-SPACING: 1px"><BR></DIV>
<DIV 
style="PADDING-RIGHT: 0px; BORDER-TOP: #888a85 1px solid; PADDING-LEFT: 0px; FONT-SIZE: 12px; PADDING-BOTTOM: 5px; WIDTH: 500px; PADDING-TOP: 5px; BORDER-BOTTOM: #888a85 1px solid; FONT-FAMILY: arial; LETTER-SPACING: 1px"><IMG 
src="cid:part1.03020504.08010600@ovgu.de"><BR><BR>Dipl.-Ing. Christian 
Richter<BR>Lehrstuhl für Materialflusstechnik<BR>Institut für Logistik und 
Materialflusstechnik (ILM)<BR>Fakultät für Maschinenbau 
(FMB)<BR><BR>Otto-von-Guericke-Universität Magdeburg<BR>Universitätsplatz 
2<BR>D-39106 Magdeburg<BR>Gebäude 10, Raum 213<BR><BR>University Magdeburg 
“Otto-von-Guericke”<BR>Department of Material Handling<BR>Institute of Logistics 
and Material Handling Systems (ILM)<BR>Faculty for Mechanical Engineering 
(FMB)<BR><BR>E-Mail: <A class=moz-txt-link-abbreviated 
href="mailto:christian.richter@ovgu.de">christian.richter@ovgu.de</A><BR>Tel.: 
+49 (0)391/67-12617<BR>Fax: +49 (0)391/67-12646<BR>URL: <A 
class=moz-txt-link-freetext 
href="http://www.ilm.ovgu.de">http://www.ilm.ovgu.de</A><BR></DIV>
<DIV 
style="MARGIN-TOP: 5px; FONT-SIZE: 10px; WIDTH: 500px; FONT-FAMILY: arial">Der 
Inhalt dieser E-Mail ist vertraulich und ausschließlich für den bezeichneten 
Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser E-Mail oder 
dessen Vertreter sein sollten, so beachten Sie bitte, dass jede Form der 
Kenntnisnahme, Veröffentlichung, Vervielfältigung oder Weitergabe des Inhalts 
dieser E-Mail unzulässig ist. Wir bitten Sie, sich in diesem Fall mit dem 
Absender der E-Mail in Verbindung zu setzen. </DIV></DIV><p>**********************************************************************<br />This email contains information that is private and confidential and is intended only for the addressee.<br />If you are not the intended recipient please delete it and notify us immediately by e-mailing the sender.<br />Note: All email sent to or from this address may be accessed by someone other than the recipient, for<br />system management and security reasons.<br />Aircraft Research Association Ltd.  Registered in England, Registration No 503668 Registered Office:<br />Manton Lane, Bedford MK41 7PF England VAT No GB 196351245</p><p>**********************************************************************</p>
</BODY></HTML>