<p>Ah, I see what I was doing wrong. It was using the xml tag name when looking for the vtkSM proxy. I've put in the correct name and it's working now.</p>
<p>Sorry about all the posts!<br>
Paul</p>
<div class="gmail_quote">On 12 Aug 2011 16:19, "Paul Edwards" <<a href="mailto:paul.m.edwards@gmail.com">paul.m.edwards@gmail.com</a>> wrote:<br type="attribution">> One more point: I've tried putting a breakpoint in vtkSMTwoDRenderViewProxy2<br>
> constructor but it doesn't get called. Where should this be created?<br>> <br>> Thanks,<br>> Paul<br>> <br>> On 12 August 2011 16:05, Paul Edwards <<a href="mailto:paul.m.edwards@gmail.com">paul.m.edwards@gmail.com</a>> wrote:<br>
> <br>>> Hi,<br>>><br>>> I'm still struggling with this. I've tried to create a copy of the<br>>> ParaView 2D view as a plugin (appending a 2 to all names). It all compiles<br>>> but segfaults in pqTwoDRenderView2::initializeWidgets() as the<br>
>> vtkSMTwoDRenderViewProxy2 is a null pointer. I've attached the code for the<br>>> plugin in case anyone can take a look at it. I'd appreciate any help here.<br>>><br>>> Thanks in advance,<br>
>> Paul<br>>> BTW I'm using the git master branch<br>>><br>>><br>>> On 9 August 2011 16:20, David E DeMarle <<a href="mailto:dave.demarle@kitware.com">dave.demarle@kitware.com</a>> wrote:<br>
>><br>>>> As do the manta and streaming plugins.<br>>>><br>>>> Be sure to see <a href="http://paraview.org/Wiki/Representations_and_Views">http://paraview.org/Wiki/Representations_and_Views</a> for<br>
>>> an introduction to ParaView's overall rendering architecture.<br>>>><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>>>><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<br>>>> 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>
>>> ><br>>>> > wrote:<br>>>> >><br>>>> >> Hi,<br>>>> >> Does anyone have any example view plugins? I am struggling to know<br>>>> where<br>>>> >> to start with a new 3D view with a different representation. Any help<br>
>>> would<br>>>> >> be appreciated.<br>>>> >> Thanks,<br>>>> >> Paul<br>>>> >> _______________________________________________<br>>>> >> Powered by <a href="http://www.kitware.com">www.kitware.com</a><br>
>>> >><br>>>> >> Visit other Kitware open-source projects at<br>>>> >> <a href="http://www.kitware.com/opensource/opensource.html">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">http://paraview.org/Wiki/ParaView</a><br>>>> >><br>
>>> >> Follow this link to subscribe/unsubscribe:<br>>>> >> <a href="http://www.paraview.org/mailman/listinfo/paraview">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">www.kitware.com</a><br>
>>> ><br>>>> > Visit other Kitware open-source projects at<br>>>> > <a href="http://www.kitware.com/opensource/opensource.html">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">http://paraview.org/Wiki/ParaView</a><br>>>> ><br>
>>> > Follow this link to subscribe/unsubscribe:<br>>>> > <a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><br>>>> ><br>>>> ><br>
>>><br>>><br>>><br></div>