[Paraview] view plugin

Paul Edwards paul.m.edwards at gmail.com
Fri Aug 12 13:12:41 EDT 2011


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" <paul.m.edwards at gmail.com> 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 <paul.m.edwards at gmail.com> 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 <dave.demarle at kitware.com> 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
>>> <robert.maynard at kitware.com> 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 <
paul.m.edwards at gmail.com
>>> >
>>> > 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
>>> >
>>> >
>>>
>>
>>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20110812/31514d7a/attachment-0001.htm>


More information about the ParaView mailing list