HDK
|
#include <unitTestGLDrawing.h>
Public Member Functions | |
HDST_API | HdSt_UnitTestGLDrawing () |
virtual HDST_API | ~HdSt_UnitTestGLDrawing () |
HDST_API int | GetWidth () const |
HDST_API int | GetHeight () const |
HDST_API void | RunTest (int argc, char *argv[]) |
HDST_API void | RunOffscreenTest () |
virtual void | InitTest ()=0 |
virtual HDST_API void | UninitTest () |
virtual void | DrawTest ()=0 |
virtual void | OffscreenTest ()=0 |
virtual HDST_API void | MousePress (int button, int x, int y, int modKeys) |
virtual HDST_API void | MouseRelease (int button, int x, int y, int modKeys) |
virtual HDST_API void | MouseMove (int x, int y, int modKeys) |
virtual HDST_API void | KeyRelease (int key) |
virtual HDST_API void | Idle () |
virtual HDST_API void | Present (uint32_t framebuffer) |
Protected Member Functions | |
virtual HDST_API void | ParseArgs (int argc, char *argv[]) |
void | SetCameraRotate (float rx, float ry) |
void | SetCameraTranslate (GfVec3f t) |
GfVec3f | GetCameraTranslate () const |
HDST_API GfMatrix4d | GetViewMatrix () const |
HDST_API GfMatrix4d | GetProjectionMatrix () const |
HDST_API GfFrustum | GetFrustum () const |
GfVec2i | GetMousePos () const |
A helper class for unit tests which need to perform GL drawing.
Definition at line 44 of file unitTestGLDrawing.h.
HDST_API HdSt_UnitTestGLDrawing::HdSt_UnitTestGLDrawing | ( | ) |
|
virtual |
|
pure virtual |
|
inlineprotected |
Definition at line 92 of file unitTestGLDrawing.h.
|
inlineprotected |
Definition at line 102 of file unitTestGLDrawing.h.
|
protected |
|
protected |
|
pure virtual |
|
virtual |
|
virtual |
|
pure virtual |
|
protectedvirtual |
Definition at line 78 of file unitTestGLDrawing.h.
Definition at line 86 of file unitTestGLDrawing.h.
Definition at line 89 of file unitTestGLDrawing.h.