objectgraphics/
mggrchernoffface__define.pro
Subclass of IDLgrModel intended to be passed to IDLgrSymbol to be used as a plot symbol.
Class description for mggrchernoffface
Inheritance
- IDLGRMODEL
All ancestor classes: IDLGRMODEL IDLGRCONTAINER IDL_CONTAINER IDLGRCOMPONENT IDLITCOMPONENT
Properties
- pupil_size init
- mouth_size init
- _ref_extra init
- eye_size init
- nose_length init
- head_eccentricity init
- mouth_shape init
- eye_eccentricity init
- eye_spacing init
- eyebrow_slant init
Fields
- eyeSize 0.00000
size of eyes, range: 0 (small) - 1 (large)
- mouthSize 0.00000
size of mouth, range: 0 (small) - 1 (large)
- pupilSize 0.00000
size of pupil relative to eye size, range: 0 (no pupils) - 1 (fills eye)
- mouthShape 0.00000
shape of mouth, not implemented yet
- headEccentricity 0.00000
shape of head, range: 0 (round) - 1 (oval)
- noseLength 0.00000
length of nose, range: 0 (small) - 1 (large)
- eyebrowSlant 0.00000
slant of eyebrows, range: 0 (raised on outside) - 1 (raised on inside)
- eyeSpacing 0.00000
space between eyes, range: 0 (close) - 1 (far apart)
- eyeEccentricity 0.00000
shape of eyes, range: 0 (round) - 1 (oval)
Fields in IDLGRMODEL
- IDLGRMODEL_BOTTOM 0LL
- IDLGRMODEL_TOP 0LL
- IDLGRMODELVERSION 0S
- ACTIVE_POSITION 0L
- DEPTH_TEST_DISABLE 0L
- TRANSFORM dblarr(16)
- DEPTH_TEST_FUNCTION 0L
- CLIP_PLANES ptr_new()
- MODELFLAGS 0L
- DEPTH_WRITE_DISABLE 0L
Fields in IDLGRCONTAINER
- IDLGRCONTAINERVERSION 0S
- ISDYING 0S
- IDLGRCONTAINER_TOP 0LL
- IDLGRCONTAINER_BOTTOM 0LL
Fields in IDL_CONTAINER
- IDLCONTAINERVERSION 0S
- IDL_CONTAINER_TOP 0LL
- NLIST 0L
- PTAIL ptr_new()
- PHEAD ptr_new()
- IDL_CONTAINER_BOTTOM 0LL
Fields in IDLGRCOMPONENT
- IDLGRCOMPONENTVERSION 0S
- HIDE 0L
- PARENT obj_new()
- IDLGRCOMPONENT_BOTTOM 0LL
- IDLGRCOMPONENT_TOP 0LL
Fields in IDLITCOMPONENT
- TOOL obj_new()
- UVALUE ptr_new()
- HELP ''
- NAME ''
- _PARENT obj_new()
- IDLITCOMPONENT_BOTTOM 0LL
- _FLAGS 0L
- ICON ''
- DESCRIPTION ''
- PROPERTYDESCRIPTORS obj_new()
- IDLITCOMPONENT_TOP 0LL
- IDENTIFIER ''
- IDLITCOMPONENTVERSION 0S
Routines
mggrchernoffface::cleanupFree resources.
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__defineDefine instance variables.
Routine details
topmggrchernoffface::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
File attributes
| Modification date: | Tue Nov 20 11:24:27 2007 |
| Lines: | 163 |
![[attach.png]](../idldoc-resources/attach.png)