Class defining a single Phase marker.
|
__init__(self,
sites,
feature_index,
color,
entry_id,
feature_name,
use_highlight,
allow_picking=True)
Feature marker initializer. |
|
|
|
getHypoID(self)
Return the hypothesis name/ID for the hypothesis from which this
feature is from. |
|
|
|
|
dict or None
|
_getFeatureProperties(self)
Returns feature properties such as feature rules, tolerance etc from
the hypothesis. |
|
|
tuple
|
_createFeature(self,
sites,
color,
opacity,
entry_id)
Create markers for the given pharmacophore sites. |
|
|
tuple
|
|
|
|
|
drawLabels(self)
Draw the labels for the sites of this features in the Workspace. |
|
|
|
setIsGlowing(self,
is_glowing)
Enables or disables glow effect for the object. |
|
|
|
setSelected(self,
select)
Shows glow effect when this feature is selected. |
|
|
|
_setGlowing(self,
is_glowing,
glow_color)
Enables or disables glow effect for the object. |
|
|
|
|
|
|
|
|
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|
int
|
ARROW_RADII = 0.065
radius of the arrow that is drawn between pharmacophore site and
projected points.
|
int
|
SPHERE_RADII = 0.4
radius of the pharmacophore site
|
|
TORUS_RADII = 0.45
|
|
TORUS_TUBE_RADII = 0.12
|
|
OPACITY_DEFAULT = 0.4
|
|
OPACITY_SELECTED = 1.0
|
|
GLOW_COLOR = ( 0.95, 0.5, 0.25)
|
|
SELECTED_COLOR = ( 0.25, 0.5, 0.95)
|
|
FEATURE_TYPE = ' Feature Type '
|
|
USE_IN_SCREEN = ' Use in Screening '
|
|
ALLOWED_TO_MATCH = ' Allowed to match '
|
|
FORBIDDEN_TO_MATCH = ' Forbidden to match '
|
|
TOLERANCE = ' Tolerance '
|
|
feature_counter = 1
|