[vtkusers] rotating a plane

Jeff Lee jeff at cdnorthamerica.com
Tue Feb 4 13:12:14 EST 2003


Have you looked at vtkPlaneWidget?
-Jeff

Vincent wrote:

>Hi Marcio,
>
>Thank you for your reaction. Creating a rotated plane is not really the 
>problem, the problem is the interaction.  I would like to create a rectangle 
>around a 2D object. This rectangle should have handles to rotate and scale 
>the object (like in many drawing programs). I'm looking for some kind of 
>widget with the desired mouse behaviour already implemented (or another good 
>solution of course :) ).
>Please let me know if you (or anyone) have a suggestion.
>
>Vincent Dercksen
>
>
>On Tuesday 04 February 2003 16:05, you wrote:
>  
>
>>Hi Vicent,
>>Try to use the method SetExtend with calculated
>>arguments (xmin,xmax,ymin,ymax,zmin,zmax).
>>I never rotate a plane before but using basic
>>trigonometric concepts you can calculate hte arguments
>>values without dificults.
>>
>>/Marcio.
>>
>>--- Vincent <v.dercksen at suave.nl> wrote:
>>    
>>
>>>Hi everybody,
>>>
>>>I have a rectangular plane that lies in the xy-plane
>>>and I would like to
>>>interactively rotate it about the z-axis. Does
>>>anyone have an idea how I can
>>>achieve this?
>>>Thanks in advance,
>>>
>>>Vincent Dercksen
>>>      
>>>
>
>_______________________________________________
>This is the private VTK discussion list. 
>Please keep messages on-topic. Check the FAQ at: <http://public.kitware.com/cgi-bin/vtkfaq>
>Follow this link to subscribe/unsubscribe:
>http://public.kitware.com/mailman/listinfo/vtkusers
>
>
>
>  
>




More information about the vtkusers mailing list