ROOT
6.07/01
Reference Guide
|
Base class for extended scene context.
Scenes can be shared among several viewers and each scene needs to cache some viewer/camera/clipping specific state => this is a storage class for this data.
Sub-classes of TGLSceneBase can override the virtual CreateSceneInfo() method and in it instantiate a sub-class of TGLSceneInfo containing the needed information. See TGLScene and inner class SceneInfo; note that some casting is needed in actual methods as TGLRnrCtx holds the base-class pointer.
Definition at line 26 of file TGLSceneInfo.h.
Public Types | |
enum | EClipTest { kClipNone, kClipOutside, kClipInside } |
Private Member Functions | |
TGLSceneInfo (const TGLSceneInfo &) | |
TGLSceneInfo & | operator= (const TGLSceneInfo &) |
Friends | |
class | TGLSceneBase |
#include <TGLSceneInfo.h>
Enumerator | |
---|---|
kClipNone | |
kClipOutside | |
kClipInside |
Definition at line 31 of file TGLSceneInfo.h.
|
private |
TGLSceneInfo::TGLSceneInfo | ( | TGLViewerBase * | view = 0 , |
TGLSceneBase * | scene = 0 |
||
) |
|
inlinevirtual |
Definition at line 79 of file TGLSceneInfo.h.
|
inline |
Definition at line 149 of file TGLSceneInfo.h.
Referenced by TGLSceneBase::PreDraw().
|
inline |
Definition at line 121 of file TGLSceneInfo.h.
Referenced by TGLSceneBase::PreDraw().
|
inline |
Definition at line 101 of file TGLSceneInfo.h.
Referenced by TGLScene::RenderAllPasses(), TGLSceneBase::UpdateSceneInfo(), and TGLScene::UpdateSceneInfo().
Definition at line 102 of file TGLSceneInfo.h.
|
inline |
Definition at line 108 of file TGLSceneInfo.h.
Referenced by TGLScene::RenderAllPasses(), TGLSceneBase::UpdateSceneInfo(), and TGLScene::UpdateSceneInfo().
|
inline |
Definition at line 145 of file TGLSceneInfo.h.
Referenced by TGLSceneBase::PreDraw().
|
inline |
Definition at line 107 of file TGLSceneInfo.h.
Referenced by TGLSceneBase::UpdateSceneInfo(), and TGLScene::UpdateSceneInfo().
|
inline |
Definition at line 86 of file TGLSceneInfo.h.
Referenced by TGLViewerBase::MergeSceneBBoxes(), and TGLViewerBase::PreRender().
|
inline |
Definition at line 83 of file TGLSceneInfo.h.
Referenced by TGLViewer::DoSecondarySelect(), TEveSceneInfo::GetGLScene(), TGLRnrCtx::GetScene(), TGLScene::LodifySceneInfo(), TGLViewerBase::PostRender(), TGLScene::PreDraw(), TGLViewerBase::PreRender(), TGLScene::RebuildSceneInfo(), TGLRnrCtx::RefScene(), TGLViewerBase::RemoveAllScenes(), TGLViewerBase::ResolveSelectRecord(), TGLViewerBase::SubRenderScenes(), and TGLScene::UpdateSceneInfo().
|
inline |
Definition at line 91 of file TGLSceneInfo.h.
Referenced by TGLViewerBase::MergeSceneBBoxes(), TGLViewerBase::PreRender(), and TGLAutoRotator::RotateScene().
|
inline |
Definition at line 81 of file TGLSceneInfo.h.
|
inline |
Definition at line 153 of file TGLSceneInfo.h.
Referenced by TGLSceneBase::PreDraw().
Definition at line 100 of file TGLSceneInfo.h.
Referenced by TGLSceneBase::UpdateSceneInfo().
Definition at line 98 of file TGLSceneInfo.h.
Referenced by TGLSceneBase::UpdateSceneInfo().
|
inline |
Definition at line 99 of file TGLSceneInfo.h.
|
inline |
Definition at line 97 of file TGLSceneInfo.h.
|
inline |
Definition at line 105 of file TGLSceneInfo.h.
Referenced by TGLViewerBase::PreRender(), and TGLScene::UpdateSceneInfo().
|
inline |
Definition at line 138 of file TGLSceneInfo.h.
Referenced by TGLSceneBase::PreDraw().
|
inline |
Definition at line 135 of file TGLSceneInfo.h.
Referenced by TGLSceneBase::PreDraw(), and TGLSceneBase::PreRender().
|
inline |
Definition at line 124 of file TGLSceneInfo.h.
Referenced by TGLSceneBase::PreDraw(), and TGLSceneBase::PreRender().
|
inline |
Definition at line 132 of file TGLSceneInfo.h.
Referenced by TGLSceneBase::PreRender().
|
inline |
Definition at line 127 of file TGLSceneInfo.h.
Referenced by TGLSceneBase::PreRender().
|
inline |
Definition at line 130 of file TGLSceneInfo.h.
Referenced by TGLSceneBase::PreRender().
|
inline |
Definition at line 110 of file TGLSceneInfo.h.
Referenced by TGLSceneBase::PreDraw().
|
inline |
Definition at line 118 of file TGLSceneInfo.h.
Referenced by TGLSceneBase::PreDraw().
|
private |
|
inline |
Definition at line 84 of file TGLSceneInfo.h.
|
inline |
Definition at line 82 of file TGLSceneInfo.h.
|
inline |
Definition at line 151 of file TGLSceneInfo.h.
Referenced by TGLSceneBase::PreDraw().
|
inline |
Definition at line 147 of file TGLSceneInfo.h.
Referenced by TGLSceneBase::PreDraw().
|
inline |
Definition at line 143 of file TGLSceneInfo.h.
Referenced by SetSceneTrans().
|
inline |
Definition at line 155 of file TGLSceneInfo.h.
Referenced by TGLScene::UpdateSceneInfo().
|
inline |
Definition at line 141 of file TGLSceneInfo.h.
Referenced by TGLSceneBase::PreDraw().
Set active state of the scene, mark viewer as changed.
Definition at line 70 of file TGLSceneInfo.cxx.
Referenced by TEveSceneInfo::AddStamp().
Definition at line 150 of file TGLSceneInfo.h.
Referenced by TGLSceneBase::UpdateSceneInfo().
Definition at line 122 of file TGLSceneInfo.h.
Definition at line 146 of file TGLSceneInfo.h.
Referenced by TGLSceneBase::UpdateSceneInfo().
Definition at line 139 of file TGLSceneInfo.h.
Referenced by TGLSceneBase::RebuildSceneInfo(), and TGLSceneBase::UpdateSceneInfo().
Definition at line 136 of file TGLSceneInfo.h.
Referenced by TGLSceneBase::RebuildSceneInfo(), and TGLSceneBase::UpdateSceneInfo().
Definition at line 125 of file TGLSceneInfo.h.
Referenced by TGLSceneBase::LodifySceneInfo(), and TGLSceneBase::UpdateSceneInfo().
Definition at line 133 of file TGLSceneInfo.h.
Referenced by TGLSceneBase::PreDraw().
Definition at line 128 of file TGLSceneInfo.h.
Referenced by TGLSceneBase::PreDraw(), and TGLSceneBase::UpdateSceneInfo().
Definition at line 131 of file TGLSceneInfo.h.
Referenced by TGLSceneBase::PreDraw().
Definition at line 111 of file TGLSceneInfo.h.
Definition at line 119 of file TGLSceneInfo.h.
Definition at line 142 of file TGLSceneInfo.h.
Referenced by TGLSceneBase::UpdateSceneInfo().
Definition at line 93 of file TGLSceneInfo.h.
Definition at line 114 of file TGLSceneInfo.h.
void TGLSceneInfo::SetupTransformsAndBBox | ( | ) |
Combine information from scene, scene-info and camera (should be optional) into transformation matrices.
Transform scene bounding box using this transformation.
Definition at line 85 of file TGLSceneInfo.cxx.
Referenced by TGLViewerBase::MergeSceneBBoxes(), and TGLViewerBase::PreRender().
Definition at line 117 of file TGLSceneInfo.h.
|
inline |
Definition at line 104 of file TGLSceneInfo.h.
Referenced by TGLScene::RenderAllPasses().
|
inline |
Definition at line 113 of file TGLSceneInfo.h.
Referenced by TGLSceneBase::PreDraw().
|
inline |
Definition at line 154 of file TGLSceneInfo.h.
Referenced by TGLScene::UpdateSceneInfo().
|
inline |
Definition at line 95 of file TGLSceneInfo.h.
Referenced by TGLViewerBase::PreRender().
Definition at line 96 of file TGLSceneInfo.h.
|
inline |
Definition at line 116 of file TGLSceneInfo.h.
Referenced by TGLSceneBase::PreDraw().
|
friend |
Definition at line 28 of file TGLSceneInfo.h.
|
protected |
Definition at line 40 of file TGLSceneInfo.h.
Referenced by GetActive(), and SetActive().
|
protected |
Definition at line 57 of file TGLSceneInfo.h.
Referenced by CameraStamp(), ResetCameraStamp(), and SetCameraStamp().
|
protected |
Definition at line 46 of file TGLSceneInfo.h.
|
protected |
Definition at line 70 of file TGLSceneInfo.h.
Referenced by ClipMode(), and ShouldClip().
|
protected |
Definition at line 72 of file TGLSceneInfo.h.
Referenced by ClipPlanes().
|
protected |
Definition at line 56 of file TGLSceneInfo.h.
Referenced by ClipStamp(), ResetClipStamp(), and SetClipStamp().
|
protected |
Definition at line 71 of file TGLSceneInfo.h.
Referenced by FrustumPlanes().
|
protected |
Definition at line 69 of file TGLSceneInfo.h.
Referenced by InClip(), IsInClip(), and IsVisible().
|
protected |
Definition at line 68 of file TGLSceneInfo.h.
Referenced by InFrustum(), IsInFrustum(), and IsVisible().
|
protected |
Definition at line 53 of file TGLSceneInfo.h.
Referenced by LastCamera(), and SetLastCamera().
|
protected |
Definition at line 52 of file TGLSceneInfo.h.
Referenced by LastClip(), and SetLastClip().
|
protected |
Definition at line 48 of file TGLSceneInfo.h.
Referenced by LastLOD(), and SetLastLOD().
|
protected |
Definition at line 51 of file TGLSceneInfo.h.
Referenced by LastOLLineW(), and SetLastOLLineW().
|
protected |
Definition at line 49 of file TGLSceneInfo.h.
Referenced by LastStyle(), and SetLastStyle().
|
protected |
Definition at line 50 of file TGLSceneInfo.h.
Referenced by LastWFLineW(), and SetLastWFLineW().
|
protected |
Definition at line 42 of file TGLSceneInfo.h.
|
protected |
Definition at line 45 of file TGLSceneInfo.h.
Referenced by OLLineW(), and SetOLLineW().
|
protected |
Definition at line 39 of file TGLSceneInfo.h.
Referenced by GetScene(), RefScene(), and SetupTransformsAndBBox().
|
protected |
Definition at line 55 of file TGLSceneInfo.h.
Referenced by ResetSceneStamp(), SceneStamp(), and SetSceneStamp().
|
protected |
Definition at line 43 of file TGLSceneInfo.h.
Referenced by SetStyle(), and Style().
|
protected |
Definition at line 65 of file TGLSceneInfo.h.
Referenced by GetTransformedBBox(), and SetupTransformsAndBBox().
|
protected |
Definition at line 58 of file TGLSceneInfo.h.
Referenced by HasUpdateTimeouted(), ResetUpdateTimeouted(), and UpdateTimeouted().
|
protected |
Definition at line 67 of file TGLSceneInfo.h.
Referenced by ViewCheck().
|
protected |
Definition at line 38 of file TGLSceneInfo.h.
Referenced by GetViewer(), RefViewer(), and SetActive().
|
protected |
Definition at line 44 of file TGLSceneInfo.h.
Referenced by SetWFLineW(), and WFLineW().