mglib

Personal IDL library for M. Galloy

single page | use frames     summary     class     fields     routine details     file attributes

vis/objectgraphics/

mggrchernoffface__define.pro


Class description for mggrchernoffface

Inheritance

All ancestor classes: IDLGRMODEL IDLGRCONTAINER IDL_CONTAINER IDLGRCOMPONENT IDLITCOMPONENT

Properties

Properties in mggrchernoffface

_ref_extra init
eye_eccentricity init
eye_size init
eye_spacing init
eyebrow_slant init
head_eccentricity init
mouth_shape init
mouth_size init
nose_length init
pupil_size init

Routines

Routines from mggrchernoffface__define.pro

mggrchernoffface::cleanup

Subclass of IDLgrModel intended to be passed to IDLgrSymbol to be used as a plot symbol.

result = mggrchernoffface::init( [head_eccentricity=float] [, nose_length=float] [, mouth_size=float] [, mouth_shape=float] [, eye_size=float] [, eye_eccentricity=float] [, eye_spacing=float] [, pupil_size=float] [, eyebrow_slant=float] [, _ref_extra=keywords])

Initialize instance variables.

mggrchernoffface__define

Define instance variables.

Routine details

top mggrchernoffface::cleanup

mggrchernoffface::cleanup

Subclass of IDLgrModel intended to be passed to IDLgrSymbol to be used as a plot symbol. + Free resources.

top mggrchernoffface::init

result = mggrchernoffface::init( [head_eccentricity=float] [, nose_length=float] [, mouth_size=float] [, mouth_shape=float] [, eye_size=float] [, eye_eccentricity=float] [, eye_spacing=float] [, pupil_size=float] [, eyebrow_slant=float] [, _ref_extra=keywords])

Initialize instance variables.

Return value

1 for success, 0 otherwise

Keywords

head_eccentricity in optional type=float default=0.5

length of nose, range: 0 (small) - 1 (large)

nose_length in optional type=float default=0.5

size of nose, range: 0 (small) - 1 (large)

mouth_size in optional type=float default=0.5

size of mouth, range: 0 (small) - 1 (large)

mouth_shape in optional type=float default=0.5

shape of mouth, not implemented yet

eye_size in optional type=float default=0.5

size of eyes, range: 0 (small) - 1 (large)

eye_eccentricity in optional type=float default=0.5

shape of eyes, range: 0 (round) - 1 (oval)

eye_spacing in optional type=float default=0.5

space between eyes, range: 0 (close) - 1 (far apart)

pupil_size in optional type=float default=0.5

size of pupil relative to eye size, range: 0 (no pupils) - 1 (fills eye)

eyebrow_slant in optional type=float default=0.5

slant of eyebrows, range: 0 (raised on outside) - 1 (raised on inside)

_ref_extra in optional type=keywords

keywords to IDLgrModel::init or IDLgrPolygon::init

top mggrchernoffface__define

mggrchernoffface__define

Define instance variables.

File attributes

Modification date: Wed May 14 15:07:15 2014
Lines: 92
Docformat: rst rst
Personal library of Michael Galloy
Contact me if you have enhancement requests or bug fixes.