[Paraview-developers] vtkSMSourceProxy (vtkSMProxy) comparison

Maxim Torgonskiy kriolog at gmail.com
Thu Mar 23 17:49:30 EDT 2017


Hello,

I'm trying to create a widget for interactive point picking on a
vtkPolyData surface. I use
vtkSMRenderViewProxy::ConvertDisplayToPointOnSurface which originally
picks a point on the closest surface. I successfully customized this
code such that it works only with one input surfafce
(vtkSMSourceProxy) and its representation
(vtkSMPVRepresentationProxy). In order to provide the input I need be
able to compare two vtkSMSourceProxy (whether or not they point to the
same pipeline source) OR be able to extract vtkSMPVRepresentationProxy
from vtkSMSourceProxy and vtkSMRenderViewProxy. What is the best way
to do that?

Thanks,
Maxim


More information about the Paraview-developers mailing list