00001 /////////////////////////////////////////////////////////////////////////// 00002 // _____________ ______________________ __ __ _____ 00003 // / ________ | | ___ ________ / | \ / \ | 00004 // | | | |_ | |_ | | / / \__ | | 00005 // | | ___ | || | || | | / / | | | 00006 // | | | \ | || | || | | / / \__/ \__/ __|__ 00007 // | | |_@ || || | || | | / / Institute 00008 // | |___/ || ||_| || | | / /_____________________ 00009 // \_______/ \______/ | |__| /___________________________ 00010 // | |__| | 00011 // \______/ 00012 // University of Utah 00013 // 2002 00014 /////////////////////////////////////////////////////////////////////////// 00015 00016 //renderEvent.h 00017 00018 #ifndef __GUTZ_RENDER_EVENT_DOT_H 00019 #define __GUTZ_RENDER_EVENT_DOT_H 00020 00021 #include "cameraEvent.h" 00022 00023 namespace gutz { 00024 00025 class RenderEvent : public CameraEvent { 00026 public: 00027 RenderEvent(const CameraSP cam, const ManipSP manip, bool picking = false) 00028 : CameraEvent(cam, manip), _picking(picking) 00029 {} 00030 virtual ~RenderEvent() {} 00031 00032 bool picking() const { return _picking; } 00033 void setPicking(bool yes) { _picking = yes; } 00034 00035 protected: 00036 bool _picking; 00037 }; 00038 00039 typedef gutz::SmartPtr<RenderEvent> RenderEventSP; 00040 00041 } //< end namespace gutz 00042 00043 00044 #endif 00045 00046