[Paraview] FW: Reader Plugin should inherit from which class ?

Adriano Gagliardi agagliardi at ara.co.uk
Wed Nov 9 09:22:26 EST 2011


I see Robert has your solution. Strangely, your CSVImage.xml opened
displaying only a single line for me.
 
Good luck!
 

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

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

Tel: 01234 32 4644
E-mail: agagliardi at ara.co.uk
Url: www.ara.co.uk 

 

  _____  

From: Christian Richter [mailto:christian.richter at ovgu.de] 
Sent: 09 November 2011 14:21
To: agagliardi at ara.co.uk
Subject: Re: [Paraview] Reader Plugin should inherit from which class ?


Dear Adiano,

I accociated *.txt with my vtkCSVImageReader Class, this works fine, I can
read text files (space limeted).

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.

Christian

Am 09.11.2011 14:58, schrieb Adriano Gagliardi: 

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: agagliardi at ara.co.uk

Url: www.ara.co.uk 

-----Original Message-----

From: paraview-bounces at paraview.org [mailto:paraview-bounces at paraview.org]

On Behalf Of Christian Richter

Sent: 09 November 2011 13:36

To: paraview at paraview.org

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



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





-- 




Dipl.-Ing. Christian Richter
Lehrstuhl für Materialflusstechnik
Institut für Logistik und Materialflusstechnik (ILM)
Fakultät für Maschinenbau (FMB)

Otto-von-Guericke-Universität Magdeburg
Universitätsplatz 2
D-39106 Magdeburg
Gebäude 10, Raum 213

University Magdeburg “Otto-von-Guericke”
Department of Material Handling
Institute of Logistics and Material Handling Systems (ILM)
Faculty for Mechanical Engineering (FMB)

E-Mail: christian.richter at ovgu.de
Tel.: +49 (0)391/67-12617
Fax: +49 (0)391/67-12646
URL: http://www.ilm.ovgu.de

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. 

**********************************************************************
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

**********************************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20111109/e24690ab/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/png
Size: 19274 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20111109/e24690ab/attachment-0001.png>


More information about the ParaView mailing list