Class Reference

DK_Types

DK_Types.h provides a variety of common compiler macros and data structures, as well as a createInstance() method for DevKit DSO tools.

Macros

The following compiler macros are provided in DK_Types.h:

DK_LegColour

enum DK_LegColour { DKC_BLACK, DKC_WHITE,
                    DKC_BLUE, DKC_GREEN,
                    DKC_RED, DKC_MAGENTA };
Colours available for target leg tools. Used by the init method in DK_Tool.

DK_Colour

struct DK_Colour { 
   float r;
   float g;
   float b;
   float a;
};
Structure for passing normalized colour information.

DK_Size

struct DK_Size {
   int   x;
   int   y;
   int   z;
   int   c;
   u_int nx;
   u_int ny;
   u_int nz;
   u_int nc;
};
Structure for passing image offset and size information.

DK_ScreenMap

struct DK_ScreenMap {
   float fx1;
   float fy1;
   float fx2;
   float fy2;
   int   ix1;
   int   iy1;
   int   ix2;
   int   iy2;
};
Structure used for screen mapping. The floating-point values define a region of ortho space (image space) and the integer values define a region of screen space.

DK_Leg

struct DK_Leg {
   char*        name;
   DK_LegColour colour;
   int          optional;
};
Structure for describing a target leg.

createInstance()

class DK_ToolGUI;
class DK_Tool;
class DevKit;

typedef class DK_ToolGUI*
             (*DK_CreateGUIFunc)(DK_Tool *tool);
typedef class DK_Tool*   
             (*DK_CreateFunc)(DevKit &parent);
Defines a type for a pointer to the createInstance() method for DKit DSO tools.

Macros
DK_LegColour
DK_Colour
DK_Size
DK_ScreenMap
DK_Leg
createInstance()

SOFTIMAGE Eddie 3.5 - 10 JAN 1997