g4tools
5.4.0
|
Classes | |
class | point_writer |
class | scan_writer |
class | scan_writer_1 |
class | scan_writer_2 |
class | scan_writer_3 |
class | scan_writer_4 |
class | writer |
Public Types | |
typedef unsigned int | ZPixel |
Public Member Functions | |
buffer () | |
virtual | ~buffer () |
void | set_depth_test (bool a_on) |
bool | change_size (unsigned int a_width, unsigned int a_height) |
ZPixel * | get_color_buffer (unsigned int &a_width, unsigned int &a_height) const |
void | clear_color_buffer (ZPixel a_pixel) |
void | clear_depth_buffer () |
bool | get_clipped_pixel (ZPos a_x, ZPos a_y, ZPixel &a_pixel) const |
void | set_clip_region (ZPos a_x, ZPos a_y, unsigned int a_width, unsigned int a_height) |
void | draw_point (const point &a_p, ZPixel a_pixel, unsigned int a_size) |
bool | get_pixel (const point &a_p, ZPixel &a_pixel) |
void | draw_line (const point &a_beg, const point &a_end, ZPixel a_pixel, unsigned int a_size) |
void | draw_lines (int a_number, const point *a_list, ZPixel a_pixel, unsigned int a_size) |
void | draw_segments (int a_number, const point *a_list, ZPixel a_pixel, unsigned int a_size) |
void | draw_markers (int a_number, const point *a_list, ZPixel a_pixel, unsigned int a_size) |
void | draw_polygon (int a_number, const point *a_list, ZZ a_A, ZZ a_B, ZZ a_C, ZZ a_D, ZPixel a_pixel) |
Protected Member Functions | |
buffer (const buffer &a_from) | |
buffer & | operator= (const buffer &a_from) |
Static Protected Member Functions | |
static void | WriteScanLine (void *a_tag, int a_beg, int a_end, int a_y) |
static void | WriteLine (const point &a_beg, const point &a_end, writer &a_writer) |
static void | ScanLine (ZPos a_x, ZPos a_y, ZZ a_z, ZPos a_dx, ZPos a_dy, ZZ a_dz, scan_writer &a_proc) |
Protected Attributes | |
bool | m_depth_test |
ZReal * | m_zbuffer |
ZPixel * | m_zimage |
unsigned int | m_zbw |
unsigned int | m_zbh |
ZPos | m_begX |
ZPos | m_begY |
ZPos | m_endX |
ZPos | m_endY |
ZPixel | m_scan_pixel |
ZZ | m_planeAC |
ZZ | m_planeBC |
ZZ | m_planeDC |
polygon | m_polygon |
typedef unsigned int tools::zb::buffer::ZPixel |
|
inline |
|
inlinevirtual |
|
inlineprotected |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestaticprotected |
|
inline |
|
inlinestaticprotected |
|
inlinestaticprotected |