[Paraview-developers] Resetting Camera Clipping Planes

Utkarsh Ayachit utkarsh.ayachit at kitware.com
Mon Aug 26 13:01:34 EDT 2013


Make sure that your vtkWidgetRepresentation provides a double*
GetBounds() override to return the correct bounds. The clipping planes
should be automatically updated when the widgetrepresentation is added
to the view if it returns the correct bounds.

Utkarsh

On Wed, Aug 7, 2013 at 8:26 PM, dtaveras <dtaveras at andrew.cmu.edu> wrote:
> I'm Developing a 3dwidget plugin and whenever it loads the PolyData is bigger
> than the clipping plance hence I have to manually reset the Camera. I was
> wondering if there is a way to reset the camera clipping plane either from
> the representation of the widget of the pq file of the Widget. Thank you.
>
>
>
> --
> View this message in context: http://the-unofficial-paraview-developers-forum.34153.x6.nabble.com/Resetting-Camera-Clipping-Planes-tp2409.html
> Sent from the The Unofficial ParaView Developers Forum mailing list archive at Nabble.com.
> _______________________________________________
> 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