[Paraview] Extending pqAutoGeneratedObjectPanel for custom reader?
Karl König
kkoenig11 at web.de
Tue Sep 29 09:16:08 EDT 2009
Here you go. You'll need a recent CVS build as the CMakeLists.txt has only been adapted to support a customized panel for PV 3.7 so far and the PV 3.7 section in CMakeLists.txt relies on vtkFileSeriesReader.cxx revision >= 1.17
Karl
> That'd be great if you can post the tar ball. Makes it easier to debug.
>
> Thanks
> Utkarsh
>
> On Tue, Sep 29, 2009 at 9:03 AM, Karl König <kkoenig11 at web.de> wrote:
> > Utkarsh,
> >
> > Could you please define "is created as expected"?
> > As far as I define it, it is:
> > The plugin gets successfully loaded, the file extension *.foo appears in the list of supported file types, when opening such a *.foo file the reader itself is definitely called as both FooReader::RequestInformation and FooReader::RequestData print messages to the screen using std:cout. But the panel remains unaltered.
> >
> > If it makes things easier, I could post the complete package which can be tested using copy-and-paste like this:
> > tar -xvzf FooReader.tar.gz
> > cd FooReader
> > mkdir build
> > cd build
> > cmake .. -DCMAKE_BUILD_TYPE:STRING=Debug -DParaView_DIR:STRING=<path to paraview cvs build>
> > make
> > gdb --args paraview --data=../sampleinputfiles/sametimes..foo
> >
> > Karl
> >
> >> Are you sure the FooReader proxy is created as expected when you open
> >> the file you want to read?
> >>
> >> Utkarsh
> >>
________________________________________________________________
Neu: WEB.DE Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
für nur 19,99 Euro/mtl.!* http://produkte.web.de/go/02/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: FooReader.tar.gz
Type: application/octet-stream
Size: 7171 bytes
Desc: not available
URL: <http://www.paraview.org/pipermail/paraview/attachments/20090929/cbf0b718/attachment.obj>
More information about the ParaView
mailing list