No subject


Mon Aug 10 18:29:21 EDT 2009


8<----------------------------------------------------
...
    ADD_PARAVIEW_OBJECT_PANEL(IFACES IFACE_SRCS
      CLASS_NAME pqFooReaderPanel
      XML_NAME *FooReader* # name of SourceProxy in FooReaderSM.xml
      XML_GROUP sources
      )
...
---------------------------------------------------->8

Make them the same and it will work ;)

Regards,
Paul

2009/9/29 Karl K=F6nig <kkoenig11 at web.de>

> Here you go. You'll need a recent CVS build as the CMakeLists.txt has onl=
y
> 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 >=3D=
 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=F6nig <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 t=
he
> panel remains unaltered.
> > >
> > > If it makes things easier, I could post the complete package which ca=
n
> be tested using copy-and-paste like this:
> > >  tar -xvzf FooReader.tar.gz
> > >  cd FooReader
> > >  mkdir build
> > >  cd build
> > >  cmake .. -DCMAKE_BUILD_TYPE:STRING=3DDebug -DParaView_DIR:STRING=3D<=
path
> to paraview cvs build>
> > >  make
> > >  gdb --args paraview --data=3D../sampleinputfiles/sametimes..foo
> > >
> > > Karl
> > >
> > >> Are you sure the FooReader proxy is created as expected when you ope=
n
> > >> the file you want to read?
> > >>
> > >> Utkarsh
> > >>
>
> ________________________________________________________________
> Neu: WEB.DE Doppel-FLAT mit Internet-Flatrate + Telefon-Flatrate
> f=FCr nur 19,99 Euro/mtl.!* http://produkte.web.de/go/02/
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>
>

--000e0ce02610acd3d50474b91d0e
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi Karl,<br><br>The reader has the name set as FooSeriesReader:<br><br>From=
 FooReaderGUI.xml:<br>8&lt;------------------------------------------------=
----<br>&lt;ParaViewReaders&gt;<br>=A0 &lt;Reader name=3D&quot;<b>FooSeries=
Reader</b>&quot;<br>
=A0=A0=A0 extensions=3D&quot;foo&quot;<br>=A0=A0=A0 file_description=3D&quo=
t;ASCII foo files&quot;&gt;<br>=A0 &lt;/Reader&gt;<br>&lt;/ParaViewReaders&=
gt;<br>----------------------------------------------------&gt;8<br>
<br>And in the CMakeLists you set the XML_NAME to be FooReader<br><br>From =
CMakeLists.txt<br>8&lt;----------------------------------------------------=
<br>...<br>=A0=A0=A0 ADD_PARAVIEW_OBJECT_PANEL(IFACES IFACE_SRCS<br>=A0=A0=
=A0=A0=A0 CLASS_NAME pqFooReaderPanel<br>
=A0=A0=A0=A0=A0 XML_NAME <b>FooReader</b> # name of SourceProxy in FooReade=
rSM.xml<br>=A0=A0=A0=A0=A0 XML_GROUP sources<br>=A0=A0=A0=A0=A0 )<br>...<br=
>----------------------------------------------------&gt;8<br>
<br>Make them the same and it will work ;)<br><br>Regards,<br>Paul<br><br><=
div class=3D"gmail_quote">2009/9/29 Karl K=F6nig <span dir=3D"ltr">&lt;<a h=
ref=3D"mailto:kkoenig11 at web.de">kkoenig11 at web.de</a>&gt;</span><br><blockqu=
ote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, 204, 204=
); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Here you go. You&#39;ll need a recent CVS build as the CMakeLists.txt has o=
nly 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 &=
gt;=3D 1.17<br>

<br>
Karl<br>
<div class=3D"im"><br>
&gt; That&#39;d be great if you can post the tar ball. Makes it easier to d=
ebug.<br>
&gt;<br>
&gt; Thanks<br>
&gt; Utkarsh<br>
&gt;<br>
&gt; On Tue, Sep 29, 2009 at 9:03 AM, Karl K=F6nig &lt;<a href=3D"mailto:kk=
oenig11 at web.de">kkoenig11 at web.de</a>&gt; wrote:<br>
&gt; &gt; Utkarsh,<br>
&gt; &gt;<br>
&gt; &gt; Could you please define &quot;is created as expected&quot;?<br>
&gt; &gt; As far as I define it, it is:<br>
&gt; &gt; The plugin gets successfully loaded, the file extension *.foo app=
ears in the list of supported file types, when opening such a *.foo file th=
e 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.<br>

&gt; &gt;<br>
&gt; &gt; If it makes things easier, I could post the complete package whic=
h can be tested using copy-and-paste like this:<br>
&gt; &gt; =A0tar -xvzf FooReader.tar.gz<br>
&gt; &gt; =A0cd FooReader<br>
&gt; &gt; =A0mkdir build<br>
&gt; &gt; =A0cd build<br>
&gt; &gt; =A0cmake .. -DCMAKE_BUILD_TYPE:STRING=3DDebug -DParaView_DIR:STRI=
NG=3D&lt;path to paraview cvs build&gt;<br>
&gt; &gt; =A0make<br>
&gt; &gt; =A0gdb --args paraview --data=3D../sampleinputfiles/sametimes..fo=
o<br>
&gt; &gt;<br>
&gt; &gt; Karl<br>
&gt; &gt;<br>
&gt; &gt;&gt; Are you sure the FooReader proxy is created as expected when =
you open<br>
&gt; &gt;&gt; the file you want to read?<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Utkarsh<br>
&gt; &gt;&gt;<br>
<br>
</div>________________________________________________________________<br>
Neu: <a href=3D"http://WEB.DE" target=3D"_blank">WEB.DE</a> Doppel-FLAT mit=
 Internet-Flatrate + Telefon-Flatrate<br>
f=FCr nur 19,99 Euro/mtl.!* <a href=3D"http://produkte.web.de/go/02/" targe=
t=3D"_blank">http://produkte.web.de/go/02/</a><br>
<br>
<br>_______________________________________________<br>
Powered by <a href=3D"http://www.kitware.com" target=3D"_blank">www.kitware=
.com</a><br>
<br>
Visit other Kitware open-source projects at <a href=3D"http://www.kitware.c=
om/opensource/opensource.html" target=3D"_blank">http://www.kitware.com/ope=
nsource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href=3D"ht=
tp://paraview.org/Wiki/ParaView" target=3D"_blank">http://paraview.org/Wiki=
/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href=3D"http://www.paraview.org/mailman/listinfo/paraview" target=3D"_bl=
ank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br>

--000e0ce02610acd3d50474b91d0e--


More information about the ParaView mailing list