Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ice-dev] Changing view center in VisIt

It turns out to be very simple using Python: just call

SetCenterOfRotation(0.5, 0.5, 0.5)

with your desired coordinates.

I had to poll the visit users list for this one.

Jordan

Jordan Deyton
Oak Ridge National Laboratory
Telephone: (865) 574-1091
Email: deytonjh@xxxxxxxx

On 6/17/2015 2:38 PM, Jordan Deyton wrote:
Hari,

Is there a way using the Python API in VisIt to change the view center?

For instance, suppose my mesh is bounded by a cube defined by the origin and the point (2,2,2). I apply a clip operator so that the mesh is now effectively bounded by the cube defined by the origin and (1,1,1) What I would like is to change the center to (0.5, 0.5, 0.5) instead of the default (1,1,1).

I need to be able to then rotate, as normal, around that new center.

Thanks,
Jordan




Back to the top