24 #ifndef PXR_IMAGING_HD_ST_UNIT_TEST_GLDRAWING_H
25 #define PXR_IMAGING_HD_ST_UNIT_TEST_GLDRAWING_H
38 class HdSt_UnitTestWindow;
56 void RunTest(
int argc,
char *argv[]);
66 virtual void MousePress(
int button,
int x,
int y,
int modKeys);
68 virtual void MouseRelease(
int button,
int x,
int y,
int modKeys);
70 virtual void MouseMove(
int x,
int y,
int modKeys);
84 virtual void ParseArgs(
int argc,
char *argv[]);
87 _rotate[0] = rx; _rotate[1] = ry;
105 HdSt_UnitTestWindow *_widget;
110 bool _mouseButton[3];
116 #endif // PXR_IMAGING_HD_ST_UNIT_TEST_GLDRAWING_H
HDST_API GfMatrix4d GetProjectionMatrix() const
virtual HDST_API void ParseArgs(int argc, char *argv[])
GfVec2i GetMousePos() const
virtual HDST_API void MouseRelease(int button, int x, int y, int modKeys)
virtual void InitTest()=0
virtual HDST_API ~HdSt_UnitTestGLDrawing()
virtual HDST_API void Present(uint32_t framebuffer)
virtual void OffscreenTest()=0
HDST_API GfFrustum GetFrustum() const
HDST_API void RunOffscreenTest()
void SetCameraRotate(float rx, float ry)
virtual HDST_API void Idle()
HDST_API int GetHeight() const
virtual HDST_API void MousePress(int button, int x, int y, int modKeys)
void SetCameraTranslate(GfVec3f t)
HDST_API void RunTest(int argc, char *argv[])
HDST_API GfMatrix4d GetViewMatrix() const
HDST_API HdSt_UnitTestGLDrawing()
HDST_API int GetWidth() const
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
virtual HDST_API void UninitTest()
virtual HDST_API void MouseMove(int x, int y, int modKeys)
#define PXR_NAMESPACE_CLOSE_SCOPE
GfVec3f GetCameraTranslate() const
virtual HDST_API void KeyRelease(int key)
virtual void DrawTest()=0