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 27 of file TGLSceneInfo.h.
Public Types | |
enum | EClipTest { kClipNone , kClipOutside , kClipInside } |
Static Public Member Functions | |
static TClass * | Class () |
static const char * | Class_Name () |
static constexpr Version_t | Class_Version () |
static const char * | DeclFileName () |
Private Member Functions | |
TGLSceneInfo (const TGLSceneInfo &)=delete | |
TGLSceneInfo & | operator= (const TGLSceneInfo &)=delete |
Friends | |
class | TGLSceneBase |
#include <TGLSceneInfo.h>
Enumerator | |
---|---|
kClipNone | |
kClipOutside | |
kClipInside |
Definition at line 32 of file TGLSceneInfo.h.
|
privatedelete |
TGLSceneInfo::TGLSceneInfo | ( | TGLViewerBase * | view = nullptr , |
TGLSceneBase * | scene = nullptr |
||
) |
Definition at line 36 of file TGLSceneInfo.cxx.
|
inlinevirtual |
Definition at line 80 of file TGLSceneInfo.h.
|
inline |
Definition at line 150 of file TGLSceneInfo.h.
|
static |
|
inlinestaticconstexpr |
Definition at line 158 of file TGLSceneInfo.h.
|
inline |
Definition at line 122 of file TGLSceneInfo.h.
|
inline |
Definition at line 102 of file TGLSceneInfo.h.
|
inline |
Definition at line 103 of file TGLSceneInfo.h.
|
inline |
Definition at line 109 of file TGLSceneInfo.h.
|
inline |
Definition at line 146 of file TGLSceneInfo.h.
|
inlinestatic |
Definition at line 158 of file TGLSceneInfo.h.
|
inline |
Definition at line 108 of file TGLSceneInfo.h.
|
inline |
Definition at line 87 of file TGLSceneInfo.h.
|
inline |
Definition at line 84 of file TGLSceneInfo.h.
|
inline |
Definition at line 92 of file TGLSceneInfo.h.
|
inline |
Definition at line 82 of file TGLSceneInfo.h.
|
inline |
Definition at line 154 of file TGLSceneInfo.h.
|
inline |
Definition at line 101 of file TGLSceneInfo.h.
|
inline |
Definition at line 99 of file TGLSceneInfo.h.
|
inlinevirtual |
Definition at line 158 of file TGLSceneInfo.h.
|
inline |
Definition at line 100 of file TGLSceneInfo.h.
|
inline |
Definition at line 98 of file TGLSceneInfo.h.
|
inline |
Definition at line 106 of file TGLSceneInfo.h.
|
inline |
Definition at line 139 of file TGLSceneInfo.h.
|
inline |
Definition at line 136 of file TGLSceneInfo.h.
|
inline |
Definition at line 125 of file TGLSceneInfo.h.
|
inline |
Definition at line 133 of file TGLSceneInfo.h.
|
inline |
Definition at line 128 of file TGLSceneInfo.h.
|
inline |
Definition at line 131 of file TGLSceneInfo.h.
|
inline |
Definition at line 111 of file TGLSceneInfo.h.
|
inline |
Definition at line 119 of file TGLSceneInfo.h.
|
privatedelete |
|
inline |
Definition at line 85 of file TGLSceneInfo.h.
|
inline |
Definition at line 83 of file TGLSceneInfo.h.
|
inline |
Definition at line 152 of file TGLSceneInfo.h.
|
inline |
Definition at line 148 of file TGLSceneInfo.h.
|
inline |
Definition at line 144 of file TGLSceneInfo.h.
|
inline |
Definition at line 156 of file TGLSceneInfo.h.
|
inline |
Definition at line 142 of file TGLSceneInfo.h.
void TGLSceneInfo::SetActive | ( | Bool_t | a | ) |
Set active state of the scene, mark viewer as changed.
Definition at line 70 of file TGLSceneInfo.cxx.
|
inline |
Definition at line 151 of file TGLSceneInfo.h.
|
inline |
Definition at line 123 of file TGLSceneInfo.h.
|
inline |
Definition at line 147 of file TGLSceneInfo.h.
|
inline |
Definition at line 140 of file TGLSceneInfo.h.
|
inline |
Definition at line 137 of file TGLSceneInfo.h.
|
inline |
Definition at line 126 of file TGLSceneInfo.h.
|
inline |
Definition at line 134 of file TGLSceneInfo.h.
|
inline |
Definition at line 129 of file TGLSceneInfo.h.
|
inline |
Definition at line 132 of file TGLSceneInfo.h.
|
inline |
Definition at line 112 of file TGLSceneInfo.h.
|
inline |
Definition at line 120 of file TGLSceneInfo.h.
|
inline |
Definition at line 143 of file TGLSceneInfo.h.
|
inlinevirtual |
Definition at line 94 of file TGLSceneInfo.h.
|
inline |
Definition at line 115 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.
|
inline |
Definition at line 118 of file TGLSceneInfo.h.
|
inline |
Definition at line 105 of file TGLSceneInfo.h.
|
virtual |
|
inline |
Definition at line 158 of file TGLSceneInfo.h.
|
inline |
Definition at line 114 of file TGLSceneInfo.h.
|
inline |
Definition at line 155 of file TGLSceneInfo.h.
|
inline |
Definition at line 96 of file TGLSceneInfo.h.
|
inline |
Definition at line 97 of file TGLSceneInfo.h.
|
inline |
Definition at line 117 of file TGLSceneInfo.h.
|
friend |
Definition at line 29 of file TGLSceneInfo.h.
|
protected |
Definition at line 41 of file TGLSceneInfo.h.
|
protected |
Definition at line 58 of file TGLSceneInfo.h.
|
protected |
Definition at line 47 of file TGLSceneInfo.h.
|
protected |
Definition at line 71 of file TGLSceneInfo.h.
|
protected |
Definition at line 73 of file TGLSceneInfo.h.
|
protected |
Definition at line 57 of file TGLSceneInfo.h.
|
protected |
Definition at line 72 of file TGLSceneInfo.h.
|
protected |
Definition at line 70 of file TGLSceneInfo.h.
|
protected |
Definition at line 69 of file TGLSceneInfo.h.
|
protected |
Definition at line 54 of file TGLSceneInfo.h.
|
protected |
Definition at line 53 of file TGLSceneInfo.h.
|
protected |
Definition at line 49 of file TGLSceneInfo.h.
|
protected |
Definition at line 52 of file TGLSceneInfo.h.
|
protected |
Definition at line 50 of file TGLSceneInfo.h.
|
protected |
Definition at line 51 of file TGLSceneInfo.h.
|
protected |
Definition at line 43 of file TGLSceneInfo.h.
|
protected |
Definition at line 46 of file TGLSceneInfo.h.
|
protected |
Definition at line 40 of file TGLSceneInfo.h.
|
protected |
Definition at line 56 of file TGLSceneInfo.h.
|
protected |
Definition at line 44 of file TGLSceneInfo.h.
|
protected |
Definition at line 66 of file TGLSceneInfo.h.
|
protected |
Definition at line 59 of file TGLSceneInfo.h.
|
protected |
Definition at line 68 of file TGLSceneInfo.h.
|
protected |
Definition at line 39 of file TGLSceneInfo.h.
|
protected |
Definition at line 45 of file TGLSceneInfo.h.