[vtkusers] How to adjust the object's size?

Yan Pingkun engp1734 at nus.edu.sg
Thu Feb 26 21:58:54 EST 2004


Yes, it works!
Thanks a lot!
 
Regards,
Pingkun
	-----Original Message-----
	From: Dennis Jen [mailto:jen at email.unc.edu] 
	Sent: Friday, February 27, 2004 10:55 AM
	To: Yan Pingkun; vtkusers at vtk.org
	Subject: RE: [vtkusers] How to adjust the object's size?
	
	
	Maybe after you've loaded your object, try calling
vtkRenderer::ResetCamera().
	 
	-----Original Message-----
	From: vtkusers-admin at vtk.org [mailto:vtkusers-admin at vtk.org] On
Behalf Of Yan Pingkun
	Sent: Thursday, February 26, 2004 9:28 PM
	To: vtkusers at vtk.org
	Subject: [vtkusers] How to adjust the object's size?
	 
	Hi all,
	 
	I read a 3D object from file and then visualize it. I developed
the program under Windows. Initially, I used console application.
Everything is Ok. Then I move the code into a SDI program. It works. But
the problem is that the object is always too big and I have to zoom it
to fit the window. Anybody can tell me why and how to deal with it?
	 
	Thanks!
	 
	Regards,
	Pingkun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20040227/15cb224a/attachment.htm>


More information about the vtkusers mailing list