Package schrodinger :: Package graphics3d :: Module arrow :: Class ArrowCore
[hide private]
[frames] | no frames]

Class ArrowCore

      object --+    
               |    
common.Primitive --+
                   |
                  ArrowCore
Known Subclasses:

Base class for drawing a 3D arrow

See doc string for __init__ for details on instantiation

Arrows should be added to a graphics3d.common.Group, or ArrowGroup, and drawing done via the Group. See the graphics3d.common.Group documentation.

Instance Methods [hide private]
 
__init__(self, xhead=None, yhead=None, zhead=None, xtail=None, ytail=None, ztail=None, color=None, r=0.0, g=1.0, b=0.0, radius=0.15, transparency=None, opacity=1.0, resolution=16)
Constructor requires:
 
_calculateBoundingBox(self, mat)

Inherited from common.Primitive: __del__, groupHidden, groupShown, hide, isGroupShown, isShown, setEntryID, setGlowColor, setIsGlowing, setRightClickOnGObject, show

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  _blend = None
hash(x)
  _smooth_point = None
hash(x)
  _cull = None
hash(x)
  _lighting = None
hash(x)
  _lighting_model = None
hash(x)
  _shading_model = None
hash(x)
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, xhead=None, yhead=None, zhead=None, xtail=None, ytail=None, ztail=None, color=None, r=0.0, g=1.0, b=0.0, radius=0.15, transparency=None, opacity=1.0, resolution=16)
(Constructor)

 

Constructor requires:

xhead, yhead, zhead: corrdinate of the head position
xtail, ytail, ztail: coordinate of the tail position

color:    One of:
            Color object (Color class)
            Color name (string)
            Tuple of (R, G, B) (each a float in range 0.0-1.0)

Optional arguments:

radius:   radius of the arrow in Angstroms
          Default: .15
opacity:  0.0 (invisible) through 1.0 (opaque)
               Default: 0.0
resolution:    Ranges from ?? to ??.  Default: ??
          

Overrides: object.__init__