{"id":334,"date":"2019-07-12T17:08:04","date_gmt":"2019-07-12T17:08:04","guid":{"rendered":"https:\/\/ccsb.scripps.edu\/mgltools\/?page_id=334"},"modified":"2019-07-12T17:45:10","modified_gmt":"2019-07-12T17:45:10","slug":"doc-156-geometry-tools","status":"publish","type":"page","link":"https:\/\/ccsb.scripps.edu\/mgltools\/doc-156-geometry-tools\/","title":{"rendered":"doc 156 geometry tools"},"content":{"rendered":"<h2>Geometry Tools Group<\/h2>\n<p>The <strong>Geometry Tools<\/strong> group provides a way for the user to set common rendering attributes for geometries displayed in the <img decoding=\"async\" width=\"204\" height=\"444\" class=\"wp-image-403 alignleft\" src=\"https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/macintosh-hdusersmicheldesktopscreen-shot-2011-57.png\" alt=\"Macintosh HD:Users:michel:Desktop:Screen shot 2011-03-14 at 11.23.39 AM.png\" srcset=\"https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/macintosh-hdusersmicheldesktopscreen-shot-2011-57-138x300.png 138w, https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/macintosh-hdusersmicheldesktopscreen-shot-2011-57-200x435.png 200w, https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/macintosh-hdusersmicheldesktopscreen-shot-2011-57.png 204w\" sizes=\"(max-width: 204px) 100vw, 204px\" \/> 3D Viewer. A tree widget reveals a \u201croot\u201d object, which is the parent of very geometry displayed in Pmv. This widget is used to select a geometrical object for which rendering attributes will be modified using the Appearance Tools and Clipping planes interfaces located below the tree. Note that when no geometry is selected, the appearance and clipping planes widgets are disabled.<\/p>\n<p>Every molecule loaded in Pmv creates a child of the root object named after the molecule (e.g. 1crn). The children of the molecule node are the geometrical objects displayed in the 3D Viewer to represent this molecule in various ways. This list may vary based on the representations calculated and shown for a particular molecule. Nodes in this tree can be expanded and collapsed by clicking on the blue triangular shape located to the left of the node\u2019s name.<\/p>\n<p>A geometrical object is selected by clicking on its name. A yellow background identifies the current geometrical object.<\/p>\n<p>Once a geometrical object is selected the <strong>\u201cAppearance panel\u201d<\/strong> lets the user specify whether this object should be rendered with front and\/or back faces as well as which rendering mode (points, lines, Gouraud shaded, Outlines Gouraud shaded) is used for front and for back facing polygons as well as the color and opacity of the front and back polygons of this geometrical object.<\/p>\n<p>The top row of buttons in the Appearance Tools group pertains to the front facing polygons (i.e. polygons with a normal vector pointing toward the camera or person viewing the scene). The first button <img decoding=\"async\" width=\"19\" height=\"23\" class=\"wp-image-404\" src=\"https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-11-44-11-am.png\" alt=\":::::Desktop:Screen shot 2011-03-14 at 11.44.11 AM.png\" \/> toggles the visibility of front facing polygons and is on by default. The next 4 button respectively set the rendering of front facing polygons to: points <img decoding=\"async\" width=\"36\" height=\"34\" class=\"wp-image-405\" src=\"https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-11-45-48-am.png\" alt=\":::::Desktop:Screen shot 2011-03-14 at 11.45.48 AM.png\" \/> , lines <img decoding=\"async\" width=\"33\" height=\"29\" class=\"wp-image-406\" src=\"https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-11-45-56-am.png\" alt=\":::::Desktop:Screen shot 2011-03-14 at 11.45.56 AM.png\" \/> , Gouraud shaded <img decoding=\"async\" width=\"33\" height=\"31\" class=\"wp-image-407\" src=\"https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-11-46-03-am.png\" alt=\":::::Desktop:Screen shot 2011-03-14 at 11.46.03 AM.png\" \/> and outlined Gouraud shaded <img decoding=\"async\" width=\"33\" height=\"30\" class=\"wp-image-408\" src=\"https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-11-46-09-am.png\" alt=\":::::Desktop:Screen shot 2011-03-14 at 11.46.09 AM.png\" \/> . For point and line rendering, right clicking on the button opens an interface for setting rendering parameters such as point and line width <img decoding=\"async\" width=\"249\" height=\"42\" class=\"wp-image-409\" src=\"https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-11-47-50-am.png\" alt=\":::::Desktop:Screen shot 2011-03-14 at 11.47.50 AM.png\" srcset=\"https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-11-47-50-am-200x34.png 200w, https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-11-47-50-am.png 249w\" sizes=\"(max-width: 249px) 100vw, 249px\" \/> . Numerical values can by typed in or incremented and decremented using the counter widget\u2019s arrows. Clicking on the green check button sets the value and dismisses the interface, while clicking on the red button dismisses the interface without setting the value. The last button in the row <img decoding=\"async\" width=\"33\" height=\"32\" class=\"wp-image-410\" src=\"https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-11-46-16-am.png\" alt=\":::::Desktop:Screen shot 2011-03-14 at 11.46.16 AM.png\" \/> invokes the <a href=\"https:\/\/ccsb.scripps.edu\/mgltools\/doc-156-color-chooser\/\">color chooser<\/a>. The opacity thumbwheel is used to set the opacity of the front facing polygons. The second row of buttons performs the same functions for the back facing polygons.<\/p>\n<p>The \u201c<strong>Clipping Planes<\/strong>\u201d group provides an interface for enabling\/disabling, transforming and capping arbitrary clipping planes. The 3D Viewer in Pmv supports up to 6 arbitrary clipping planes, each of which can be enabled or disabled for any geometrical object displayed in PMV. By default when a clipping plane is enabled it will clip all children geometries. Clipping planes 1 through 6 are enabled using the middle row button. The top row of buttons supports binding the 3D viewer\u2019s virtual trackball used to create 3D transformations such as translations and rotations to a given clipping plane. When a clipping is transformed, it graphical representation is drawn in the 3D Viewer. Moreover, a red button is added at the right end of the top row, which can be used to stop transforming the clipping plan and restore transformation of the 3D scene. The left mouse button rotates the clipping plane. The right mouse button translates the clipping plane in X and Y screen coordinates. Shift right translates the plane along its normal.<\/p>\n<p><img decoding=\"async\" width=\"1072\" height=\"611\" class=\"wp-image-411\" src=\"https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-12-06-56-pm.png\" alt=\":::::Desktop:Screen shot 2011-03-14 at 12.06.56 PM.png\" srcset=\"https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-12-06-56-pm-200x114.png 200w, https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-12-06-56-pm-300x171.png 300w, https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-12-06-56-pm-400x228.png 400w, https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-12-06-56-pm-600x342.png 600w, https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-12-06-56-pm-768x438.png 768w, https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-12-06-56-pm-800x456.png 800w, https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-12-06-56-pm-1024x584.png 1024w, https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-12-06-56-pm.png 1072w\" sizes=\"(max-width: 1072px) 100vw, 1072px\" \/><\/p>\n<p>The last row of buttons is used to \u201ccap\u201d a particular clipping planes. Currently capping only works properly if the edge of the clipped geometrical object has a single connected component. It is possible to use multiple clipping planes on the same geometry with caps. The caps appear in the 3D Viewer as children of the clipped geometrical object, thus allowing control over the rendering of the caps.<\/p>\n<p>&nbsp;<\/p>\n<p><img decoding=\"async\" width=\"1074\" height=\"726\" class=\"wp-image-412\" src=\"https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-12-13-12-pm.png\" alt=\":::::Desktop:Screen shot 2011-03-14 at 12.13.12 PM.png\" srcset=\"https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-12-13-12-pm-200x135.png 200w, https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-12-13-12-pm-300x203.png 300w, https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-12-13-12-pm-400x270.png 400w, https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-12-13-12-pm-600x406.png 600w, https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-12-13-12-pm-768x519.png 768w, https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-12-13-12-pm-800x541.png 800w, https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-12-13-12-pm-1024x692.png 1024w, https:\/\/ccsb.scripps.edu\/mgltools\/wp-content\/uploads\/sites\/42\/2019\/07\/desktopscreen-shot-2011-03-14-at-12-13-12-pm.png 1074w\" sizes=\"(max-width: 1074px) 100vw, 1074px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Geometry Tools Group The Geometry Tools group provides a way  [&#8230;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-334","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/ccsb.scripps.edu\/mgltools\/wp-json\/wp\/v2\/pages\/334","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ccsb.scripps.edu\/mgltools\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ccsb.scripps.edu\/mgltools\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ccsb.scripps.edu\/mgltools\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ccsb.scripps.edu\/mgltools\/wp-json\/wp\/v2\/comments?post=334"}],"version-history":[{"count":3,"href":"https:\/\/ccsb.scripps.edu\/mgltools\/wp-json\/wp\/v2\/pages\/334\/revisions"}],"predecessor-version":[{"id":414,"href":"https:\/\/ccsb.scripps.edu\/mgltools\/wp-json\/wp\/v2\/pages\/334\/revisions\/414"}],"wp:attachment":[{"href":"https:\/\/ccsb.scripps.edu\/mgltools\/wp-json\/wp\/v2\/media?parent=334"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}