[Paraview] problem with new representation plugin
Paul Edwards
paul.m.edwards at gmail.com
Mon Feb 22 10:29:56 EST 2010
I can't see how this is possible through the SharedProperties as the color
combo box that is displayed in the "Display Properties" is chosen from the
result of pqPipelineRepresentation::getRepresentationType() (from the call
in pqDisplayProxyEditor.cxx line 695). This will default to
vtkSMPVRepresentationProxy::SURFACE for all user defined representations
inheriting from SurfaceRepresentation type - really this should be checking
the subtype ID that is specified in the XML file, although I'm not quite
sure how this can be done....
Can you get it to work with the example plugin?
Thanks,
Paul
On 22 February 2010 15:05, Utkarsh Ayachit <utkarsh.ayachit at kitware.com>wrote:
> One solution is to share common properties with the
> SurfaceRepresentation sub-proxy using the <ShareProperties> tag. You
> can add exceptions (you will have to add exceptions for Input,
> Representation properties at the least).
>
> Utkarsh
>
> On Mon, Feb 22, 2010 at 7:48 AM, Paul Edwards <paul.m.edwards at gmail.com>
> wrote:
> > Hi,
> > I have compiled the representation plugin in the CVS and I have the
> problem
> > that I cannot change the colour for the "Special Mapper" in the Object
> > Inspector's "Display" panel. This seems to be due to the display
> properties
> > being for the surface representation rather than the wireframe (it shows
> > "Set Solid Color..." rather than "Set Ambient Color..."). Does anyone
> know
> > who to fix this?
> > Thanks in advance,
> > 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
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20100222/2345e703/attachment.htm>
More information about the ParaView
mailing list