golib
0.5
|
View widget for OFF files (OpenGL). More...
#include <offview.h>
Public Member Functions | |
void | lighting () |
void | load (const char *filename) |
void | align () |
void | setLight (const goGL::Light &light) |
goGL::Light & | getLight () |
virtual void | glDraw () |
void | setRadius (goFloat) |
void | setSphericalPosition (const goVectorf &phiThetaRadius) |
void | setView (const goVectorf &position, const goVectorf &up, const goVectorf &focus) |
const goVectorf & | getSphericalPosition () const |
goGL::OFFFile & | getOFFFile () |
sigc::signal< void > & | signalChanged () |
sigc::signal< void > & | signalChangedFinal () |
goCaller0< int > & | callerRotated () |
bool | motionSlot (GdkEventMotion *e) |
bool | buttonSlot (GdkEventButton *e) |
![]() | |
void | GLWidgetBegin () |
void | GLWidgetEnd () |
void | swapBuffers () |
Can only be called between GLWidgetBegin and ...End. | |
const goVectorf & | getRotationStart () const |
2-Vector, mouse position last rotation start More... | |
const goVectorf & | getRotationEnd () const |
2-Vector, mouse position last rotation end More... | |
bool | renderSlot (const Glib::RefPtr< Gdk::GLContext > &context) |
bool | exposeSlot (GdkEventExpose *e) |
bool | motionSlot (GdkEventMotion *e) |
bool | buttonSlot (GdkEventButton *e) |
View widget for OFF files (OpenGL).
This is somewhat deprecated but still used; if making something new, use SceneView
instead. This will not be removed in the near future, just do not use it in new code.