ngl icon indicating copy to clipboard operation
ngl copied to clipboard

Does the mouse action change the axis?

Open biharck opened this issue 7 years ago • 1 comments

Hey there. How are the things going? I'd like to know if when the user rotates the NGL representation using a mouse, does the vector basis (axis frame) change or just the xyz coordinates?

Currently, I am getting the rotate matriz using stage.viewerControls.getOrientation(); which is a 4x4 matrix.

I'd like to use the same matrix to replace the PDB coordinates. So, that being said, I am getting the PDB xyz matrix and multiplying by the NGL rotate matrix.

Do you guys think that this is best way to do that?

biharck avatar Aug 10 '18 20:08 biharck

Sounds like you want a local coordinate system for a pdb file. That does only work if there is just a single file loaded.

arose avatar Jan 07 '19 20:01 arose