[Paraview] User-defined reader

Mathieu Malaterre mathieu.malaterre at kitware.com
Thu Feb 3 11:01:44 EST 2005


farid.moussaoui at bluemail.ch wrote:
> Hello,
> 
> I want to integrate an OpenCascade viewer to Paraview.
> What I want to have is a user-defined reader a la Ensight 
> without working inside Paraview.
> 
> Is this possible with the current version of Paraview?

Farid,

	What are you exactly looking for :

1. Read some other file format VTK/ParaView does not support ?
or
2. Make ParaView link to OpenCascade to be able to access the structure ?

For #1, have a look at other readers in VTK, to help you start writting 
your own.

As for #2, have a look at the newly added abstraction layer in VTK:

http://www.vtk.org/doc/nightly/html/classvtkGenericAdaptorCell.html
http://www.vtk.org/doc/nightly/html/classvtkGenericDataSet.html

Those classes are empty nutshell you can plug to third party library 
(such as OpenCascade).

HTH
Mathieu
Ps: On a side note you can also have a look at my previous work to read 
IGES file using opencascade lib at :

http://www.creatis.insa-lyon.fr/~malaterre/vtk/iges/


More information about the ParaView mailing list