casa
$Rev:20696$
|
DisplayListElement that can contain lists of other DisplayListElements. More...
#include <GLPCDisplayList.h>
Public Types | |
enum | { DefaultSizeIncrement } |
Amount by which to increment the list of display lists when it fills up. More... | |
Public Member Functions | |
GLPCDisplayList (const char *name=NULL, uInt sizeincr=GLPCDisplayList::DefaultSizeIncrement) | |
GLPCDisplayList (const GLPCDisplayList &list) | |
Copy a display list's list. | |
~GLPCDisplayList () | |
void | add (GLPCDisplayListElement *) |
Append another element to list. | |
virtual void | call (Bool force=False, uInt spaces=0) |
Run the current list. | |
void | translate (Float xt, Float yt, Float zt=0.0) |
Translate the list. | |
void | translation (Float &xo, Float &yo) const |
Return current translation. | |
void | translation (Float &xo, Float &yo, Float &zo) const |
uInt | sizeincrement () const |
Return/Set amount to increase id list by. | |
void | sizeincrement (const uInt sizeincr) |
Private Member Functions | |
void | resize () |
void | unrefall () |
Private Attributes | |
GLfloat | xt_ |
GLfloat | yt_ |
GLfloat | zt_ |
uInt | sizeincr_ |
uInt | numentries_ |
uInt | listSize_ |
GLPCDisplayListElement ** | list_ |
DisplayListElement that can contain lists of other DisplayListElements.
When GLPixelCanvas::newList() is called, a GLPCDisplayList is created to hold all the GLPCDisplayListEntrys that are created. A GLPCDisplayList can also hold other GLPCDisplayLists (drawList called inside a list).
Definition at line 154 of file GLPCDisplayList.h.
anonymous enum |
Amount by which to increment the list of display lists when it fills up.
Definition at line 158 of file GLPCDisplayList.h.
casa::GLPCDisplayList::GLPCDisplayList | ( | const char * | name = NULL , |
uInt | sizeincr = GLPCDisplayList::DefaultSizeIncrement |
||
) |
casa::GLPCDisplayList::GLPCDisplayList | ( | const GLPCDisplayList & | list | ) |
Copy a display list's list.
void casa::GLPCDisplayList::add | ( | GLPCDisplayListElement * | ) |
Append another element to list.
virtual void casa::GLPCDisplayList::call | ( | Bool | force = False , |
uInt | spaces = 0 |
||
) | [virtual] |
Run the current list.
Reimplemented from casa::GLPCDisplayListElement.
void casa::GLPCDisplayList::resize | ( | ) | [private] |
uInt casa::GLPCDisplayList::sizeincrement | ( | ) | const [inline] |
Return/Set amount to increase id list by.
Definition at line 183 of file GLPCDisplayList.h.
References sizeincr_.
void casa::GLPCDisplayList::sizeincrement | ( | const uInt | sizeincr | ) | [inline] |
Definition at line 184 of file GLPCDisplayList.h.
References sizeincr_.
void casa::GLPCDisplayList::translate | ( | Float | xt, |
Float | yt, | ||
Float | zt = 0.0 |
||
) |
Translate the list.
Set translation values. New values are added to current.
void casa::GLPCDisplayList::translation | ( | Float & | xo, |
Float & | yo | ||
) | const |
Return current translation.
void casa::GLPCDisplayList::translation | ( | Float & | xo, |
Float & | yo, | ||
Float & | zo | ||
) | const |
void casa::GLPCDisplayList::unrefall | ( | ) | [private] |
GLPCDisplayListElement** casa::GLPCDisplayList::list_ [private] |
Definition at line 194 of file GLPCDisplayList.h.
uInt casa::GLPCDisplayList::listSize_ [private] |
Definition at line 193 of file GLPCDisplayList.h.
uInt casa::GLPCDisplayList::numentries_ [private] |
Definition at line 192 of file GLPCDisplayList.h.
uInt casa::GLPCDisplayList::sizeincr_ [private] |
Definition at line 191 of file GLPCDisplayList.h.
Referenced by sizeincrement().
GLfloat casa::GLPCDisplayList::xt_ [private] |
Definition at line 190 of file GLPCDisplayList.h.
GLfloat casa::GLPCDisplayList::yt_ [private] |
Definition at line 190 of file GLPCDisplayList.h.
GLfloat casa::GLPCDisplayList::zt_ [private] |
Definition at line 190 of file GLPCDisplayList.h.