3ds Max C++ API Reference
GraphicsTypes.h File Reference
#include <WTypes.h>

Typedefs

typedef BOOL(* HitFunc) (int, int, void *)
 
typedef void(* GFX_ESCAPE_FN) (void *)
 
typedef ID3D9GraphicsWindow ID3DGraphicsWindow
 

Enumerations

enum  CameraType { PERSP_CAM , ORTHO_CAM }
 Camera Types. More...
 
enum  ColorType {
  LINE_COLOR , FILL_COLOR , TEXT_COLOR , CLEAR_COLOR ,
  GRADIENT_BOTTOM_COLOR , GRADIENT_TOP_COLOR , COLOR_TYPE_COUNT
}
 Color types (used by setColor) More...
 
enum  MarkerType {
  POINT_MRKR , HOLLOW_BOX_MRKR , PLUS_SIGN_MRKR , ASTERISK_MRKR ,
  X_MRKR , BIG_BOX_MRKR , CIRCLE_MRKR , TRIANGLE_MRKR ,
  DIAMOND_MRKR , SM_HOLLOW_BOX_MRKR , SM_CIRCLE_MRKR , SM_TRIANGLE_MRKR ,
  SM_DIAMOND_MRKR , DOT_MRKR , SM_DOT_MRKR , BOX2_MRKR ,
  BOX3_MRKR , BOX4_MRKR , BOX5_MRKR , BOX6_MRKR ,
  BOX7_MRKR , DOT2_MRKR , DOT3_MRKR , DOT4_MRKR ,
  DOT5_MRKR , DOT6_MRKR , DOT7_MRKR
}
 Marker types. More...
 
enum  FacingType { kFrontFacing , kSideFacing , kBackFacing }
 Facing type. More...
 

Typedef Documentation

◆ HitFunc

typedef BOOL(* HitFunc) (int, int, void *)

◆ GFX_ESCAPE_FN

typedef void(* GFX_ESCAPE_FN) (void *)

◆ ID3DGraphicsWindow

Enumeration Type Documentation

◆ CameraType

enum CameraType

Camera Types.

Enumerator
PERSP_CAM 

Perspective view camera type.

ORTHO_CAM 

Orthographic projection camera type.

16 {
17  PERSP_CAM,
18  ORTHO_CAM
19 };
@ ORTHO_CAM
Orthographic projection camera type.
Definition: GraphicsTypes.h:18
@ PERSP_CAM
Perspective view camera type.
Definition: GraphicsTypes.h:17

◆ ColorType

enum ColorType

Color types (used by setColor)

Enumerator
LINE_COLOR 

Line drawing color.

FILL_COLOR 

Polygon fill color.

TEXT_COLOR 

Text drawing color.

CLEAR_COLOR 

The color that the viewport is cleared to when you call clearScreen()

GRADIENT_BOTTOM_COLOR 

The bottom color used for gradient viewport background.

GRADIENT_TOP_COLOR 

The top color used for gradient viewport background.

COLOR_TYPE_COUNT 

the count of the color types

23 {
24  LINE_COLOR,
25  FILL_COLOR,
26  TEXT_COLOR,
27  CLEAR_COLOR,
31 };
@ GRADIENT_TOP_COLOR
The top color used for gradient viewport background.
Definition: GraphicsTypes.h:29
@ GRADIENT_BOTTOM_COLOR
The bottom color used for gradient viewport background.
Definition: GraphicsTypes.h:28
@ TEXT_COLOR
Text drawing color.
Definition: GraphicsTypes.h:26
@ COLOR_TYPE_COUNT
the count of the color types
Definition: GraphicsTypes.h:30
@ LINE_COLOR
Line drawing color.
Definition: GraphicsTypes.h:24
@ FILL_COLOR
Polygon fill color.
Definition: GraphicsTypes.h:25
@ CLEAR_COLOR
The color that the viewport is cleared to when you call clearScreen()
Definition: GraphicsTypes.h:27

◆ MarkerType

enum MarkerType

Marker types.

See also
GraphicsWindow::hMarker()
Enumerator
POINT_MRKR 

A single pixel on the display.

HOLLOW_BOX_MRKR 

A small box centered on the point.

PLUS_SIGN_MRKR 

A plug sign (+) at the point.

ASTERISK_MRKR 

An asterisk (*) at the point.

X_MRKR 

An X at the point.

BIG_BOX_MRKR 

