[vtkusers] Interaction with a cut plane.

Mathieu Malaterre Mathieu.Malaterre at creatis.insa-lyon.fr
Mon Jul 21 07:49:53 EDT 2003


Said,

	Please have a look here:

http://public.kitware.com/cgi-bin/cvsweb.cgi/~checkout~/VTK/Examples/VisualizationAlgorithms/Python/ClipCow.py

There is a special method 'Cut' (not used) but should told you how to 
use vtkPlane.

HTH
mathieu

Said. wrote:
> Hi,
> 
> In fact, I have two pipelines. One for the geometry, and the other for
> the cut plane.
> 
> to plot the cut plane I use the followin method.
> 
> public void plotCutPlane(vtkCanvas renWin){
>  //here I build an actor and add it to the vtkCanva renWin.
> }
> 
> i have another method, inside another object, to plot the geometry (
> Falcon).
> 
> public void plotGeometry(vtkCanva renWin){
>  //here a build an actor for the geometry and add it to renWin.
> }
> 
> With this, I dont find yet how to interact with the cut plane
> (translate, rotate, etc...) without moving with the geometry (ie the
> Falcon).
> 
> 
> ------------------------------------------------------------------------
> 


-- 
Mathieu Malaterre
CREATIS
28 Avenue du Doyen LEPINE
B.P. Lyon-Montchat
69394 Lyon Cedex 03
http://www.creatis.insa-lyon.fr/~malaterre/




More information about the vtkusers mailing list