[vtkusers] expcos.cxx and expcos.tcl runtime differences
Prabhu Ramachandran
prabhu at aero.iitm.ernet.in
Thu Jun 13 14:03:45 EDT 2002
>>>>> "MN" == Michael Norton <mnorton at cisco.com> writes:
MN> hi, I noticed on my Mac OS X install that the runtime of
MN> expcos.cxx and expcos.tcl differ in the way the bessel
MN> function is initially displayed. The source in cxx looks
MN> pretty straight forward with the tcl.
MN> The question I guess is, how do I change the camera angle from
MN> an overhead view of the function to one say off from the side?
MN> How do I change the camera angle?
Well, look at Graphics/Testing/Cxx/expCos.cxx
The lines like:
ren->GetActiveCamera()->Zoom(1.4);
ren->GetActiveCamera()->Elevation(-55);
ren->GetActiveCamera()->Azimuth(25);
ren->ResetCameraClippingRange();
change the orientation. Read the vtkCamera docs and try different
parameters to get what you want.
prabhu
More information about the vtkusers
mailing list