/usr/include/root/TGLTransManip.h is in libroot-graf3d-gl-dev 5.34.19+dfsg-1.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 | // @(#)root/gl:$Id$
// Author: Richard Maunder 16/09/2005
/*************************************************************************
* Copyright (C) 1995-2005, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TGLTransManip
#define ROOT_TGLTransManip
#ifndef ROOT_TGLManip
#include "TGLManip.h"
#endif
//////////////////////////////////////////////////////////////////////////
// //
// TGLTransManip //
// //
// Translation manipulator - attaches to physical shape and draws local //
// axes widgets with arrow heads. User can mouse over (turns yellow) and//
// L click/drag to translate along this axis. //
// Widgets use standard 3D package axes colours: X red, Y green, Z blue.//
//////////////////////////////////////////////////////////////////////////
class TGLTransManip : public TGLManip
{
private:
public:
TGLTransManip();
TGLTransManip(TGLPhysicalShape * shape);
virtual ~TGLTransManip();
virtual void Draw(const TGLCamera & camera) const;
virtual Bool_t HandleMotion(const Event_t & event, const TGLCamera & camera);
ClassDef(TGLTransManip,0) // GL translation manipulator widget
};
#endif
|