u2d_GLmesh Class Reference
List of all members.
Public Member Functions |
| u2d_GLmesh (int X, int Y, int W, int H, const char *L) |
void | get_ref_sizes (double *minX, double *maxX, double *minY, double *maxY) |
void | guess_ref_size () |
void | get_real_sizes (double *minX, double *maxX, double *minY, double *maxY) |
GLuint | create_display_list () |
void | load_all_display_set () |
void | call_all_display_set () |
void | set_vertex_array (void *array, unsigned int length) |
void | load_vertex_array () |
int | load_display_set (u2d_Display_Set *display_set) |
void | pan (double disp_x, double disp_y) |
void | zoom (double delta_factor, int click_X, int click_Y) |
void | centered_zoom (double delta_factor) |
Public Attributes |
vector< u2d_Display_Set > | display_set |
Member Function Documentation
void u2d_GLmesh::call_all_display_set |
( |
|
) |
|
Call glCallList on all display_set s. If a given display_set has not a valid display list it is just skipped.
- Author:
- Gabriele Dini Ciacci <dark.schneider@iol.it>
GLuint u2d_GLmesh::create_display_list |
( |
|
) |
|
Obtain a valid display list id.
- Returns:
- a valid display list id or 0 if cannot get a list
- Author:
- Gabriele Dini Ciacci <dark.schneider@iol.it>
void u2d_GLmesh::load_all_display_set |
( |
|
) |
|
Call load_display_set on all display_set s. If a given display_set is not loadable it just skips to the next.
- Author:
- Gabriele Dini Ciacci <dark.schneider@iol.it>
Load a display set. This means that the display list get compiled based on the data that is in the set. If eveything goes fine the list will be ready to be called with glCallList(). Check to use this in the future: EXT_compiled_vertex_array
- Returns:
- 0 if the dispaly set wes loaded correctly.
-
-1 if there was a problem loading this display_set
- Author:
- Gabriele Dini Ciacci <dark.schneider@iol.it>
The documentation for this class was generated from the following files: