Computer Assited Medical Intervention Tool Kit  version 5.0
QPolygonalProcessor Class Reference
+ Collaboration diagram for QPolygonalProcessor:

Public Member Functions

void add (int x, int y)
 
void add (int x, int y)
 
void addBits (int x1, int x2, uchar newbits, int xo, int yo)
 
void addBits (int x1, int x2, uchar newbits, int xo, int yo)
 
void doSpans (int n, QPoint *pt, int *w)
 
void doSpans (int n, QPoint *pt, int *w)
 
 QPolygonalProcessor (QtCanvas *c, const QPolygon &pa)
 
 QPolygonalProcessor (QtCanvas *c, const QPolygon &pa)
 

Public Attributes

QImage bitmap
 
QRect bounds
 
QtCanvascanvas
 
int pnt
 
QPolygon result
 

Constructor & Destructor Documentation

◆ QPolygonalProcessor() [1/2]

QPolygonalProcessor::QPolygonalProcessor ( QtCanvas c,
const QPolygon &  pa 
)
inline

References bitmap, bounds, canvas, QtCanvas::chunkSize(), pnt, and QtCanvas::rect().

+ Here is the call graph for this function:

◆ QPolygonalProcessor() [2/2]

QPolygonalProcessor::QPolygonalProcessor ( QtCanvas c,
const QPolygon &  pa 
)
inline

References bitmap, bounds, canvas, QtCanvas::chunkSize(), pnt, and QtCanvas::rect().

+ Here is the call graph for this function:

Member Function Documentation

◆ add() [1/2]

void QPolygonalProcessor::add ( int  x,
int  y 
)
inline

References bounds, canvas, QtCanvas::chunkSize(), pnt, and result.

Referenced by addBits().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ add() [2/2]

void QPolygonalProcessor::add ( int  x,
int  y 
)
inline

References bounds, canvas, QtCanvas::chunkSize(), pnt, and result.

+ Here is the call graph for this function:

◆ addBits() [1/2]

void QPolygonalProcessor::addBits ( int  x1,
int  x2,
uchar  newbits,
int  xo,
int  yo 
)
inline

References add().

+ Here is the call graph for this function:

◆ addBits() [2/2]

void QPolygonalProcessor::addBits ( int  x1,
int  x2,
uchar  newbits,
int  xo,
int  yo 
)
inline

References add().

Referenced by doSpans().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ doSpans() [1/2]

void QPolygonalProcessor::doSpans ( int  n,
QPoint *  pt,
int *  w 
)
inline

References addBits(), bitmap, bounds, canvas, QtCanvas::chunkSize(), pnt, and result.

+ Here is the call graph for this function:

◆ doSpans() [2/2]

void QPolygonalProcessor::doSpans ( int  n,
QPoint *  pt,
int *  w 
)
inline

References addBits(), bitmap, bounds, canvas, QtCanvas::chunkSize(), pnt, and result.

+ Here is the call graph for this function:

Member Data Documentation

◆ bitmap

QImage QPolygonalProcessor::bitmap

Referenced by doSpans(), and QPolygonalProcessor().

◆ bounds

QRect QPolygonalProcessor::bounds

Referenced by add(), doSpans(), and QPolygonalProcessor().

◆ canvas

QtCanvas * QPolygonalProcessor::canvas

Referenced by add(), doSpans(), and QPolygonalProcessor().

◆ pnt

int QPolygonalProcessor::pnt

Referenced by add(), doSpans(), and QPolygonalProcessor().

◆ result

QPolygon QPolygonalProcessor::result

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