3DSelfie  Hansjoerg Hofer (1026632), Sebastian Metzler (0927550)
Controller Class Reference

Control script. More...

Inheritance diagram for Controller:

Public Member Functions

void findFaceContours (Vector2 leftEyeCenter, Vector2 rightEyeCenter, Vector2 mouthCenter)
 Runs the left/rigt eye and mouth deformation. More...
 
void findEyebrows (Vector2 leftEyeBrowCenter, Vector2 rightEyeBrowCenter)
 Runs the eyebrow deformation. More...
 
void resetSnake ()
 Reinitializes the snake and control points script. More...
 
void RunContourDeformation ()
 runs the deformation for the face contour More...
 
void RunLEyeDeformation (Vector2 center)
 runs the deformation for the left eye More...
 
void RunREyeDeformation (Vector2 center)
 runs the deformation for the right eye More...
 
void RunLEyeBrowDeformation (Vector2 center)
 runs the deformation for the left eyebrow More...
 
void RunREyeBrowDeformation (Vector2 center)
 runs the deformation for the right eyebrow More...
 
void RunMouthDeformation (Vector2 center)
 runs the deformation for the mouth More...
 
void ApplyDeformation ()
 Applies the deformation to the model. More...
 

Detailed Description

Control script.

controls the snake and the mesh scripts

Definition at line 28 of file Controller.cs.

Member Function Documentation

void Controller.ApplyDeformation ( )

Applies the deformation to the model.

See also
ControlPoints.ApplyDeformation

Definition at line 307 of file Controller.cs.

void Controller.findEyebrows ( Vector2  leftEyeBrowCenter,
Vector2  rightEyeBrowCenter 
)

Runs the eyebrow deformation.

Parameters
[in]leftEyeBrowCenterthe center of the left eyebrow feature
[in]rightEyeBrowCenterthe center of the right eyebrow feature

Definition at line 73 of file Controller.cs.

void Controller.findFaceContours ( Vector2  leftEyeCenter,
Vector2  rightEyeCenter,
Vector2  mouthCenter 
)

Runs the left/rigt eye and mouth deformation.

Parameters
[in]leftEyeCenterthe center of the left eye feature
[in]rightEyeCenterthe center of the right eye feature
[in]mouthCenterthe center of the mouth

Definition at line 61 of file Controller.cs.

void Controller.resetSnake ( )

Reinitializes the snake and control points script.

the snake updates its image

Definition at line 84 of file Controller.cs.

void Controller.RunContourDeformation ( )

runs the deformation for the face contour

Sets the contour and executes snake and the deformation. An expanding snake is used

Definition at line 97 of file Controller.cs.

void Controller.RunLEyeBrowDeformation ( Vector2  center)

runs the deformation for the left eyebrow

Sets the contour and executes snake and the deformation. The contour is scaled and a contracting snake is used.

Definition at line 152 of file Controller.cs.

void Controller.RunLEyeDeformation ( Vector2  center)

runs the deformation for the left eye

Sets the contour and executes snake and the deformation. The contour is scaled and a contracting snake is used.

Definition at line 118 of file Controller.cs.

void Controller.RunMouthDeformation ( Vector2  center)

runs the deformation for the mouth

Sets the contour and executes snake and the deformation. The contour is scaled and a expanding snake is used.

Definition at line 185 of file Controller.cs.

void Controller.RunREyeBrowDeformation ( Vector2  center)

runs the deformation for the right eyebrow

Sets the contour and executes snake and the deformation. The contour is scaled and a contracting snake is used.

Definition at line 169 of file Controller.cs.

void Controller.RunREyeDeformation ( Vector2  center)

runs the deformation for the right eye

Sets the contour and executes snake and the deformation. The contour is scaled and a contracting snake is used.

Definition at line 134 of file Controller.cs.


The documentation for this class was generated from the following file: