3ds Max C++ API Reference
objmode.h File Reference
#include "maxheap.h"
#include "geom/matrix3.h"
#include "geom/ipoint2.h"
#include "geom/quat.h"
#include "sceneapi.h"
#include "ref.h"
#include "mouseman.h"
#include "maxapi.h"

Classes

class  Transformer
 
class  MoveTransformer
 
class  RotateTransformer
 
class  ScaleTransformer
 
class  ChangeFGObject
 
class  SelectionProcessor
 
class  TransformModBox
 
class  GenModSelectionProcessor
 
class  SubModSelectionProcessor
 
class  MoveModBox
 
class  RotateModBox
 
class  ScaleModBox
 
class  SelectModBox
 
class  MoveModBoxCMode
 
class  RotateModBoxCMode
 
class  UScaleModBoxCMode
 
class  NUScaleModBoxCMode
 
class  SquashModBoxCMode
 
class  SelectModBoxCMode
 
class  TransformCtrlApparatus
 
class  GenControlSelectionProcessor
 
class  SubControlSelectionProcessor
 
class  MoveCtrlApparatus
 
class  RotateCtrlApparatus
 
class  ScaleCtrlApparatus
 
class  SelectCtrlApparatus
 
class  MoveCtrlApparatusCMode
 
class  RotateCtrlApparatusCMode
 
class  UScaleCtrlApparatusCMode
 
class  NUScaleCtrlApparatusCMode
 
class  SquashCtrlApparatusCMode
 
class  SelectCtrlApparatusCMode
 

Macros

#define MOVE_INTERSECTION   1
 
#define MOVE_PROJECTION   2
 

Functions

CoreExport float GetPerspMouseSpeed ()
 
CoreExport void SetPerspMouseSpeed (float speed)
 
CoreExport void SetMoveModeType (int moveType)
 
CoreExport int GetMoveModeType ()
 
CoreExport void SetRotationIncrement (float inc)
 
CoreExport float GetRotationIncrement ()
 
CoreExport int GetPaintSelBrushSize ()
 
CoreExport void SetPaintSelBrushSize (int size)
 

Macro Definition Documentation

◆ MOVE_INTERSECTION

#define MOVE_INTERSECTION   1

◆ MOVE_PROJECTION

#define MOVE_PROJECTION   2

Function Documentation

◆ GetPerspMouseSpeed()

CoreExport float GetPerspMouseSpeed ( )
Remarks
This global function is not part of class MouseCallBack but is available for use.

Returns the mouse speed value used in perspective viewports. This value corresponds to the value that the user may set using the 3ds Max command in the File / Preferences . . . Move / Rotate Transform area.

◆ SetPerspMouseSpeed()

CoreExport void SetPerspMouseSpeed ( float  speed)
Remarks
This global function is not part of class MouseCallBack but is available for use.

Sets the mouse speed value used in perspective viewports. This value corresponds to the value that the user may set using the 3ds Max command in the File / Preferences . . . Move / Rotate Transform area.
Parameters:
float speed

The value to set.

◆ SetMoveModeType()

CoreExport void SetMoveModeType ( int  moveType)
Remarks
This global function is not part of class MouseCallBack but is available for use.

Sets the mouse move mode. This value corresponds to the value that the user may set using the 3ds Max command in the File / Preferences . . . Move / Rotate Transform area.
Parameters:
int moveType

One of the following values:

MOVE_INTERSECTION

MOVE_PROJECTION

◆ GetMoveModeType()

CoreExport int GetMoveModeType ( )
Remarks
This global function is not part of class MouseCallBack but is available for use.

Returns the mouse move mode. This value corresponds to the value that the user may set using the 3ds Max command in the File / Preferences . . . Move / Rotate Transform area.
Returns
One of the following values:

MOVE_INTERSECTION

MOVE_PROJECTION

◆ SetRotationIncrement()

CoreExport void SetRotationIncrement ( float  inc)

◆ GetRotationIncrement()

CoreExport float GetRotationIncrement ( )

◆ GetPaintSelBrushSize()

CoreExport int GetPaintSelBrushSize ( )

◆ SetPaintSelBrushSize()

CoreExport void SetPaintSelBrushSize ( int  size)