#include <ivf/IvfWorkspace.h>
Inheritance diagram for CIvfWorkspace:
Public Member Functions | |
void | disableCursor () |
void | enableCursor () |
double | getSize () |
bool | getUseCursor () |
void | setUseCursor (bool flag) |
CIvfWorkspace () | |
virtual | ~CIvfWorkspace () |
IvfClassInfo ("CIvfWorkspace", CIvfSceneBase) | |
void | addPlane (CIvfConstructionPlane *plane) |
void | clearPlanes () |
void | updateCursor (int x, int y) |
void | updateSizes () |
void | setCurrentPlane (int idx) |
void | nextPlane () |
void | prevPlane () |
void | lockCursor () |
void | unlockCursor () |
bool | isCursorLocked () |
virtual void | setView (CIvfView *view) |
void | setWorkspaceSize (double size) |
void | setRelativeAxisSize (double size) |
void | setRelativeCursorSize (double size) |
CIvfConstructionPlane * | getCurrentPlane () |
CIvfVec3d & | getCursorPosition () |
bool | getUsePlanes () |
void | setUsePlanes (bool flag) |
double | getWorkspaceSize () |
void | setSize (double size) |
Protected Member Functions | |
virtual void | createGeometry () |
The CIvfWorkspace class implements a complete scene class with construction plane management. Use updateCursor() and updateSizes() to update cursor and gui element sizes in response to mouse moves and camera changes.
Definition at line 43 of file IvfWorkspace.h.
|
CIvfWorkspace constructor |
|
CIvfWorkspace destructor |
|
Add a construction plane |
|
Clear all construction planes |
|
Forces an object recalculation. Reimplemented from CIvfSceneBase. |
|
Return current construction plane |
|
Return global cursor position |
|
Query cursor lock state |
|
Lock cursor in XZ plane |
|
Switch to next construction plane |
|
Switch to previous construction plane |
|
Set current construction plane |
|
Set relative axis size |
|
Set relative cursor size |
|
No descriptions |
|
Set view used (required) Reimplemented from CIvfSceneBase. |
|
Set size of workspace |
|
Lock cursor in Y direction |
|
Update cursor on current construction plane This method should be called whenever the mouse is moved in the window. The (x, y) mouse position is then mapped to the current constructionplane. |
|
Update relative cursor and axis sizes This method should be called when the camera view is moved closer or further away from the construction plane. |