X__STRUCTUREtag Struct Reference
[Designer]


Detailed Description

External structure for making Designer global variables and function available to plugin tools and actions..

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_tagiMap
 Pointer to the list of Image/Texture maps.
struct
Designer_SURFACEMATERIAL_tag
iMat
 Pointer to the list of Materials.
struct Designer_XSHADER_tagxShaders
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_tagw_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.

Field Documentation

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

Not used now.

Definition at line 301 of file STRUCT.H.

Referenced by SetupStructures().

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().

Pointer to the list of Materials.

Definition at line 316 of file STRUCT.H.

Referenced by SetupStructures().

Definition at line 317 of file STRUCT.H.

Referenced by SetupStructures().

long* NpointerX

Definition at line 318 of file STRUCT.H.

Referenced by _HeightField(), and SetupStructures().

long * NpointerY

Definition at line 318 of file STRUCT.H.

Referenced by _HeightField(), and SetupStructures().

long * NpointerZ

Current location of the 3D cursor.

Definition at line 318 of file STRUCT.H.

Referenced by _HeightField(), and SetupStructures().

long * TVpointX

Definition at line 318 of file STRUCT.H.

Referenced by _HeightField(), and SetupStructures().

long * TVpointY

Definition at line 318 of file STRUCT.H.

Referenced by _HeightField(), and SetupStructures().

long * TVpointZ

Bottom left back corner of Triview (WindowBox).

Definition at line 318 of file STRUCT.H.

Referenced by _HeightField(), and SetupStructures().

long * TVsizeX

Definition at line 318 of file STRUCT.H.

Referenced by _HeightField(), and SetupStructures().

long * TVsizeY

Definition at line 318 of file STRUCT.H.

Referenced by _HeightField(), and SetupStructures().

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

Definition at line 322 of file STRUCT.H.

Referenced by SetupStructures().

long * rulery

Definition at line 322 of file STRUCT.H.

Referenced by SetupStructures().

long * rulerz

Definition at line 322 of file STRUCT.H.

Referenced by SetupStructures().

long * orulerx

Definition at line 322 of file STRUCT.H.

Referenced by SetupStructures().

long * orulery

Definition at line 322 of file STRUCT.H.

Referenced by SetupStructures().

long * orulerz

Definition at line 322 of file STRUCT.H.

Referenced by SetupStructures().

long* ActiveView

Which View (Top Read Right) is active (surrounded by Yellow rectangle).

Definition at line 324 of file STRUCT.H.

Referenced by SetupStructures().

Pointer to the wireframe approximation.

Definition at line 325 of file STRUCT.H.

Referenced by SetupStructures().

long version

Version of the structure.

Definition at line 326 of file STRUCT.H.

Referenced by SetupStructures().

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

How many NURBS patches.

Definition at line 328 of file STRUCT.H.

Referenced by SetupStructures().

long* dummyv[60]

Reserved for expansion.

Definition at line 329 of file STRUCT.H.

void(* fpDA)(short)

Erase everthing (1=everything 0=Faces/Edges/Vertices/Skeleton.

Referenced by SetupStructures().

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().

Referenced by SetupStructures().

Referenced by SetupStructures().

int(* fpEraseVertex)(int)

Referenced by SetupStructures().

void(* fpEraseVertexMapping)(void)

Referenced by SetupStructures().

Referenced by SetupStructures().

long(* fpGetClosestVertex)(void)

Referenced by SetupStructures().

int(* fpConnected)(long, long)

Referenced by SetupStructures().

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().

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().

Referenced by SetupStructures().

int(* fpCreateMaterial)(BOOL ask)

Referenced by SetupStructures().

int(* fpCreateImageMap)(void)

Referenced by SetupStructures().

void* dummyf[50]

Reserved for future expansion.

Definition at line 373 of file STRUCT.H.


The documentation for this struct was generated from the following file:

Generated on Sun Apr 27 14:20:20 2014 for OpenFX by  doxygen 1.5.6