[vtkusers] View management

Monica Gemo gemo at tele.ucl.ac.be
Thu Jun 3 06:48:52 EDT 2004


Dear vtkers,
I am a newby in the community and need some help and ideas!
I am to implement annotations to assuring that label layout always be as 
close as possible to the object of interest.
This involves making decisions in the view plane to place objects.

My problem is to visualize the projection of the bounding box exactly as it 
would be laid out in the view plane.
To do so I transform the bounding box vertexes from world to display 
coords, find the points with minimum and maximum values of in display 
coords and then retransfom back these values into world coords to obtain 
the a rendering corresponding to the projection in the view plane.
Sometimes this box is correct and sometimes not at all, the object that it 
approximates overcrosses the bounding box.
Is there a way to render boxes by using directly display coords? How to 
assure that this inconsistency will not happen?

Thanks a lot,
Monica


Monica Gemo - PhD student
  Communications and Remote Sensing Lab
  Université catholique de Louvain
  Address : Stevin Building, room A.147
                  Place du Levant, 2
                  B-1348 Louvain-la-Neuve, BELGIUM
  Tel : + 32 10 47.85.55  -  Fax : + 32 10 47.20.89
  E-mail : gemo at tele.ucl.ac.be





More information about the vtkusers mailing list