<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Fantastic! Thanks Tom!<div class=""><br class=""></div><div class="">And thanks for answering my query regarding resampling, I had no idea that option existed.<br class=""><div class=""><br class=""></div><div class="">Cheers,</div><div class="">Oliver.</div><div class=""><div><blockquote type="cite" class=""><div class="">On Jul 28, 2015, at 3:03 PM, Tom Goddard <<a href="mailto:goddard@sonic.net" class="">goddard@sonic.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Oliver,<div class=""><br class=""></div><div class=""> Ok, I’ve added a clip command option “fromCenter true” that positions the plane relative to the center of rotation instead of relative to the current position. For example,</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>clip hither 15 fromCenter true</div><div class=""><br class=""></div><div class="">positions the near plane 15 Angstroms in front of the center of rotation. Positive values are towards the viewer and negative away for both near and far planes. Will be in tonight’s daily build. Thanks for the suggestion.</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Tom</div><div class=""><br class=""></div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Jul 28, 2015, at 7:09 AM, Oliver Clarke <<a href="mailto:olibclarke@gmail.com" class="">olibclarke@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html charset=utf-8" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hi all,</div><div class=""><br class=""></div>With regards to this (and thank you very much Tom for the center of rotation crosshair, it makes navigating large maps much more enjoyable!), I have one more request pertaining to the same use case. <div class=""><br class=""></div><div class="">Would it be possible at some point to add a way to adjust the clipping planes symmetrically about the center of rotation, in absolute rather than relative terms? E.g to set hither and yon clipping planes 15 Å either side of the cofr. <div class=""><br class=""></div><div class="">I can adjust these symmetrically in relative terms by using an alias at the moment (alias ^symclip cofron; clip hither -$1; clip yon $1 - so symclip 10 shows the cofr crosshair, centers the cofr between the clipping planes and moves both hither and yon towards the cofr by 10 Å), but it would be more convenient to set the clipping window directly. </div><div class=""><br class=""></div><div class="">The use case for this occurs when the user is navigating around a large map comprised of smaller domains, and wishes to focus in on a single domain (located at/near the center of rotation). Being able to clip an arbitrary distance either side of the COFR would be handy in this instance.</div><div class=""><br class=""></div><div class="">Cheers,</div><div class=""><br class=""></div><div class="">Oliver.</div><div class=""><div class=""><blockquote type="cite" class=""><div class="">On Jul 1, 2015, at 3:14 PM, Oliver Clarke <<a href="mailto:olibclarke@gmail.com" class="">olibclarke@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class="">In case it is useful to anyone else, the solution I found to this was to create an alias as follows:<br class=""><br class="">alias ^cofron set showcofr; cofr view; clip on<br class=""><br class=""></div>and then use this command whenever I load a new structure or map. This seems to work quite well and allows for easy navigation around structures.<br class=""><br class=""></div>Cheers,<br class=""></div>Oliver.<br class=""></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, Jun 24, 2015 at 3:31 PM, Tom Goddard <span dir="ltr" class=""><<a href="mailto:goddard@sonic.net" target="_blank" class="">goddard@sonic.net</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class=""><div class="">Unfortunately I see no easy solution to improve center of view rotation mode. Adding a preference to keep clipping enabled would not be too hard — but Chimera C++ code always turns the clipping off when the first model is opened. That is in a C++ routine (viewAll) that is called from many places so I can’t change it without breaking or fixing other code. Another option is to keep the depth of the center of rotation fixed even while the clip planes are moving. Again this change could break lots of code. We are working on Chimera 2 now, and this problem has a very easy if tedious solution — manually enable clipping after you open a model. So I don’t see it being fixed in Chimera 1.</div><div class=""><br class=""></div><div class=""><span style="white-space:pre-wrap" class=""> </span>Tom</div><div class=""><br class=""></div><br class=""><div class=""><blockquote type="cite" class=""><span class=""><div class="">On Jun 23, 2015, at 11:22 AM, Oliver Clarke wrote:</div><br class=""></span><div class=""><div style="word-wrap:break-word" class=""><span class="">Yes Tom that is exactly right - don’t really mind how it works so long as center of view rotation works (I guess that is for Chimera 2 though). In the meantime a preference for clip planes on as you describe would be great!<div class=""><br class=""></div><div class="">Cheers,</div></span><div class="">Oliver. <span class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Jun 23, 2015, at 1:56 PM, Tom Goddard wrote:</div><br class=""><div class=""><div style="word-wrap:break-word" class="">Hi Oliver,<div class=""><br class=""></div><div class=""> Is the main point of your request to be able to set a clip plane on/off preference so that center-of-view rotation works? If so the what is needed is to fix center-of-view rotation. I made a bug report for that problem yesterday.</div><div class=""><br class=""></div><div class=""><span style="white-space:pre-wrap" class=""> </span><a href="http://plato.cgl.ucsf.edu/trac/chimera/ticket/14028" target="_blank" class="">http://plato.cgl.ucsf.edu/trac/chimera/ticket/14028</a></div><div class=""><br class=""></div><div class="">With clip planes enabled they still need to automatically adjust. For instance before you open the first data set they are positioned at z -1 and 1. If they don’t adjust when you open the first data you won’t see the data. Commands like “focus” with no arguments are documented to turn off clip planes. If you want clip planes to remain enabled you would use “focus #0”. We won’t add global setting that override the documented behavior of commands. Still it probably is possible to make clip planes on a preference with the planes adjusting when the first data set is opened. This is the way Chimera behaved 5 years ago.</div><div class=""><br class=""></div><div class=""><span style="white-space:pre-wrap" class=""> </span>Tom</div><div class=""><br class=""></div><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On Jun 23, 2015, at 6:39 AM, Oliver Clarke wrote:</div><br class=""><div class="">Dear Tom - just tried this out and it works exactly as I would hope - this makes it much easier to navigate precisely within a structure, thank you. <br class=""><br class="">One additional request on this - would it be possible to add a parameter that locks global clipping on for the session unless explicitly altered by the user? <br class=""><br class="">At the moment, it seems that global clipping is off by default for a new session even if I try to save it in the camera settings, and then in “center of view” mode the cofr keeps shifting about as the clipping planes auto adjust. It would be great to have a way to set clipping planes on as the default unless explicitly altered.<br class=""><br class="">Best,<br class="">Oliver.<br class=""><br class=""><br class=""><blockquote type="cite" class="">On Jun 22, 2015, at 7:58 PM, Tom Goddard wrote:<br class=""><br class="">Hi Oliver,<br class=""><br class=""> I added display of a cross hair (plus sign) at the center of rotation in the graphics window. You turn it on with command<br class=""><br class=""><span style="white-space:pre-wrap" class=""> </span>set showCofR<br class=""><br class="">and turn it off with<br class=""><br class=""><span style="white-space:pre-wrap" class=""> </span>~set showCofR<br class=""><br class="">The crosshair is white on black (and dark) backgrounds and black on white (or light) backgrounds. This will be in tonight’s daily build.<br class=""><br class=""><span style="white-space:pre-wrap" class=""> </span>Tom<br class=""><br class=""></blockquote><br class=""><br class=""></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></span></div></div>_______________________________________________<br class="">Chimera-users mailing list<br class=""><a href="mailto:Chimera-users@cgl.ucsf.edu" target="_blank" class="">Chimera-users@cgl.ucsf.edu</a><br class=""><a href="http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users" target="_blank" class="">http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users</a><br class=""></div></blockquote></div><br class=""></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></div></div></div></blockquote></div><br class=""></div></div></div></blockquote></div><br class=""></div></div></body></html>