Classes | Defines

cmdmode.h File Reference

This reference page is linked to from the following overview topics: Foreground / Background Planes.


#include "maxheap.h"
#include <WTypes.h>

Go to the source code of this file.

Classes

class   CommandMode
  This base class allows the developer to create a command mode that handles processing user interaction using the mouse in the viewports. More...
class   XFormModes
  This class contains a set of six command mode pointers that make up the XForm modes. More...
class   PickCommandMode
  Derive your command mode class from this one if you wish to implement your own pick command mode and want to hook it into the select by name mechanism. More...

Defines

#define  CHANGE_FG_SELECTED   ((ChangeForegroundCallback *)1)
  Selected nodes are flagged.
#define  CHANGE_FG_ANIMATED   ((ChangeForegroundCallback *)2)
  Nodes that are animated are flagged.
#define  TRANSFORM_CMD_SUPER   1
#define  VIEWPORT_COMMAND   1
#define  MOVE_COMMAND   2
#define  ROTATE_COMMAND   3
#define  SCALE_COMMAND   4
#define  USCALE_COMMAND   5
#define  SQUASH_COMMAND   6
#define  SELECT_COMMAND   7
#define  HIERARCHY_COMMAND   8
#define  CREATE_COMMAND   9
#define  MODIFY_COMMAND   10
#define  MOTION_COMMAND   11
#define  ANIMATION_COMMAND   12
#define  CAMERA_COMMAND   13
#define  NULL_COMMAND   14
#define  DISPLAY_COMMAND   15
#define  SPOTLIGHT_COMMAND   16
#define  PICK_COMMAND   17
#define  MANIPULATE_COMMAND   18
#define  PICK_EX_COMMAND   19
  Extended Pick Command Mode.
#define  CID_USER   0x0000ffff
#define  CID_PLAYANIMATION   300
  Animation Command.
#define  CID_SIMPLECREATE   400
  Create Command.
#define  CID_MODIFYPARAM   500
  Modify Command.
#define  CID_EDITSOFTSELECTION   525
  Command Mode Id for the Edit Soft Selection Command Mode.
#define  CID_NULL   600
  Motion Command.
#define  CID_STDPICK   710
#define  CID_PICKAXISOBJECT   700
#define  CID_GRP_ATTACH   800
#define  CID_ASSEMBLY_ATTACH   810
#define  CID_MANIPULATE   900
  Manipulate Command Mode.
#define  CID_FREE_AXIS_ROTATE   -INT_MAX
#define  CID_SCREEN_SPACE_ROTATE   -INT_MAX+1
Max Transform Modes
#define  CID_OBJMOVE   1
  Max Transform Move Modes.
#define  CID_OBJROTATE   2
  Max Transform Rotate Modes.
#define  CID_OBJSCALE   3
  Max Transform Scale Modes.
#define  CID_OBJUSCALE   4
  Max Transform Uniform Scale Modes.
#define  CID_OBJSQUASH   5
  Max Transform Squash Modes.
#define  CID_OBJSELECT   6
  Max Transform Select Modes.
subobject Command IDs

The subobject command IDs are used internally and are not valid arguments to Interface::SetStdCommandMode

#define  CID_SUBOBJMOVE   7
#define  CID_SUBOBJROTATE   8
#define  CID_SUBOBJSCALE   9
#define  CID_SUBOBJUSCALE   10
#define  CID_SUBOBJSQUASH   11
#define  CID_SUBOBJSELECT   12
Display Branch Command Modes

These are also used internally and are not valid to SetStdCommandMode.

#define  CID_UNFREEZE   13
#define  CID_UNHIDE   14
Hierarchy Commands
#define  CID_LINK   100
#define  CID_BINDWSM   110
Viewport Commands
#define  CID_ZOOMVIEW   200
#define  CID_ZOOMREGION   201
#define  CID_PANVIEW   202
#define  CID_ROTATEVIEW   203
#define  CID_ZOOMALL   204
#define  CID_RNDREGION   205
Camera Commands
#define  CID_CAMFOV   210
#define  CID_CAMDOLLY   211
#define  CID_CAMPERSP   212
#define  CID_CAMTRUCK   213
#define  CID_CAMROTATE   214
#define  CID_CAMROLL   215

Define Documentation

#define CHANGE_FG_SELECTED   ((ChangeForegroundCallback *)1)

Selected nodes are flagged.

Definition at line 170 of file cmdmode.h.

#define CHANGE_FG_ANIMATED   ((ChangeForegroundCallback *)2)

Nodes that are animated are flagged.

Definition at line 171 of file cmdmode.h.

#define CID_SIMPLECREATE   400

Create Command.

Definition at line 273 of file cmdmode.h.

#define CID_MODIFYPARAM   500

Modify Command.

Definition at line 275 of file cmdmode.h.

#define CID_EDITSOFTSELECTION   525

Command Mode Id for the Edit Soft Selection Command Mode.

See also:
EditSSMode

Definition at line 279 of file cmdmode.h.

#define CID_NULL   600

Motion Command.

Definition at line 281 of file cmdmode.h.

#define CID_MANIPULATE   900

Manipulate Command Mode.

Definition at line 295 of file cmdmode.h.