Moka controlers
|
Go to the source code of this file.
Functions | |
void | setClickAimedPosition (TViewId AViewId, int x, int y) |
virtual void | onEnterMode () |
virtual void | onExitMode () |
virtual void | onOperationModeStart () |
virtual void | onOperationModeMove () |
virtual void | onOperationModeStop () |
void | exitMode () |
TMode | getMode () const |
void | setMode (TMode AMode) |
void | toggleMode (TMode AMode) |
void | operationModeStart (TViewId AViewId, int Ax, int Ay) |
void | operationModeMove (int Ax, int Ay) |
void | operationModeStop (int Ax, int Ay) |
void | operationModeIndependentStart (TModeOperation AOperation, TViewId AViewId, int Ax, int Ay) |
Variables | |
TMode | FCurrentMode |
TModeOperation | FCurrentModeOperation |
int | FFirstX |
int | FLastX |
int | FDeltaX |
int | FFirstY |
int | FLastY |
int | FDeltaY |
int | FCurrentViewId |
GLfloat | FFirst3D [3] |
Coordonnées du point 3D correspondant à FFirst{X,Y}. | |
CParameterEyePosition | FMemoEyePosition |
CParameterAimedPosition | FMemoAimedPosition |
|
protected |
TMode getMode | ( | ) | const |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
void operationModeIndependentStart | ( | TModeOperation | AOperation, |
TViewId | AViewId, | ||
int | Ax, | ||
int | Ay | ||
) |
Méthode pour gerer les opérations qui ne dépendent pas d'un mode. Pour le moment uniquement translation, rotation et homothetie de la scene.
void operationModeMove | ( | int | Ax, |
int | Ay | ||
) |
void operationModeStart | ( | TViewId | AViewId, |
int | Ax, | ||
int | Ay | ||
) |
void operationModeStop | ( | int | Ax, |
int | Ay | ||
) |
void setClickAimedPosition | ( | TViewId | AViewId, |
int | x, | ||
int | y | ||
) |
void setMode | ( | TMode | AMode | ) |
void toggleMode | ( | TMode | AMode | ) |
TMode FCurrentMode |
Definition at line 68 of file controler-input-events.hh.
TModeOperation FCurrentModeOperation |
Definition at line 69 of file controler-input-events.hh.
int FCurrentViewId |
Definition at line 73 of file controler-input-events.hh.
int FDeltaX |
Definition at line 71 of file controler-input-events.hh.
int FDeltaY |
Definition at line 72 of file controler-input-events.hh.
GLfloat FFirst3D[3] |
Coordonnées du point 3D correspondant à FFirst{X,Y}.
Definition at line 76 of file controler-input-events.hh.
int FFirstX |
Definition at line 71 of file controler-input-events.hh.
int FFirstY |
Definition at line 72 of file controler-input-events.hh.
int FLastX |
Definition at line 71 of file controler-input-events.hh.
int FLastY |
Definition at line 72 of file controler-input-events.hh.
CParameterAimedPosition FMemoAimedPosition |
Definition at line 79 of file controler-input-events.hh.
CParameterEyePosition FMemoEyePosition |
Definition at line 78 of file controler-input-events.hh.