-
- Downloads
From Matevz & Alja * base/inc/TVirtualViewer3D.h: Add function virtual void ObjectPaint(TObject*, Option_t*). /**************************************************************************/ * ged/src/TGedEditor.cxx: When adding top-level TGFrame for the extra tabs specify layout hints with kLHintsExpandX. /**************************************************************************/ * gl/inc/TGLScenePad.h: * gl/src/TGLScenePad.cxx: Implement virtual TVirtualViewer3D::ObjectPaint(). * gl/src/TGLCamera.cxx: * gl/inc/TGLCamera.h: * gl/src/TGLPerspectiveCamera.cxx: * gl/inc/TGLPerspectiveCamera.h: * gl/src/TGLOrthoCamera.cxx: * gl/inc/TGLOrthoCamera.h: Introduce two transformation matrices to clearly define movement of camera around the center point. The first transformation matrix fCamBase defines the coordinate system placed at the camera center point with camera up-vector as the third base vector. The second transformation matrix fCamTrans defines the camera transformation relative to fCamBase. Implement a common Truck(), Rotate() and Dolly() function for orthographic and perspective camera. Implement an option to define camera center point externally. Center can also be determined via picking. * gl/src/TGLUtil.cxx: * gl/inc/TGLUtil.h: TGLMatrix: add new functions to get/set the base vectors directly. TGLUtil: add member UInt_t fgDefaultDrawQuality. TGLRect: bugfix in Diagonal(), integer calculation overflowed. * gl/src/TGLViewer.cxx: * gl/inc/TGLViewer.h: Make interface to draw camera center point. Add option to disable/enable depth test when drawing axis guides. * gl/src/TGLViewerEditor.cxx: * gl/inc/TGLViewerEditor.h: Add GUI to manipulate camera center and to disable/enable depth test when drawing axis guides. * gl/src/TGLClipSetEditor.cxx: Change layout of labeled number entries. * gl/src/TGLLightSet.cxx: Fix positioning of front light. White-space consolidation. * gl/src/TGLLightSetEditor.cxx: * gl/inc/TGLLightSetEditor.h: Put GUI for the 6 lights in two columns. /**************************************************************************/ * tutorials/gl/glViewerExercise.C: Follow-up on changes in TGLCamera. Enable rotation on orthographic camera. * tutorials/gl/glViewerLOD.C: Workourond for cint bug with switch statements. git-svn-id: http://root.cern.ch/svn/root/trunk@20292 27541ba8-7e3a-0410-8455-c3a389f83636
Showing
- base/inc/TVirtualViewer3D.h 1 addition, 0 deletionsbase/inc/TVirtualViewer3D.h
- ged/src/TGedEditor.cxx 1 addition, 1 deletionged/src/TGedEditor.cxx
- gl/inc/TGLCamera.h 45 additions, 10 deletionsgl/inc/TGLCamera.h
- gl/inc/TGLLightSetEditor.h 2 additions, 2 deletionsgl/inc/TGLLightSetEditor.h
- gl/inc/TGLOrthoCamera.h 18 additions, 19 deletionsgl/inc/TGLOrthoCamera.h
- gl/inc/TGLPerspectiveCamera.h 4 additions, 23 deletionsgl/inc/TGLPerspectiveCamera.h
- gl/inc/TGLScenePad.h 1 addition, 0 deletionsgl/inc/TGLScenePad.h
- gl/inc/TGLUtil.h 104 additions, 25 deletionsgl/inc/TGLUtil.h
- gl/inc/TGLViewer.h 17 additions, 4 deletionsgl/inc/TGLViewer.h
- gl/inc/TGLViewerEditor.h 19 additions, 2 deletionsgl/inc/TGLViewerEditor.h
- gl/src/TGLCamera.cxx 189 additions, 7 deletionsgl/src/TGLCamera.cxx
- gl/src/TGLClipSetEditor.cxx 12 additions, 20 deletionsgl/src/TGLClipSetEditor.cxx
- gl/src/TGLLightSet.cxx 12 additions, 20 deletionsgl/src/TGLLightSet.cxx
- gl/src/TGLLightSetEditor.cxx 31 additions, 18 deletionsgl/src/TGLLightSetEditor.cxx
- gl/src/TGLOrthoCamera.cxx 202 additions, 268 deletionsgl/src/TGLOrthoCamera.cxx
- gl/src/TGLPerspectiveCamera.cxx 59 additions, 150 deletionsgl/src/TGLPerspectiveCamera.cxx
- gl/src/TGLScenePad.cxx 53 additions, 45 deletionsgl/src/TGLScenePad.cxx
- gl/src/TGLUtil.cxx 168 additions, 20 deletionsgl/src/TGLUtil.cxx
- gl/src/TGLViewer.cxx 94 additions, 40 deletionsgl/src/TGLViewer.cxx
- gl/src/TGLViewerEditor.cxx 179 additions, 73 deletionsgl/src/TGLViewerEditor.cxx
Loading
Please register or sign in to comment