[vtkusers] Coordinate change in the viewport.

Jean M. Favre jfavre at cscs.ch
Wed Jul 30 08:18:31 EDT 2003


"Andrew J. P. Maclean" wrote:
> 
> How can I perform a coordinate change in the viewport?
> In other words, I want to shift the origin from the lower left corner to
> the upper-right corner in the viewport and reflect the axes i.e.:


The camera's default ViewUp vector is (0, 1, 0).

Have you tried flipping it over? i.e. in Tcl

[ren1 GetActiveCamera] SetViewUp 0 -1 0

Better yet, buy the User's Guide, and read in chapter 4 "Controlling the
View Direction"

-- 
Dr. Jean M. Favre,                            email:favre at cscs.ch
http://www.cscs.ch/people/Favre.html
CSCS, Swiss Center for Scientific Computing | Tel:  +41 (91) 610.82.40
Via Cantonale, 6928 Manno, Switzerland      | Fax:  +41 (91) 610.82.82



More information about the vtkusers mailing list