A large box centered on the point.

CIRCLE_MRKR 

A circle at the point.

TRIANGLE_MRKR 

A triangle centered on the point.

DIAMOND_MRKR 

A diamond centered on the point.

SM_HOLLOW_BOX_MRKR 

A hollow box at the point.

SM_CIRCLE_MRKR 

A small circle at the point.

SM_TRIANGLE_MRKR 

A small triangle centered on the point.

SM_DIAMOND_MRKR 

A small diamond centered on the point.

DOT_MRKR 

A large dot.

SM_DOT_MRKR 

A smaller dot.

BOX2_MRKR 
BOX3_MRKR 
BOX4_MRKR 
BOX5_MRKR 
BOX6_MRKR 
BOX7_MRKR 
DOT2_MRKR 
DOT3_MRKR 
DOT4_MRKR 
DOT5_MRKR 
DOT6_MRKR 
DOT7_MRKR 
35 {
36  POINT_MRKR,
40  X_MRKR,
41  BIG_BOX_MRKR,
42  CIRCLE_MRKR,
44  DIAMOND_MRKR,
49  DOT_MRKR,
50  SM_DOT_MRKR,
51  BOX2_MRKR,
52  BOX3_MRKR,
53  BOX4_MRKR,
54  BOX5_MRKR,
55  BOX6_MRKR,
56  BOX7_MRKR,
57  DOT2_MRKR,
58  DOT3_MRKR,
59  DOT4_MRKR,
60  DOT5_MRKR,
61  DOT6_MRKR,
62  DOT7_MRKR
63 };
@ SM_DOT_MRKR
A smaller dot.
Definition: GraphicsTypes.h:50
@ DOT3_MRKR
Definition: GraphicsTypes.h:58
@ BOX3_MRKR
Definition: GraphicsTypes.h:52
@ DOT4_MRKR
Definition: GraphicsTypes.h:59
@ ASTERISK_MRKR
An asterisk (*) at the point.
Definition: GraphicsTypes.h:39
@ DOT_MRKR
A large dot.
Definition: GraphicsTypes.h:49
@ SM_HOLLOW_BOX_MRKR
A hollow box at the point.
Definition: GraphicsTypes.h:45
@ SM_CIRCLE_MRKR
A small circle at the point.
Definition: GraphicsTypes.h:46
@ BOX4_MRKR
Definition: GraphicsTypes.h:53
@ BIG_BOX_MRKR
A large box centered on the point.
Definition: GraphicsTypes.h:41
@ DOT6_MRKR
Definition: GraphicsTypes.h:61
@ SM_TRIANGLE_MRKR
A small triangle centered on the point.
Definition: GraphicsTypes.h:47
@ DOT7_MRKR
Definition: GraphicsTypes.h:62
@ BOX5_MRKR
Definition: GraphicsTypes.h:54
@ BOX2_MRKR
Definition: GraphicsTypes.h:51
@ PLUS_SIGN_MRKR
A plug sign (+) at the point.
Definition: GraphicsTypes.h:38
@ CIRCLE_MRKR
A circle at the point.
Definition: GraphicsTypes.h:42
@ DOT2_MRKR
Definition: GraphicsTypes.h:57
@ DIAMOND_MRKR
A diamond centered on the point.
Definition: GraphicsTypes.h:44
@ SM_DIAMOND_MRKR
A small diamond centered on the point.
Definition: GraphicsTypes.h:48
@ DOT5_MRKR
Definition: GraphicsTypes.h:60
@ POINT_MRKR
A single pixel on the display.
Definition: GraphicsTypes.h:36
@ X_MRKR
An X at the point.
Definition: GraphicsTypes.h:40
@ HOLLOW_BOX_MRKR
A small box centered on the point.
Definition: GraphicsTypes.h:37
@ TRIANGLE_MRKR
A triangle centered on the point.
Definition: GraphicsTypes.h:43
@ BOX7_MRKR
Definition: GraphicsTypes.h:56
@ BOX6_MRKR
Definition: GraphicsTypes.h:55

◆ FacingType

enum FacingType

Facing type.

Enumerator
kFrontFacing 
kSideFacing 
kBackFacing 
67 {
71 };
@ kSideFacing
Definition: GraphicsTypes.h:69
@ kFrontFacing
Definition: GraphicsTypes.h:68
@ kBackFacing
Definition: GraphicsTypes.h:70