[Paraview-developers] Progmatically Adding a Clip Filter

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Mon May 5 07:19:24 EDT 2014


Harsh,

I am not sure what level are you working at. Are you working with VTK
algorithms directly? Or using Proxies? Or using Python?

On Thu, Apr 24, 2014 at 4:14 PM, Harsh Modi <hmodi at usc.edu> wrote:
> Hello,
>
> I am trying to write a Kinect controller for ParaView. So far, I've managed
> to get the rotation and scaling using hand gestures working. One feature I'd
> like to add is the ability to clip the loaded VTK file by saying "Clip".
> However, I cannot figure out how to add a clip filter to operate on the
> current source. I believe I should use a vtkPVMetaClipDataSet and get the
> input array from the current active source, but I have been unable to figure
> out how to get the input array for the active source.
>
> How would I add in this filter pragmatically?
>
> Thanks,
>
> Harsh Modi
>
> _______________________________________________
> Paraview-developers mailing list
> Paraview-developers at paraview.org
> http://public.kitware.com/mailman/listinfo/paraview-developers
>


More information about the Paraview-developers mailing list