#include <nurbsGL.h>
Inheritance diagram for PLib::ObjectListGL:
Public Methods | |
ObjectListGL () | |
virtual | ~ObjectListGL () |
ObjectGL * | first () const |
ObjectGL * | last () const |
ObjectGL * | current () const |
ObjectGL *& | first () |
ObjectGL *& | last () |
ObjectGL *& | current () |
virtual void | glObject () const |
virtual void | display () const |
virtual void | displayName () const |
void | reset () |
void | setResetMode (int m) |
void | add (ObjectGL *obj) |
ObjectGL * | remove (ObjectGL *obj) |
void | activate () |
void | deactivate () |
void | select () |
void | deselect () |
void | transformTo (GLfloat x, GLfloat y, GLfloat z, GLfloat a, GLfloat b, GLfloat c, GLfloat sx, GLfloat sy, GLfloat sz, int behavior=NURBS_FLAGS_AFFECT_ALL) |
void | transformBy (GLfloat x, GLfloat y, GLfloat z, GLfloat a, GLfloat b, GLfloat c, GLfloat sx, GLfloat sy, GLfloat sz, int behavior=NURBS_FLAGS_AFFECT_ALL) |
ObjectGL * | goTo (int a) |
ObjectGL * | goToActive (int a) |
ObjectGL * | goToNext () |
ObjectGL * | goToPrevious () |
ObjectGL * | goToNextActive () |
ObjectGL * | goToPreviousActive () |
ObjectGL * | jumpToNext () |
ObjectGL * | jumpToPrevious () |
void | setJumpSize (int a) |
int | size () const |
virtual int | read (const char *filename) |
virtual int | write (const char *filename) const |
virtual int | writeRIB (const char *filename) const |
virtual int | writePOVRAY (const char *filename) const |
void | viewAllObjects () |
void | hideAllObjects () |
Protected Attributes | |
ObjectGL * | first_ |
ObjectGL * | last_ |
ObjectGL * | current_ |
int | jumpSize |
int | n |
int | resetMode |
Definition at line 348 of file nurbsGL.h.
|
The constructor.
By default the reset mode is set to delete all the elements from the list ( NURBSLIST_DELETE_AT_RESET setResetMode(NURBS_KEEP_AT_RESET)
Definition at line 235 of file nurbsGL.cpp. |
|
The destructor.
Definition at line 249 of file nurbsGL.cpp. References reset. |
|
Activate all the objects of the list.
Reimplemented from PLib::ObjectGL. Definition at line 865 of file nurbsGL.cpp. References PLib::ObjectGL::ObjectGL. |
|
adds an element to the list.
Adds an element to the list.
Reimplemented in PLib::ObjectRefListGL. Definition at line 1112 of file nurbsGL.cpp. Referenced by read. |
|
Deactivates all the objects of the list.
Reimplemented from PLib::ObjectGL. Definition at line 850 of file nurbsGL.cpp. References PLib::ObjectGL::ObjectGL. |
|
Deselect all the objects of the list.
Reimplemented from PLib::ObjectGL. Definition at line 896 of file nurbsGL.cpp. References PLib::ObjectGL::ObjectGL. |
|
Displays all the elements from the list.
Reimplemented from PLib::ObjectGL. Reimplemented in PLib::NurbsListGL. Definition at line 696 of file nurbsGL.cpp. References PLib::ObjectGL::ObjectGL. |
|
Displays all the elements from the list.
Definition at line 716 of file nurbsGL.cpp. References PLib::ObjectGL::ObjectGL. |
|
Calls glObject for all the elements from the list.
Displays all the elements from the list
Implements PLib::ObjectGL. Reimplemented in PLib::NurbsListGL. Definition at line 680 of file nurbsGL.cpp. References PLib::ObjectGL::ObjectGL. |
|
Moves the current pointer to the n th element.
Moves the current pointer to the n th element. This must be in a valid range otherwise 0 is returned.
Definition at line 918 of file nurbsGL.cpp. |
|
moves the current pointer to the n th active element.
Moves the current pointer to the n th active element. This must be in a valid range otherwise 0 is returned.
Definition at line 942 of file nurbsGL.cpp. |
|
move the current pointer to the next element.
Moves the current pointer to the next element. If there are no next element, it goes to the first element.
Definition at line 968 of file nurbsGL.cpp. Referenced by jumpToNext. |
|
move the current pointer to the next active element.
Moves the current pointer to the next element. If there are no next element, it goes to the first element.
Definition at line 1008 of file nurbsGL.cpp. References PLib::ObjectGL::ObjectGL. |
|
move the current pointer to the previous one.
Moves the current pointer to the previous element. If there are no previous element, it goes to the last element.
Definition at line 988 of file nurbsGL.cpp. Referenced by jumpToPrevious. |
|
move the current pointer to the previous activeElement.
Moves the current pointer to the previous element. If there are no previous element, it goes to the last element.
Definition at line 1044 of file nurbsGL.cpp. References PLib::ObjectGL::ObjectGL. |
|
Sets all object inside the list to hide mode.
Definition at line 3209 of file nurbsGL.cpp. References PLib::ObjectGL::ObjectGL. |
|
move the current pointer to the next element.
Moves the current pointer to the next element. If there are no next element, it goes to the first element.
Definition at line 1079 of file nurbsGL.cpp. References goToNext. |
|
move the current pointer to the next element.
Moves the current pointer to the next element. If there are no next element, it goes to the first element.
Definition at line 1096 of file nurbsGL.cpp. References goToPrevious. |
|
reads a list of objects.
Reimplemented from PLib::ObjectGL. Definition at line 2644 of file nurbsGL.cpp. References add, and PLib::ObjectGL::ObjectGL. |
|
finds an element and remove it from the list.
Finds an element and delete it from the list. The element will not be deleted. This is up to the calling function.
Reimplemented in PLib::ObjectRefListGL. Definition at line 1141 of file nurbsGL.cpp. References PLib::ObjectGL::ObjectGL. |
|
Deletes all the node of the list.
Deletes all the node of the list. Depending on the reset mode, it will also delete the elements.
Definition at line 272 of file nurbsGL.cpp. References PLib::ObjectGL::ObjectGL. Referenced by ~ObjectListGL, and PLib::ObjectRefListGL::~ObjectRefListGL. |
|
Select all the objects of the list.
Reimplemented from PLib::ObjectGL. Definition at line 880 of file nurbsGL.cpp. References PLib::ObjectGL::ObjectGL. |
|
Transforms the elements stored in the list.
Transforms the elements stored in the list by a certain value if the elements are in a proper state. The behavior variable specifies which objects should be affected by this function.
Definition at line 308 of file nurbsGL.cpp. References PLib::ObjectGL::ObjectGL. |
|
transforms the elements stored in the list.
Transforms the elements stored in the list to a certain value if the elements are in a proper state. The behavior variable specifies which objects should be affected by this function.
Definition at line 361 of file nurbsGL.cpp. References PLib::ObjectGL::ObjectGL. |
|
Sets all object inside the list to view mode.
Definition at line 3194 of file nurbsGL.cpp. References PLib::ObjectGL::ObjectGL. |
|
Writess a list of objects.
Reimplemented from PLib::ObjectGL. Definition at line 2733 of file nurbsGL.cpp. References PLib::ObjectGL::ObjectGL. |
|
Write a list of object in the POVRAY format.
Reimplemented from PLib::ObjectGL. Definition at line 2783 of file nurbsGL.cpp. References PLib::ObjectGL::ObjectGL. |
|
Write a list of object in the RIB format.
Reimplemented from PLib::ObjectGL. Definition at line 2758 of file nurbsGL.cpp. References PLib::ObjectGL::ObjectGL. |