This may be me being stubborn, but I'd rather encapsulate the way I handle large and/or remote data away from the rest of my application.<br><br>Is there a c++ example anywhere that is like this python example:<br><br>
from paraview import servermanager<br>servermanager.Connect("kamino")<br>>>>Connection (kamino:11111)<br>s = servermanager.sources.SphereSource()<br>s.UpdatePipeline()<br># Get the whole sphere. DO NOT DO THIS IF THE DATA IS LARGE otherwise<br>
# the client will run out of memory.<br>allsphere = servermanager.Fetch(s)<br>>>>getting appended<br>>>>use append poly data filter<br>allsphere.GetNumberOfPolys()<br><br>(page 17 of <a href="http://paraview.org/Wiki/images/f/f9/Servermanager2.pdf">http://paraview.org/Wiki/images/f/f9/Servermanager2.pdf</a> )<br>
Basically I want to create a pipeline to shrink my data, then either fetch the whole thing to the client or hook that into my local pipeline's Image Plane Widget. At this point I don't want to use Paraview's views.<br>
<br><div class="gmail_quote">On Jan 25, 2008 7:25 AM, Clinton Stimpson <<a href="mailto:clinton@elemtech.com">clinton@elemtech.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>You might also want to have a look at the simple clients in<br>ParaView3/Qt/Core/Testing.<br><br>Clint<br><div><div></div><div class="Wj3C7c"><br>Moreland, Kenneth wrote:<br>><br>> Doxygen for Server Manager classes (and everything else in the<br>
> ParaView source) can be found at<br>><br>> <a href="http://www.paraview.org/ParaView3/Doc/Nightly/html/index.html" target="_blank">http://www.paraview.org/ParaView3/Doc/Nightly/html/index.html</a><br>><br>> If you look under the Applications directory in the ParaView source,<br>
> you will find a couple examples of "custom clients."<br>><br>> I'll leave the details of using 3D widgets to someone else. There are<br>> conventions in the representation/view SM classes to handle widgets.<br>
> You might want to look at vtkSMImplicitPlaneRepresentationProxy as an<br>> example.<br>><br>> I am not aware of any problems with 32/64 bit issues between client<br>> and server. I added some fixes to the socket communicator before the<br>
> ParaView 3.2 release. I now connect from a 32 bit client to a 64 bit<br>> server all the time without problems. If you are having a specific<br>> issue, please let me know.<br>><br>> -Ken<br>><br>> ------------------------------------------------------------------------<br>
><br>> *From:* paraview-bounces+kmorel=<a href="mailto:sandia.gov@paraview.org">sandia.gov@paraview.org</a><br>> [mailto:<a href="mailto:paraview-bounces+kmorel=sandia.gov@paraview.org">paraview-bounces+kmorel=sandia.gov@paraview.org</a>] *On Behalf Of<br>
> *jonathan grimm<br>> *Sent:* Thursday, January 24, 2008 3:32 PM<br>> *To:* <a href="mailto:paraview@paraview.org">paraview@paraview.org</a><br>> *Subject:* [Paraview] Server Manager<br>><br>> I'm replacing an application that previously used<br>
> vtkInputPort/vtkOutputPort.<br>><br>> I'm still using client server because I have large datasets (10-12GB),<br>> and the GUI toolkits I'm using isn't 64 bit.<br>> So I'm planning to use a 32bit client/64bit server.<br>
><br>> I'm considering using Paraview's ServerManager, and I have a few<br>> questions:<br>> Is there Doxygen posted somewhere for the ServerManager Library?<br>> Are there c++ examples posted anywhere?<br>
> Can I connect an ImagePlaneWidget to a proxied server pipeline and<br>> have the result work well if the server is local?<br>> vtkParallel still has warnings about 32 bit/64 bit communications. Am<br>> I fine so long as I compile with vtkIdType 64 bit and don't use longs?<br>
><br>> --<br>> Sometimes it's hard to tell the dancer from the dance - Corwin in CoC<br>><br></div></div>> ------------------------------------------------------------------------<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" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
><br><br></blockquote></div><br><br clear="all"><br>-- <br>Sometimes it's hard to tell the dancer from the dance - Corwin in CoC