Hi,<div><br></div><div>I'm still struggling with this. I've tried to create a copy of the ParaView 2D view as a plugin (appending a 2 to all names). It all compiles but segfaults in pqTwoDRenderView2::initializeWidgets() as the vtkSMTwoDRenderViewProxy2 is a null pointer. I've attached the code for the plugin in case anyone can take a look at it. I'd appreciate any help here.</div>
<div><br></div><div>Thanks in advance,</div><div>Paul</div><div>BTW I'm using the git master branch<br><br><div class="gmail_quote">On 9 August 2011 16:20, David E DeMarle <span dir="ltr"><<a href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">As do the manta and streaming plugins.<br>
<br>
Be sure to see <a href="http://paraview.org/Wiki/Representations_and_Views" target="_blank">http://paraview.org/Wiki/Representations_and_Views</a> for<br>
an introduction to ParaView's overall rendering architecture.<br>
<font color="#888888"><br>
David E DeMarle<br>
Kitware, Inc.<br>
R&D Engineer<br>
28 Corporate Drive<br>
Clifton Park, NY 12065-8662<br>
Phone: 518-371-3971 x109<br>
</font><div><div></div><div class="h5"><br>
<br>
<br>
On Tue, Aug 9, 2011 at 11:02 AM, Robert Maynard<br>
<<a href="mailto:robert.maynard@kitware.com">robert.maynard@kitware.com</a>> wrote:<br>
> Hi,<br>
> The prism plugin has a custom view and representation. You can also look at<br>
> the GUIView example too.<br>
><br>
> On Tue, Aug 9, 2011 at 10:57 AM, Paul Edwards <<a href="mailto:paul.m.edwards@gmail.com">paul.m.edwards@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Hi,<br>
>> Does anyone have any example view plugins? I am struggling to know where<br>
>> to start with a new 3D view with a different representation. Any help would<br>
>> be appreciated.<br>
>> Thanks,<br>
>> Paul<br>
>> _______________________________________________<br>
>> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
>><br>
>> Visit other Kitware open-source projects at<br>
>> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
>><br>
>> Please keep messages on-topic and check the ParaView Wiki at:<br>
>> <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
>><br>
>> Follow this link to subscribe/unsubscribe:<br>
>> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
>><br>
><br>
><br>
><br>
> --<br>
> Robert Maynard<br>
><br>
> _______________________________________________<br>
> Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
><br>
> Visit other Kitware open-source projects at<br>
> <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
><br>
> Please keep messages on-topic and check the ParaView Wiki at:<br>
> <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
><br>
> Follow this link to subscribe/unsubscribe:<br>
> <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
><br>
><br>
</div></div></blockquote></div><br></div>