AffineEngine Class Reference

#include <affine.h>

Inherits LoadServer.

Collaboration diagram for AffineEngine:

Collaboration graph
[legend]

Public Types

enum  { PERSPECTIVE, SHEER, STRETCH, ROTATE }

Public Member Functions

 AffineEngine (int total_clients, int total_packages)
void process (VFrame *output, VFrame *input, VFrame *temp, int mode, float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4, int forward)
void rotate (VFrame *output, VFrame *input, float angle)
void set_viewport (int x, int y, int w, int h)
void set_pivot (int x, int y)
void unset_pivot ()
void unset_viewport ()
void set_opengl (int value)
void init_packages ()
LoadClientnew_client ()
LoadPackagenew_package ()

Data Fields

VFrameinput
VFrameoutput
VFrametemp
int mode
float x1
float y1
float x2
float y2
float x3
float y3
float x4
float y4
int x
int y
int w
int h
int pivot_x
int pivot_y
int user_pivot
int user_viewport
int forward
int use_opengl

Detailed Description

Definition at line 64 of file affine.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
PERSPECTIVE 
SHEER 
STRETCH 
ROTATE 

Definition at line 106 of file affine.h.


Constructor & Destructor Documentation

AffineEngine::AffineEngine ( int  total_clients,
int  total_packages 
)

Definition at line 915 of file affine.C.

References use_opengl, user_pivot, and user_viewport.


Member Function Documentation

void AffineEngine::process ( VFrame output,
VFrame input,
VFrame temp,
int  mode,
float  x1,
float  y1,
float  x2,
float  y2,
float  x3,
float  y3,
float  x4,
float  y4,
int  forward 
)

Definition at line 947 of file affine.C.

References VFrame::get_h(), VFrame::get_w(), h, LoadServer::process_packages(), LoadServer::process_single(), use_opengl, user_viewport, w, x, and y.

Referenced by PerspectiveMain::handle_opengl(), and PerspectiveMain::process_buffer().

Here is the call graph for this function:

void AffineEngine::rotate ( VFrame output,
VFrame input,
float  angle 
)

void AffineEngine::set_viewport ( int  x,
int  y,
int  w,
int  h 
)

Definition at line 1072 of file affine.C.

References user_viewport.

Referenced by RotateScanUnit::process_package().

void AffineEngine::set_pivot ( int  x,
int  y 
)

void AffineEngine::unset_pivot (  ) 

Definition at line 1093 of file affine.C.

References user_pivot.

void AffineEngine::unset_viewport (  ) 

Definition at line 1098 of file affine.C.

References user_viewport.

void AffineEngine::set_opengl ( int  value  ) 

void AffineEngine::init_packages (  )  [virtual]

Reimplemented from LoadServer.

Definition at line 927 of file affine.C.

References LoadServer::get_total_packages(), h, and y.

Here is the call graph for this function:

LoadClient * AffineEngine::new_client (  )  [virtual]

Reimplemented from LoadServer.

Definition at line 937 of file affine.C.

LoadPackage * AffineEngine::new_package (  )  [virtual]

Reimplemented from LoadServer.

Definition at line 942 of file affine.C.


Field Documentation

Definition at line 104 of file affine.h.

Referenced by AffineUnit::process_package().

Definition at line 104 of file affine.h.

Referenced by AffineUnit::process_package().

Definition at line 104 of file affine.h.

Referenced by rotate().

Definition at line 105 of file affine.h.

Referenced by AffineUnit::process_package(), and rotate().

Definition at line 113 of file affine.h.

Referenced by AffineUnit::process_package(), and rotate().

Definition at line 113 of file affine.h.

Referenced by AffineUnit::process_package(), and rotate().

Definition at line 113 of file affine.h.

Referenced by AffineUnit::process_package(), and rotate().

Definition at line 113 of file affine.h.

Referenced by AffineUnit::process_package(), and rotate().

Definition at line 113 of file affine.h.

Referenced by AffineUnit::process_package(), and rotate().

Definition at line 113 of file affine.h.

Referenced by AffineUnit::process_package(), and rotate().

Definition at line 113 of file affine.h.

Referenced by AffineUnit::process_package(), and rotate().

Definition at line 113 of file affine.h.

Referenced by AffineUnit::process_package(), and rotate().

Definition at line 114 of file affine.h.

Referenced by process(), AffineUnit::process_package(), and rotate().

Definition at line 114 of file affine.h.

Referenced by init_packages(), process(), AffineUnit::process_package(), and rotate().

Definition at line 114 of file affine.h.

Referenced by process(), AffineUnit::process_package(), and rotate().

Definition at line 114 of file affine.h.

Referenced by init_packages(), process(), AffineUnit::process_package(), and rotate().

Definition at line 115 of file affine.h.

Referenced by rotate(), and set_pivot().

Definition at line 115 of file affine.h.

Referenced by rotate(), and set_pivot().

Definition at line 116 of file affine.h.

Referenced by AffineEngine(), rotate(), set_pivot(), and unset_pivot().

Definition at line 117 of file affine.h.

Referenced by AffineEngine(), process(), rotate(), set_viewport(), and unset_viewport().

Definition at line 118 of file affine.h.

Referenced by AffineUnit::process_package(), and rotate().

Definition at line 119 of file affine.h.

Referenced by AffineEngine(), process(), AffineUnit::process_package(), rotate(), and set_opengl().


The documentation for this class was generated from the following files:

Generated on Mon Apr 28 14:09:52 2008 for Cinelerra by  doxygen 1.5.5