ReferenceGuide.DisplayStyle History
Hide minor edits - Show changes to markup
Hiding atoms and bonds
To display only surfaces or other features (e.g. protein ribbon) without atoms and bonds simply set the atom and bond scaling factor to zero.
To quickly change the molecular display style use the Style toolbar menu button. http://molekel.cscs.ch/wiki/uploaded/ReferenceGuide/ui_style_menu.png
The atom color file format is a simple list of %color
Colors must be applied on per-molecule basis and are not persistent i.e. the next time you load the same molecule you have to re-load the atom color file.
The file format is a list of red green blue values between 0 and 1 with the line number matching the atomic number.
The file format is a list of red green blue values between 0 and 1 with the line number matching the atomic number.
Atom colors can changed by reading the per-atom color values from a text file, a sample file is included in the data directory.
Changing the atom colors
Atom colors can be changed by forcing Molekel to read the per-atom color values from a text file, a sample file is included in the data directory. The atom color file format is a simple list of %color
The file format is a list of red green blue values between 0 and 1 with the line number matching the atomic number.
E.g.
0.00 0.00 1.00 0.00 1.00 0.00 0.70 0.30 0.00 0.40 1.00 0.33 ...
In this case the first line is the color of H
atoms the second line the color of He
atoms and so on.
Applying changes
(:title Display Style:)
Display Style
http://bioinformatics.org/molekel/uploads/ReferenceGuide/display_style_dlg.png
http://molekel.cscs.ch/wiki/uploaded/ReferenceGuide/display_style_dlg.png
Display Settings
Molekel supports per-molecule display settings to change a molecule or surface rendering style and color, and global display settings which affect rendering speed and quality.
Display Style
Molecule and surface display style can be changed on a per-molecule, per-surface basis, it is possible to change atom and bond display style, color and size. It is also possible to change the display style for residues and show/hide the dipole moment.
All the per-molecule display settings can be changed through the Molecule Display Settings dialog (Display->Molecule).
http://bioinformatics.org/molekel/uploads/ReferenceGuide/display_style_dlg.png
The overall molecule representation can be changed through the Molecule drop down listbox; available styles are:
- CPK (Spacefill)
- Ball and Stick
- Ball and Wire
- Stick
- Wireframe
Atom representation can be changed through the Atom drop-down listbox; some of the available representations are:
- Hemisphere - use a hemisphere facing the point of view
- gluSphere - use OpenGL gluSphere (use this when exporting to PostScript/PDF)
- SoSphere - use OpenInventor SoSphere: draws all the atoms with the same color selected with the Color button on the same dialog box.
- Billboard - use point sprites to render atoms, useful with big molecules; use this style with CPK molecule rendering style.
- Level of Detail - complexity of the rendered geometry changes depending on the distance from the point of view
Bond representation can be changed through the Bond drop-down listbox; some of the available representations are:
- Cylinder
- Cylinder, round cap - use this in conjunction with Stick molecule rendering syle to display the molecule in Liquorice mode.
- gluCylinder - use OpenGL gluCylinder (use this when exporting to PostScript/PDF)
- SoCylinder - use OpenInventor SoCylinder: draws all the bonds with the same color selected with the Color button on the same dialog box.
- Level of Detail - complexity of the rendered geometry changes depending on the distance from the point of view
Residue representation can be changed through the Residue drop-down listbox; available styles are:
- Wire
- Stick
- Line Ribbon
- Flat Ribbon
- Solid Ribbon
- Schematic
Atom and bond detail can be changed with the Detail sliders.
Size of atoms and bonds can be changed with the Scaling sliders. The minimum value for atom and bond radius is zero; the maximum value of atom radius is the length of the covalent radius.
The color of atom and bonds rendered with SoSphere and SoCylinder style can be selected by pressing the Color button. When a SoXXX style is selected all the atom and/or bonds are rendered with the same color.
Atom colors can changed by reading the per-atom color values from a text file, a sample file is included in the data directory.
When the Real-time update checkbox is checked changes are applied immediately and the 3d view refreshed each time a value is changed.
Display settings can be changed on a per-molecule basis, it is possible to change atom and bond display style, color and size. It is also possible to change the display style for residues and show/hide the dipole moment.
All the per-molecule display settings can be changed through the Molecule Display Settings dialog (Display->Molecule).
http://bioinformatics.org/molekel/uploads/ReferenceGuide/display_style_dlg.png
The overall molecule representation can be changed through the Molecule drop down listbox; available styles are:
- CPK (Spacefill)
- Ball and Stick
- Ball and Wire
- Stick
- Wireframe
Atom representation can be changed through the Atom drop-down listbox; some of the available representations are:
- Hemisphere - use a hemisphere facing the point of view
- gluSphere - use OpenGL gluSphere (use this when exporting to PostScript/PDF)
- SoSphere - use OpenInventor SoSphere: draws all the atoms with the same color selected with the Color button on the same dialog box.
- Billboard - use point sprites to render atoms, useful with big molecules; use this style with CPK molecule rendering style.
- Level of Detail - complexity of the rendered geometry changes depending on the distance from the point of view
Bond representation can be changed through the Bond drop-down listbox; some of the available representations are:
- Cylinder
- Cylinder, round cap - use this in conjunction with Stick molecule rendering syle to display the molecule in Liquorice mode.
- gluCylinder - use OpenGL gluCylinder (use this when exporting to PostScript/PDF)
- SoCylinder - use OpenInventor SoCylinder: draws all the bonds with the same color selected with the Color button on the same dialog box.
- Level of Detail - complexity of the rendered geometry changes depending on the distance from the point of view
Residue representation can be changed through the Residue drop-down listbox; available styles are:
- Wire
- Stick
- Line Ribbon
- Flat Ribbon
- Solid Ribbon
- Schematic
Atom and bond detail can be changed with the Detail sliders.
Size of atoms and bonds can be changed with the Scaling sliders. The minimum value for atom and bond radius is zero; the maximum value of atom radius is the length of the covalent radius.
The color of atom and bonds rendered with SoSphere and SoCylinder style can be selected by pressing the Color button. When a SoXXX style is selected all the atom and/or bonds are rendered with the same color.
Atom colors can changed by reading the per-atom color values from a text file, a sample file is included in the data directory.
When the Real-time update checkbox is checked changes are applied immediately and the 3d view refreshed each time a value is changed.
Molekel supports per-molecule display settings to change a molecule or surface rendering style and color, and global display settings which affect rendering speed and quality.
Display settings can be changed on a per-molecule basis, it is possible to chage atom and bond display style, color and size. It is also possible to change the display style for residues and show/hide the dipole moment.
Display settings can be changed on a per-molecule basis, it is possible to change atom and bond display style, color and size. It is also possible to change the display style for residues and show/hide the dipole moment.
When the ''Real
When the Real-time update checkbox is checked changes are applied immediately and the 3d view refreshed each time a value is changed.
When the ''Real
The overall molecule representation can be changed through the Molecule drop down listbox; available styles are:
- CPK (Spacefill)
- Ball and Stick
- Ball and Wire
- Stick
- Wireframe
Atom representation can be changed through the Atom drop-down listbox; some of the available representations are:
- Hemisphere - use a hemisphere facing the point of view
- gluSphere - use OpenGL gluSphere (use this when exporting to PostScript/PDF)
- SoSphere - use OpenInventor SoSphere: draws all the atoms with the same color selected with the Color button on the same dialog box.
- Billboard - use point sprites to render atoms, useful with big molecules; use this style with CPK molecule rendering style.
- Level of Detail - complexity of the rendered geometry changes depending on the distance from the point of view
Bond representation can be changed through the Bond drop-down listbox; some of the available representations are:
- Cylinder
- Cylinder, round cap - use this in conjunction with Stick molecule rendering syle to display the molecule in Liquorice mode.
- gluCylinder - use OpenGL gluCylinder (use this when exporting to PostScript/PDF)
- SoCylinder - use OpenInventor SoCylinder: draws all the bonds with the same color selected with the Color button on the same dialog box.
- Level of Detail - complexity of the rendered geometry changes depending on the distance from the point of view
Residue representation can be changed through the Residue drop-down listbox; available styles are:
- Wire
- Stick
- Line Ribbon
- Flat Ribbon
- Solid Ribbon
- Schematic
Atom and bond detail can be changed with the Detail sliders.
Size of atoms and bonds can be changed with the Scaling sliders. The minimum value for atom and bond radius is zero; the maximum value of atom radius is the length of the covalent radius.
The color of atom and bonds rendered with SoSphere and SoCylinder style can be selected by pressing the Color button. When a SoXXX style is selected all the atom and/or bonds are rendered with the same color.
Atom colors can changed by reading the per-atom color values from a text file, a sample file is included in the data directory.
http://bioinformatics.org/molekel/uploads/ReferenceGuide/display_style_dlg.png
Display Settings
Display settings can be changed on a per-molecule basis, it is possible to chage atom and bond display style, color and size. It is also possible to change the display style for residues and show/hide the dipole moment.
All the per-molecule display settings can be changed through the Molecule Display Settings dialog (Display->Molecule).