[Paraview] Adding a Reader

Dave Semeraro semeraro at ncsa.uiuc.edu
Mon Nov 7 12:22:21 EST 2005


Ya weird. I set the whole extend in the ExecuteInformation routine as per the
documentation. Should it be set somewhere else?

Dave
At 08:06 AM 11/7/2005, Berk Geveci wrote:
>Huh, weird. The extent is obtained by the reader's output's whole extent. 
>The reader or the module do not have to provide anything for this to work. 
>Is your reader setting the whole extent properly?
>
>On 11/4/05, Dave Semeraro 
><<mailto:semeraro at ncsa.uiuc.edu>semeraro at ncsa.uiuc.edu> wrote:
>
>Hello again,
>
>I was able to figure out how to create a new reader for paraview. The 
>problem I
>described in my previous message went away when I used the correct
>vtkTypeMacro. I am able to use the new reader to get data into paraview and
>do a few things with it.
>
>One thing that does not seem to work is the ExtractGrid filter. When I try to
>use this filter with my data the VOI min and max values are all large
>negative numbers. My reader creates a structured points data set. How does
>the ExtractGrid filter get
>the data extents from the upstream data source in paraview? I have looked
>at other
>reader code in paraview like the plot3d reader and there does not seem to
>be any
>special magic that I can find.
>
>Thanks,
>Dave
>At 03:48 PM 11/2/2005, Dave Semeraro wrote:
>
> >Hello,
> >
> >I am trying to add a new reader to paraview. I am using paraview version
> >2.2.1 on a
> >Fedora Core 2.0 linux distro. Paraview builds fine. I am following the
> >instructions in
> >the paraview guide version 1.8 and the instructions in the PVLocal
> >directory. I was
> >able to compile the "local cone source" example. When I import the package
> >into
> >paraview it works fine.
> >
> >As a first step, I wrote a new reader and tested it in VTK. The new reader
> >builds a structured points dataset. I then copied the new reader .h and
> >.cxx file into the
> >PVLocal directory and made the recommended changes in the Cmake and xml
> >files. I also included the required config files in my .cxx file. I am
> >able to compile the
> >new reader and create a shared library but the shared library has an 
> undefined
> >symbol corresponding to my reader. Paraview does not like that. When I
> >try to import the package I get an error. I have included the header file
> >for my
> >reader and the two xml files with this message. If anyone sees what I am 
> doing
> >wrong a hint would be greatly appreciated.
> >
> >Regards,
> >Dave
> >
> >
> >
> >
> >_______________________________________________
> >ParaView mailing list
> ><mailto:ParaView at paraview.org> ParaView at paraview.org
> ><http://www.paraview.org/mailman/listinfo/paraview>http://www.paraview.or 
> g/mailman/listinfo/paraview
>
>
>_______________________________________________
>ParaView mailing list
><mailto:ParaView at paraview.org>ParaView at paraview.org
>http://www.paraview.org/mailman/listinfo/paraview
>
>
>_______________________________________________
>ParaView mailing list
>ParaView at paraview.org
>http://www.paraview.org/mailman/listinfo/paraview
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20051107/c5be817f/attachment.htm


More information about the ParaView mailing list