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 |
||
) |
Definition at line 36 of file TGLSceneInfo.cxx.
|
inlinevirtual |
Definition at line 79 of file TGLSceneInfo.h.
|
inline |
Definition at line 149 of file TGLSceneInfo.h.
|
inline |
Definition at line 121 of file TGLSceneInfo.h.
|
inline |
Definition at line 101 of file TGLSceneInfo.h.
Definition at line 102 of file TGLSceneInfo.h.
|
inline |
Definition at line 108 of file TGLSceneInfo.h.
|
inline |
Definition at line 145 of file TGLSceneInfo.h.
|
inline |
Definition at line 107 of file TGLSceneInfo.h.
|
inline |
Definition at line 86 of file TGLSceneInfo.h.
|
inline |
Definition at line 83 of file TGLSceneInfo.h.
|
inline |
Definition at line 91 of file TGLSceneInfo.h.
|
inline |
Definition at line 81 of file TGLSceneInfo.h.
|
inline |
Definition at line 153 of file TGLSceneInfo.h.
Definition at line 100 of file TGLSceneInfo.h.
Definition at line 98 of file TGLSceneInfo.h.
|
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.
|
inline |
Definition at line 138 of file TGLSceneInfo.h.
|
inline |
Definition at line 135 of file TGLSceneInfo.h.
|
inline |
Definition at line 124 of file TGLSceneInfo.h.
|
inline |
Definition at line 132 of file TGLSceneInfo.h.
|
inline |
Definition at line 127 of file TGLSceneInfo.h.
|
inline |
Definition at line 130 of file TGLSceneInfo.h.
|
inline |
Definition at line 110 of file TGLSceneInfo.h.
|
inline |
Definition at line 118 of file TGLSceneInfo.h.
|
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.
|
inline |
Definition at line 147 of file TGLSceneInfo.h.
|
inline |
Definition at line 143 of file TGLSceneInfo.h.
|
inline |
Definition at line 155 of file TGLSceneInfo.h.
|
inline |
Definition at line 141 of file TGLSceneInfo.h.
Set active state of the scene, mark viewer as changed.
Definition at line 70 of file TGLSceneInfo.cxx.
Definition at line 150 of file TGLSceneInfo.h.
Definition at line 122 of file TGLSceneInfo.h.
Definition at line 146 of file TGLSceneInfo.h.
Definition at line 139 of file TGLSceneInfo.h.
Definition at line 136 of file TGLSceneInfo.h.
Definition at line 125 of file TGLSceneInfo.h.
Definition at line 133 of file TGLSceneInfo.h.
Definition at line 128 of file TGLSceneInfo.h.
Definition at line 131 of file TGLSceneInfo.h.
Definition at line 111 of file TGLSceneInfo.h.
Definition at line 119 of file TGLSceneInfo.h.
Definition at line 142 of file TGLSceneInfo.h.
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.
Definition at line 117 of file TGLSceneInfo.h.
|
inline |
Definition at line 104 of file TGLSceneInfo.h.
|
inline |
Definition at line 113 of file TGLSceneInfo.h.
|
inline |
Definition at line 154 of file TGLSceneInfo.h.
|
inline |
Definition at line 95 of file TGLSceneInfo.h.
Definition at line 96 of file TGLSceneInfo.h.
|
inline |
Definition at line 116 of file TGLSceneInfo.h.
|
friend |
Definition at line 28 of file TGLSceneInfo.h.
|
protected |
Definition at line 40 of file TGLSceneInfo.h.
|
protected |
Definition at line 57 of file TGLSceneInfo.h.
|
protected |
Definition at line 46 of file TGLSceneInfo.h.
|
protected |
Definition at line 70 of file TGLSceneInfo.h.
|
protected |
Definition at line 72 of file TGLSceneInfo.h.
|
protected |
Definition at line 56 of file TGLSceneInfo.h.
|
protected |
Definition at line 71 of file TGLSceneInfo.h.
|
protected |
Definition at line 69 of file TGLSceneInfo.h.
|
protected |
Definition at line 68 of file TGLSceneInfo.h.
|
protected |
Definition at line 53 of file TGLSceneInfo.h.
|
protected |
Definition at line 52 of file TGLSceneInfo.h.
|
protected |
Definition at line 48 of file TGLSceneInfo.h.
|
protected |
Definition at line 51 of file TGLSceneInfo.h.
|
protected |
Definition at line 49 of file TGLSceneInfo.h.
|
protected |
Definition at line 50 of file TGLSceneInfo.h.
|
protected |
Definition at line 42 of file TGLSceneInfo.h.
|
protected |
Definition at line 45 of file TGLSceneInfo.h.
|
protected |
Definition at line 39 of file TGLSceneInfo.h.
|
protected |
Definition at line 55 of file TGLSceneInfo.h.
|
protected |
Definition at line 43 of file TGLSceneInfo.h.
|
protected |
Definition at line 65 of file TGLSceneInfo.h.
|
protected |
Definition at line 58 of file TGLSceneInfo.h.
|
protected |
Definition at line 67 of file TGLSceneInfo.h.
|
protected |
Definition at line 38 of file TGLSceneInfo.h.
|
protected |
Definition at line 44 of file TGLSceneInfo.h.