[Paraview] Plugin to modify the current transfer function
Joe Ping-Lin Hsiao
phsiao at cs.unc.edu
Wed Nov 27 14:56:36 EST 2013
Which libraries should I link to use pqActiveObjects? I tried
${PARAVIEW_BUILD_SHARED_LIBS} but it doesn't work.
Joe
On Sat, Nov 23, 2013 at 5:48 PM, Utkarsh Ayachit <
utkarsh.ayachit at kitware.com> wrote:
> Yes, you can indeed write a client-side plugin that updates the active
> opacity transfer function. Your plugin can monitor pqActiveObjects
> singleton to get access to the active representation and from that you
> can access it's ScalarOpacityFunction. Look at pqColorMapEditor and
> pqColorOpacityEditorWidget in ParaView 4.1.0 source to see how that
> could be done.
>
> Utkarsh
>
> On Fri, Nov 15, 2013 at 10:36 AM, Joe Ping-Lin Hsiao <phsiao at cs.unc.edu>
> wrote:
> > I want to modify the transfer function from my plugin, e.g. add and
> delete
> > points.
> > In VTK, it would be calling vtkPiecewiseFunction->AddPoint(). Can I do
> that
> > in Paraview?
> >
> > Thanks,
> > Joe
> >
> > _______________________________________________
> > 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/20131127/ee9ff478/attachment-0001.htm>
More information about the ParaView
mailing list