00001 /*************************************************************************** 00002 *cr 00003 *cr (C) Copyright 1995-2019 The Board of Trustees of the 00004 *cr University of Illinois 00005 *cr All Rights Reserved 00006 *cr 00007 *cr VRJuggler patches contributed by Martijn Kragtwijk: m.kragtwijk@rug.nl 00008 *cr 00009 ***************************************************************************/ 00010 00011 /*************************************************************************** 00012 * RCS INFORMATION: 00013 * 00014 * $RCSfile: VRJugglerDisplayDevice.h,v $ 00015 * $Author: johns $ $Locker: $ $State: Exp $ 00016 * $Revision: 1.4 $ $Date: 2019/01/17 21:21:02 $ 00017 * 00018 *************************************************************************** 00019 * DESCRIPTION: 00020 * a VRJuggler specific button device for VMD 00021 ***************************************************************************/ 00022 #ifndef VRJUGGLERDISPLAYDEVICE_H 00023 #define VRJUGGLERDISPLAYDEVICE_H 00024 00025 #include "OpenGLRenderer.h" 00026 00028 class VRJugglerDisplayDevice : public OpenGLRenderer { 00029 private: 00030 int doneGLInit; 00031 void vrjuggler_gl_init_fn(void); 00032 00033 public: 00034 VRJugglerDisplayDevice(void); 00035 virtual ~VRJugglerDisplayDevice(void); 00036 virtual void set_stereo_mode(int = 0); 00037 virtual void render(const VMDDisplayList *); 00038 virtual void normal(void); 00039 virtual void update(int do_update = TRUE); 00040 00041 //virtual int supports_gui() { return FALSE; } 00042 virtual int supports_gui() { return TRUE; } 00043 }; 00044 #endif // VRJUGGLERDISPLAYDEVICE_H 00045