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?<br><br><div><span class="gmail_quote">
On 11/4/05, <b class="gmail_sendername">Dave Semeraro</b> <<a href="mailto:semeraro@ncsa.uiuc.edu">semeraro@ncsa.uiuc.edu</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>Hello again,<br><br>I was able to figure out how to create a new reader for paraview. The problem I<br>described in my previous message went away when I used the correct<br>vtkTypeMacro. I am able to use the new reader to get data into paraview and
<br>do a few things with it.<br><br>One thing that does not seem to work is the ExtractGrid filter. When I try to<br>use this filter with my data the VOI min and max values are all large<br>negative numbers. My reader creates a structured points data set. How does
<br>the ExtractGrid filter get<br>the data extents from the upstream data source in paraview? I have looked<br>at other<br>reader code in paraview like the plot3d reader and there does not seem to<br>be any<br>special magic that I can find.
<br><br>Thanks,<br>Dave<br>At 03:48 PM 11/2/2005, Dave Semeraro wrote:<br><br>>Hello,<br>><br>>I am trying to add a new reader to paraview. I am using paraview version<br>>2.2.1 on a<br>>Fedora Core 2.0 linux distro. Paraview builds fine. I am following the
<br>>instructions in<br>>the paraview guide version 1.8 and the instructions in the PVLocal<br>>directory. I was<br>>able to compile the "local cone source" example. When I import the package<br>>into
<br>>paraview it works fine.<br>><br>>As a first step, I wrote a new reader and tested it in VTK. The new reader<br>>builds a structured points dataset. I then copied the new reader .h and<br>>.cxx file into the
<br>>PVLocal directory and made the recommended changes in the Cmake and xml<br>>files. I also included the required config files in my .cxx file. I am<br>>able to compile the<br>>new reader and create a shared library but the shared library has an undefined
<br>>symbol corresponding to my reader. Paraview does not like that. When I<br>>try to import the package I get an error. I have included the header file<br>>for my<br>>reader and the two xml files with this message. If anyone sees what I am doing
<br>>wrong a hint would be greatly appreciated.<br>><br>>Regards,<br>>Dave<br>><br>><br>><br>><br>>_______________________________________________<br>>ParaView mailing list<br>><a href="mailto:ParaView@paraview.org">
ParaView@paraview.org</a><br>><a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><br><br><br>_______________________________________________<br>ParaView mailing list
<br><a href="mailto:ParaView@paraview.org">ParaView@paraview.org</a><br><a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><br></blockquote></div><br>