DRAWVIEW.C File Reference

Go to the source code of this file.

Defines

#define MODULE_DRAW   1
#define CROSS(v1, v2, r)
#define NP   Op->w_frame.Np
#define NE   Op->w_frame.Ne

Functions

void ScalePoint (double scalex, double scaley, double scalez, point p, point r)
void CopyPoint (point p1, point p2)
void AddPoints (point p1, point p2, point result)
void SubPoints (point p1, point p2, point result)
short in_stage_triview (point vp)
void get_centre_stage (point p, point TVp, point TVclipMin, point TVclipMax)
void Transform (long n, point Ain[], point Aout[], point Offset, double p, double t, double a, short im, double ima)
void CalculateDirection (point C, point T, double *phi, double *theta, double *alpha)
cameraparamCalculateCameraProperties (node *Np, long frame, double dframe)
double GetOffsetPosition (node *Np, object *Op, long frame, double dframe, point ObjectOffset)
short GetTransform (short stacking, long frame, double dframe, node *Np, object *Op, point ObjectOffset, point TrackedOffset, double *phi, double *theta, double *alpha, double *sx, double *sy, double *sz, short *im, double *ima)
void DrawActorCentre (HDC hdc[], point v1, double p, double t, double a, short im, double ima, double scale)
void DrawArrow (HDC hdc[], point Offset, double p, double t, double a, short im, double ima, double scale)
void DrawDirectionLine (HDC hdc[], point Offset, double p, double t, double a, short im, double ima, double scale)
int CheckBoundingObject (int type, int ifd, int hx, int vy, object *Op, point Offset, double p, double t, double a, short im, double ima, double sx, double sy, double sz, double *dc)
void DrawNode (HDC hDC[], node *Np, short status)
void DrawInvertNode (HDC hDC[], node *Np, short status)
void ReDrawStageDisplay (BOOL draw_selected)
void ReDrawQuickDisplay (BOOL draw_selected)


Define Documentation

#define MODULE_DRAW   1

Definition at line 3 of file DRAWVIEW.C.

#define CROSS ( v1,
v2,
 ) 

Value:

{ \
                          r[0] = (v1[1]*v2[2]) - (v2[1]*v1[2]);  \
                          r[1] = (v1[2]*v2[0]) - (v1[0]*v2[2]);  \
                          r[2] = (v1[0]*v2[1]) - (v2[0]*v1[1]);  \
                        }

Definition at line 841 of file DRAWVIEW.C.

#define NP   Op->w_frame.Np

Definition at line 1493 of file DRAWVIEW.C.

Referenced by EditObject(), and ObjectTimelineDlgProc().

#define NE   Op->w_frame.Ne

Definition at line 1494 of file DRAWVIEW.C.

Referenced by CheckBoundingObject().


Function Documentation

void CalculateDirection ( point  C,
point  T,
double *  phi,
double *  theta,
double *  alpha 
)

Definition at line 230 of file DRAWVIEW.C.

References double, and PI.

Referenced by GetTransform().


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