#include <objmode.h>
Public Member Functions |
|
CoreExport | TransformModBox (BaseObject *o, IObjParam *i) |
CoreExport | ~TransformModBox () |
virtual CoreExport void | PreTransform () |
virtual CoreExport void | PreTransformHolding () |
virtual CoreExport void | PostTransformHolding () |
virtual CoreExport void | PostTransform () |
virtual CoreExport void | CancelTransform () |
virtual Transformer & | GetTransformer ()=0 |
virtual void | DoTransform (ViewExp *vpt)=0 |
virtual HCURSOR | GetTransformCursor ()=0 |
virtual int | UndoStringID ()=0 |
CoreExport int | proc (HWND hwnd, int msg, int point, int flags, IPoint2 m) |
Called to handle the mouse event processing
whenever a mouse event happens. |
|
Protected Attributes |
|
BaseObject * | obj |
IObjParam * | ip |
Matrix3 | ptm |
CoreExport TransformModBox | ( | BaseObject * | o, |
IObjParam * | i | ||
) |
CoreExport ~TransformModBox | ( | ) |
virtual CoreExport void PreTransform | ( | ) | [virtual] |
virtual CoreExport void PreTransformHolding | ( | ) | [virtual] |
virtual CoreExport void PostTransformHolding | ( | ) | [virtual] |
virtual CoreExport void PostTransform | ( | ) | [virtual] |
virtual CoreExport void CancelTransform | ( | ) | [virtual] |
virtual Transformer& GetTransformer | ( | ) | [pure virtual] |
Implemented in MoveModBox, RotateModBox, ScaleModBox, and SelectModBox.
virtual void DoTransform | ( | ViewExp * | vpt | ) | [pure virtual] |
Implemented in MoveModBox, RotateModBox, ScaleModBox, and SelectModBox.
virtual HCURSOR GetTransformCursor | ( | ) | [pure virtual] |
Implemented in MoveModBox, RotateModBox, ScaleModBox, and SelectModBox.
virtual int UndoStringID | ( | ) | [pure virtual] |
Implemented in MoveModBox, RotateModBox, ScaleModBox, and SelectModBox.
CoreExport int proc | ( | HWND | hwnd, |
int | msg, | ||
int | point, | ||
int | flags, | ||
IPoint2 | m | ||
) | [virtual] |
Called to handle the mouse event processing whenever a mouse event happens.
hwnd | The window handle of the window in which the user has clicked. It is one of the viewports to which an interface can be obtained from the system. To get such interface, the window handle should be passes to the functions Interface::GetViewport() as the input. Developers should call Interface::ReleaseViewport() once they are done with the viewport interface. |
msg | This message describes the type of event that occurred. See Mouse Call Back Flags. |
point | The point number. this is 0 for the first click, 1 for the second, etc. |
flags | These flags describe the state of the mouse buttons. See Mouse Call Back Flags. |
m | The 2D screen point on which that the user has clicked. Methods in the viewport interface allow this point to be converted into a world space ray or a 3D view space point. A world space ray can be intersected with the active construction plane which results in a point on the active construction plane. See Class ViewExp. |
Reimplemented from MouseCallBack.
BaseObject* obj
[protected] |