[vtkusers] Update vtkImplicitPlaneWidget2 programmly is slow

zlf jxdw_zlf at yahoo.com.cn
Sun Mar 27 01:48:10 EDT 2011


Hi 

I have a big polydata and a vtkImplicitPlaneWidget2 in renderer. I found the
update vtkImplicitPlaneWidget2 in the following way is much slower than
update plane by mouse directly.

            implicitPlaneRepresentation->SetNormal(plane->GetNormal());
            implicitPlaneRepresentation->SetOrigin(plane->GetOrigin());
            implicitPlaneRepresentation->UpdatePlacement();

           
impicitPlaneWidget->SetRepresentation(implicitPlaneRepresentation);

            renwin->Render();

I want it to refresh quickly.

Thanks

superZZ

--
View this message in context: http://vtk.1045678.n5.nabble.com/Update-vtkImplicitPlaneWidget2-programmly-is-slow-tp4266105p4266105.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list