|
||||
File indexing completed on 2025-01-18 10:12:01
0001 // @(#)root/gl:$Id$ 0002 // Author: Richard Maunder 16/09/2005 0003 0004 /************************************************************************* 0005 * Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. * 0006 * All rights reserved. * 0007 * * 0008 * For the licensing terms see $ROOTSYS/LICENSE. * 0009 * For the list of contributors see $ROOTSYS/README/CREDITS. * 0010 *************************************************************************/ 0011 0012 #ifndef ROOT_TGLTransManip 0013 #define ROOT_TGLTransManip 0014 0015 #include "TGLManip.h" 0016 0017 ////////////////////////////////////////////////////////////////////////// 0018 // // 0019 // TGLTransManip // 0020 // // 0021 // Translation manipulator - attaches to physical shape and draws local // 0022 // axes widgets with arrow heads. User can mouse over (turns yellow) and// 0023 // L click/drag to translate along this axis. // 0024 // Widgets use standard 3D package axes colours: X red, Y green, Z blue.// 0025 ////////////////////////////////////////////////////////////////////////// 0026 0027 class TGLTransManip : public TGLManip 0028 { 0029 private: 0030 0031 public: 0032 TGLTransManip(); 0033 TGLTransManip(TGLPhysicalShape * shape); 0034 ~TGLTransManip() override; 0035 0036 void Draw(const TGLCamera & camera) const override; 0037 Bool_t HandleMotion(const Event_t & event, const TGLCamera & camera) override; 0038 0039 ClassDefOverride(TGLTransManip,0) // GL translation manipulator widget 0040 }; 0041 0042 #endif
[ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |