Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
|
Viewer writing in PyMOL file format. More...
#include <PyMOL_viewer.hpp>
Parameters | |
boost::tuple< double, double, double > | get_color_rgb (const std::string &color) const |
Returns the index associated to a given color. More... | |
bool | is_transparent (void) const |
Checks that the next object will be viewn using transparent material. More... | |
void | set_transparent (bool is_transparent) |
Sets the transparent tag. More... | |
bool | is_visible (void) const |
Checks that the next object will be visible. More... | |
void | set_visible (bool is_visible) |
Sets the visible tag. More... | |
bool | is_cloning (void) const |
Checks that the next object will copy the last molecule if any. More... | |
void | set_cloning (bool is_cloning) |
Sets the cloning tag. More... | |
unsigned | get_vertex_resolution (void) const |
Returns the number of facets around a sphere representing a vertex. More... | |
void | set_vertex_resolution (unsigned resolution) |
Sets the number of facets around a sphere representing a vertex. More... | |
unsigned | get_circle_resolution (void) const |
Returns the number of segments around a circular arc. More... | |
void | set_circle_resolution (unsigned resolution) |
Sets the number of segments around a circular arc. More... | |
double | get_vertex_radius (void) const |
Returns the radius of a sphere representing a vertex. More... | |
void | set_vertex_radius (double radius) |
Sets the radius of a sphere representing a vertex. More... | |
double | get_edge_radius (void) const |
Returns the radius of a cylinder representing an edge. More... | |
void | set_edge_radius (double radius) |
Sets the radius of a cylinder representing an edge. More... | |
double | get_infinite_factor (void) const |
Returns the multiplicative factor used for representing infinite objects (e.g a line). More... | |
void | set_infinite_factor (double factor) |
Sets the multiplicative factor used for representing infinite objects (e.g a line). More... | |
Viewings | |
void | add_new_representation (void) |
Creates a new representation of the current molecule in PyMOL. More... | |
void | delete_first_representation (void) |
Deletes the first representation of the current molecule in PyMOL. More... | |
void | set_representation (const std::string &rep) |
Sets the mode of the current representation of the current molecule in PyMOL. More... | |
void | set_color (const std::string &color) |
Sets the color of the current representation of the current molecule in PyMOL. More... | |
void | set_color (std::size_t color_id) |
Sets the color of the current representation of the current molecule in PyMOL. More... | |
const boost::tuple< double, double, double > & | get_default_color (void) const |
Gets the color of the current representation of the current molecule in PyMOL. More... | |
void | set_graphics_color (const std::string &color) |
Sets the color of geometric object for the current molecule in PyMOL. More... | |
void | set_graphics_transparent (bool is_transparent) |
Sets the type of material to use (opaque or transparent) for the current molecule in PyMOL. More... | |
void | set_top_molecule (const std::string &mol_name) |
Sets the molecule with the input name as the current molecule in PyMOL. More... | |
void | finalize_molecule (void) |
Finalizes the molecule: here, it prints the molecule. More... | |
Viewer writing in PyMOL file format.
Constructed with an output stream, it uses the output stream operator for writing in a file the corresponding objects in PyMOL format. For each object passed to the operator, the PyMOL_view method or struct should be defined.
|
inlineinherited |
Creates a new representation of the current molecule in PyMOL.
|
inlineinherited |
Deletes the first representation of the current molecule in PyMOL.
|
inlineinherited |
Finalizes the molecule: here, it prints the molecule.
|
inlineinherited |
Returns the number of segments around a circular arc.
|
inlineinherited |
Returns the index associated to a given color.
If the string does not represent a known color, it returns 0 (blue).
|
inlineinherited |
Gets the color of the current representation of the current molecule in PyMOL.
|
inlineinherited |
Returns the radius of a cylinder representing an edge.
|
inlineinherited |
Returns the multiplicative factor used for representing infinite objects (e.g a line).
|
inlineinherited |
Returns the radius of a sphere representing a vertex.
|
inlineinherited |
Returns the number of facets around a sphere representing a vertex.
|
inlineinherited |
Checks that the next object will copy the last molecule if any.
|
inlineinherited |
Checks that the next object will be viewn using transparent material.
|
inlineinherited |
Checks that the next object will be visible.
|
inlineinherited |
Sets the number of segments around a circular arc.
|
inlineinherited |
Sets the cloning tag.
|
inlineinherited |
Sets the color of the current representation of the current molecule in PyMOL.
|
inlineinherited |
Sets the color of the current representation of the current molecule in PyMOL.
|
inlineinherited |
Sets the radius of a cylinder representing an edge.
|
inlineinherited |
Sets the color of geometric object for the current molecule in PyMOL.
|
inlineinherited |
Sets the type of material to use (opaque or transparent) for the current molecule in PyMOL.
|
inlineinherited |
Sets the multiplicative factor used for representing infinite objects (e.g a line).
|
inlineinherited |
Sets the mode of the current representation of the current molecule in PyMOL.
|
inlineinherited |
Sets the molecule with the input name as the current molecule in PyMOL.
|
inlineinherited |
Sets the transparent tag.
|
inlineinherited |
Sets the radius of a sphere representing a vertex.
|
inlineinherited |
Sets the number of facets around a sphere representing a vertex.
|
inlineinherited |
Sets the visible tag.