This structure is used to pass access to all the Designer's internal globals and funcitons. NOTE: Don't use functions that return "double" use pointer "double *" it is OK if same compiler as DLL otherwise bad. The function names that plug-ins can use in this structure are best described by the usable names given in file DSTRUCT.H (for example function EraseAll(w) is represented by pointer (*fpDA).
Definition at line 300 of file STRUCT.H.
Data Fields | |
unsigned long * | Nvert |
Number of vertices in object. | |
unsigned long * | Nedge |
Number of edges in object. | |
unsigned long * | Nface |
Number of faces(polygons) in object. | |
unsigned long * | Nskel |
Number of Skeleton nodes(joints and bones) in object. | |
unsigned long * | NvertSelect |
Number of vertices in object that are currently selecte. | |
unsigned long * | NvertDeselect |
Number of vertices in object thar are currently de-selected. | |
unsigned long * | NvertG |
Not used now. | |
int * | nImaps |
Number of Image/Texture maps in object. | |
int * | nMats |
Number of Materials in object. | |
struct Designer_VERTEX_tag ** | MainVp |
Pointer ot the list of vertices. | |
struct Designer_EDGE_tag ** | MainEp |
Pointer to the list of edges. | |
struct Designer_FACE_tag ** | MainFp |
Pointer to the list of faces. | |
struct Designer_SKELETON_tag ** | MainSp |
Pointer to the list of Skeleton bones. | |
struct Designer_SKELETON_tag ** | FirstSp |
Pointer to the start of the list of Skeleton bones. | |
struct Designer_IMAGEMAP_tag * | iMap |
Pointer to the list of Image/Texture maps. | |
struct Designer_SURFACEMATERIAL_tag * | iMat |
Pointer to the list of Materials. | |
struct Designer_XSHADER_tag * | xShaders |
long * | NpointerX |
long * | NpointerY |
long * | NpointerZ |
Current location of the 3D cursor. | |
long * | TVpointX |
long * | TVpointY |
long * | TVpointZ |
Bottom left back corner of Triview (WindowBox). | |
long * | TVsizeX |
long * | TVsizeY |
long * | TVsizeZ |
Dimensions of the WindowBox (triview). | |
double * | ruler |
scaling value between user specified units and the internal integer units | |
long * | rulerx |
long * | rulery |
long * | rulerz |
long * | orulerx |
long * | orulery |
long * | orulerz |
long * | ActiveView |
Which View (Top Read Right) is active (surrounded by Yellow rectangle). | |
struct Designer_WIREFRAME_tag * | w_frame |
Pointer to the wireframe approximation. | |
long | version |
Version of the structure. | |
struct Designer_NURBS_tag ** | MainNp |
Pointer to the list of NURBS patches. | |
unsigned long * | Nnurbs |
How many NURBS patches. | |
long * | dummyv [60] |
Reserved for expansion. | |
void(* | fpDA )(short) |
Erase everthing (1=everything 0=Faces/Edges/Vertices/Skeleton. | |
void(* | fpCV )(void) |
void(* | fpCE )(long, long) |
void(* | fpCF )(long, long, long) |
void(* | fpCS )(struct Designer_SKELETON_tag *) |
BOOL(* | fpUVH )(long) |
BOOL(* | fpUEH )(long) |
BOOL(* | fpUFH )(long) |
void(* | fpTool_UP )(void) |
void(* | fpTool_RD )(void) |
BOOL(* | fpTool_CP )(int) |
int(* | fpTool_FC )(int, int, int, double, double) |
BOOL(* | fpTool_AC )(int) |
void(* | fpChooseColour )(unsigned char[], char *, HWND) |
int(* | fpChooseFile )(int, char *, char *, char *, char *, HWND) |
void(* | fpCentreDlgOnC )(HWND) |
void(* | fpCentreDlgOnS )(HWND) |
void(* | fpCopyFaceProp )(struct Designer_FACE_tag *, struct Designer_FACE_tag *) |
void(* | fpZeroSkeletonBoundingBox )(struct Designer_SKELETON_tag *) |
void(* | fpGetSkeletonBoundBox )(struct Designer_SKELETON_tag *, int) |
int(* | fpEraseVertex )(int) |
void(* | fpEraseVertexMapping )(void) |
short(* | fpEraseSkeleton )(struct Designer_SKELETON_tag *) |
long(* | fpGetClosestVertex )(void) |
int(* | fpConnected )(long, long) |
int(* | fpNormalize )(vector) |
void(* | fpArbitraryRotate )(double, point, point, double[4][4]) |
void(* | fpOrientateFaceNormals )(long, long, long *) |
void(* | fpReverseFaceOrientation )(long, long *) |
BOOL(* | fpIsFOSame )(long, long, long, long, long, long) |
void(* | fpOrientateSelectedFaces )(void) |
void(* | fpAppendFileExtension )(char *, char *) |
void(* | fpEraseAllNurbs )(void) |
void(* | fpEraseNurbs )(struct Designer_NURBS_tag *) |
void(* | fpCreateNurbs )(void) |
void(* | fpClearNurbsSkeleton )(struct Designer_SKELETON_tag *) |
BOOL(* | fpAllocNurbs )(struct Designer_NURBS_tag *, double *, double *) |
BOOL(* | fpCloneNurbs )(struct Designer_NURBS_tag *, struct Designer_NURBS_tag *) |
void(* | fpReleaseNurbs )(struct Designer_NURBS_tag *) |
int(* | fpCreateMaterial )(BOOL ask) |
int(* | fpCreateImageMap )(void) |
void * | dummyf [50] |
Reserved for future expansion. |
unsigned long* Nvert |
Number of vertices in object.
Definition at line 301 of file STRUCT.H.
Referenced by _HeightField(), and SetupStructures().
unsigned long * Nedge |
Number of edges in object.
Definition at line 301 of file STRUCT.H.
Referenced by _HeightField(), and SetupStructures().
unsigned long * Nface |
Number of faces(polygons) in object.
Definition at line 301 of file STRUCT.H.
Referenced by _HeightField(), and SetupStructures().
unsigned long * Nskel |
Number of Skeleton nodes(joints and bones) in object.
Definition at line 301 of file STRUCT.H.
Referenced by SetupStructures().
unsigned long * NvertSelect |
Number of vertices in object that are currently selecte.
Definition at line 301 of file STRUCT.H.
Referenced by _HeightField(), and SetupStructures().
unsigned long * NvertDeselect |
Number of vertices in object thar are currently de-selected.
Definition at line 301 of file STRUCT.H.
Referenced by SetupStructures().
unsigned long * NvertG |
int* nImaps |
Number of Image/Texture maps in object.
Definition at line 308 of file STRUCT.H.
Referenced by SetupStructures().
int * nMats |
Number of Materials in object.
Definition at line 308 of file STRUCT.H.
Referenced by SetupStructures().
struct Designer_VERTEX_tag** MainVp [read] |
Pointer ot the list of vertices.
Definition at line 310 of file STRUCT.H.
Referenced by _HeightField(), and SetupStructures().
struct Designer_EDGE_tag** MainEp [read] |
Pointer to the list of edges.
Definition at line 311 of file STRUCT.H.
Referenced by _HeightField(), and SetupStructures().
struct Designer_FACE_tag** MainFp [read] |
Pointer to the list of faces.
Definition at line 312 of file STRUCT.H.
Referenced by _HeightField(), and SetupStructures().
struct Designer_SKELETON_tag** MainSp [read] |
Pointer to the list of Skeleton bones.
Definition at line 313 of file STRUCT.H.
Referenced by SetupStructures().
struct Designer_SKELETON_tag ** FirstSp [read] |
Pointer to the start of the list of Skeleton bones.
Definition at line 313 of file STRUCT.H.
Referenced by SetupStructures().
struct Designer_IMAGEMAP_tag* iMap [read] |
Pointer to the list of Image/Texture maps.
Definition at line 315 of file STRUCT.H.
Referenced by SetupStructures().
struct Designer_SURFACEMATERIAL_tag* iMat [read] |
Pointer to the list of Materials.
Definition at line 316 of file STRUCT.H.
Referenced by SetupStructures().
struct Designer_XSHADER_tag* xShaders [read] |
long* NpointerX |
long * NpointerY |
long * NpointerZ |
Current location of the 3D cursor.
Definition at line 318 of file STRUCT.H.
Referenced by _HeightField(), and SetupStructures().
long * TVpointX |
long * TVpointY |
long * TVpointZ |
Bottom left back corner of Triview (WindowBox).
Definition at line 318 of file STRUCT.H.
Referenced by _HeightField(), and SetupStructures().
long * TVsizeX |
long * TVsizeY |
long * TVsizeZ |
Dimensions of the WindowBox (triview).
Definition at line 318 of file STRUCT.H.
Referenced by _HeightField(), and SetupStructures().
double* ruler |
scaling value between user specified units and the internal integer units
Definition at line 321 of file STRUCT.H.
Referenced by SetupStructures().
long* rulerx |
long * rulery |
long * rulerz |
long * orulerx |
long * orulery |
long * orulerz |
long* ActiveView |
Which View (Top Read Right) is active (surrounded by Yellow rectangle).
Definition at line 324 of file STRUCT.H.
Referenced by SetupStructures().
struct Designer_WIREFRAME_tag* w_frame [read] |
Pointer to the wireframe approximation.
Definition at line 325 of file STRUCT.H.
Referenced by SetupStructures().
long version |
struct Designer_NURBS_tag** MainNp [read] |
Pointer to the list of NURBS patches.
Definition at line 327 of file STRUCT.H.
Referenced by SetupStructures().
unsigned long* Nnurbs |
void(* fpDA)(short) |
void(* fpCV)(void) |
Referenced by _HeightField(), and SetupStructures().
void(* fpCE)(long, long) |
Referenced by _HeightField(), and SetupStructures().
void(* fpCF)(long, long, long) |
Referenced by _HeightField(), and SetupStructures().
void(* fpCS)(struct Designer_SKELETON_tag *) |
Referenced by SetupStructures().
BOOL(* fpUVH)(long) |
Referenced by SetupStructures().
BOOL(* fpUEH)(long) |
Referenced by SetupStructures().
BOOL(* fpUFH)(long) |
Referenced by SetupStructures().
void(* fpTool_UP)(void) |
Referenced by SetupStructures().
void(* fpTool_RD)(void) |
Referenced by SetupStructures().
BOOL(* fpTool_CP)(int) |
Referenced by SetupStructures().
int(* fpTool_FC)(int, int, int, double, double) |
Referenced by SetupStructures().
BOOL(* fpTool_AC)(int) |
Referenced by SetupStructures().
void(* fpChooseColour)(unsigned char[], char *, HWND) |
Referenced by SetupStructures().
int(* fpChooseFile)(int, char *, char *, char *, char *, HWND) |
Referenced by SetupStructures().
void(* fpCentreDlgOnC)(HWND) |
Referenced by SetupStructures().
void(* fpCentreDlgOnS)(HWND) |
Referenced by SetupStructures().
void(* fpCopyFaceProp)(struct Designer_FACE_tag *, struct Designer_FACE_tag *) |
Referenced by SetupStructures().
void(* fpZeroSkeletonBoundingBox)(struct Designer_SKELETON_tag *) |
Referenced by SetupStructures().
void(* fpGetSkeletonBoundBox)(struct Designer_SKELETON_tag *, int) |
Referenced by SetupStructures().
int(* fpEraseVertex)(int) |
Referenced by SetupStructures().
void(* fpEraseVertexMapping)(void) |
Referenced by SetupStructures().
short(* fpEraseSkeleton)(struct Designer_SKELETON_tag *) |
Referenced by SetupStructures().
long(* fpGetClosestVertex)(void) |
Referenced by SetupStructures().
int(* fpConnected)(long, long) |
Referenced by SetupStructures().
int(* fpNormalize)(vector) |
Referenced by SetupStructures().
void(* fpArbitraryRotate)(double, point, point, double[4][4]) |
Referenced by SetupStructures().
void(* fpOrientateFaceNormals)(long, long, long *) |
Referenced by SetupStructures().
void(* fpReverseFaceOrientation)(long, long *) |
Referenced by SetupStructures().
BOOL(* fpIsFOSame)(long, long, long, long, long, long) |
Referenced by SetupStructures().
void(* fpOrientateSelectedFaces)(void) |
Referenced by SetupStructures().
void(* fpAppendFileExtension)(char *, char *) |
Referenced by SetupStructures().
void(* fpEraseAllNurbs)(void) |
Referenced by SetupStructures().
void(* fpEraseNurbs)(struct Designer_NURBS_tag *) |
Referenced by SetupStructures().
void(* fpCreateNurbs)(void) |
Referenced by SetupStructures().
void(* fpClearNurbsSkeleton)(struct Designer_SKELETON_tag *) |
Referenced by SetupStructures().
BOOL(* fpAllocNurbs)(struct Designer_NURBS_tag *, double *, double *) |
Referenced by SetupStructures().
BOOL(* fpCloneNurbs)(struct Designer_NURBS_tag *, struct Designer_NURBS_tag *) |
Referenced by SetupStructures().
void(* fpReleaseNurbs)(struct Designer_NURBS_tag *) |
Referenced by SetupStructures().
int(* fpCreateMaterial)(BOOL ask) |
Referenced by SetupStructures().
int(* fpCreateImageMap)(void) |
Referenced by SetupStructures().