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.
Sorry about all the posts! Paul On 12 Aug 2011 16:19, "Paul Edwards" <[email protected]> wrote: > One more point: I've tried putting a breakpoint in vtkSMTwoDRenderViewProxy2 > constructor but it doesn't get called. Where should this be created? > > Thanks, > Paul > > On 12 August 2011 16:05, Paul Edwards <[email protected]> wrote: > >> Hi, >> >> 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. >> >> Thanks in advance, >> Paul >> BTW I'm using the git master branch >> >> >> On 9 August 2011 16:20, David E DeMarle <[email protected]> wrote: >> >>> As do the manta and streaming plugins. >>> >>> Be sure to see http://paraview.org/Wiki/Representations_and_Views for >>> an introduction to ParaView's overall rendering architecture. >>> >>> David E DeMarle >>> Kitware, Inc. >>> R&D Engineer >>> 28 Corporate Drive >>> Clifton Park, NY 12065-8662 >>> Phone: 518-371-3971 x109 >>> >>> >>> >>> On Tue, Aug 9, 2011 at 11:02 AM, Robert Maynard >>> <[email protected]> wrote: >>> > Hi, >>> > The prism plugin has a custom view and representation. You can also look >>> at >>> > the GUIView example too. >>> > >>> > On Tue, Aug 9, 2011 at 10:57 AM, Paul Edwards < [email protected] >>> > >>> > wrote: >>> >> >>> >> Hi, >>> >> Does anyone have any example view plugins? I am struggling to know >>> where >>> >> to start with a new 3D view with a different representation. Any help >>> would >>> >> be appreciated. >>> >> Thanks, >>> >> Paul >>> >> _______________________________________________ >>> >> 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 >>> >> >>> > >>> > >>> > >>> > -- >>> > Robert Maynard >>> > >>> > _______________________________________________ >>> > 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 >>> > >>> > >>> >> >>
_______________________________________________ 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
