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 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * RCS INFORMATION: 00011 * 00012 * $RCSfile: FreeVRDisplayDevice.h,v $ 00013 * $Author: johns $ $Locker: $ $State: Exp $ 00014 * $Revision: 1.20 $ $Date: 2019/01/17 21:20:59 $ 00015 * 00016 *************************************************************************** 00017 * DESCRIPTION: 00018 * 00019 * a FreeVR specific display device for VMD 00020 ***************************************************************************/ 00021 #ifndef FREEVRDISPLAYDEVICE_H 00022 #define FREEVRDISPLAYDEVICE_H 00023 00024 #include "OpenGLRenderer.h" 00025 00027 class FreeVRDisplayDevice : public OpenGLRenderer { 00028 private: 00029 int doneGLInit; 00030 void freevr_gl_init_fn(void); 00031 00032 public: 00033 FreeVRDisplayDevice(void); 00034 virtual ~FreeVRDisplayDevice(void); 00035 virtual void set_stereo_mode(int = 0); 00036 virtual void render(const VMDDisplayList *); 00037 virtual void normal(void); 00038 virtual void update(int do_update = TRUE); 00039 }; 00040 #endif 00041