#include <algorithm>
#include <cassert>
#include <string>
#include <map>
#include <iostream>
#include "THLimitsFinder.h"
#include "TVirtualPad.h"
#include "TVirtualX.h"
#include "TStyle.h"
#include "TGaxis.h"
#include "TColor.h"
#include "TError.h"
#include "TAxis.h"
#include "TMath.h"
#include "TROOT.h"
#include "TEnv.h"
#include "TGLBoundingBox.h"
#include "TGLCamera.h"
#include "TGLPlotPainter.h"
#include "TGLIncludes.h"
#include "TGLQuadric.h"
#include "TGLUtil.h"
Namespaces | |
namespace | Rgl |
namespace | ROOT |
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tbb::task_arena without forward declaring tbb::interface7 | |
Macros | |
#define | CALLBACK |
Variables | |
const Int_t | Rgl::gAxisType [][2] = {{1, 0}, {0, 1}, {1, 0}, {0, 1}} |
const Double_t | Rgl::gBoxBackNormals [][3] = {{0., -1., 0.}, {-1., 0., 0.}, {0., 1., 0.}, {1., 0., 0.}} |
const Int_t | Rgl::gBoxBackPlanes [][2] = {{0, 1}, {3, 0}, {2, 3}, {1, 2}} |
const Int_t | Rgl::gBoxBackQuads [][4] = {{7, 1, 2, 6}, {4, 7, 6, 5}, {0, 4, 5, 3}, {0, 3, 2, 1}} |
const Double_t | Rgl::gBoxFrontNormals [][3] = {{-1., 0., 0.}, {0., -1., 0.}, {1., 0., 0.}, {0., 1., 0.}} |
const Int_t | Rgl::gBoxFrontPlanes [][2] = {{0, 1}, {1, 2}, {2, 3}, {3, 0}} |
const Int_t | Rgl::gBoxFrontQuads [][4] = {{0, 1, 2, 3}, {4, 0, 3, 5}, {4, 5, 6, 7}, {7, 6, 2, 1}} |
const Int_t | Rgl::gFramePoints [][2] = {{3, 1}, {0, 2}, {1, 3}, {2, 0}} |
#define CALLBACK |
Definition at line 1438 of file TGLUtil.cxx.
Find 3D line interestion of this plane with 'other'.
Returns a std::pair
first (Bool_t) second (TGLLine3) kTRUE - planes intersect intersection line between planes kFALSE - no intersect (parallel) undefined
Definition at line 516 of file TGLUtil.cxx.
std::pair< Bool_t, TGLVertex3 > Intersection | ( | const TGLPlane & | p1, |
const TGLPlane & | p2, | ||
const TGLPlane & | p3 ) |
Definition at line 531 of file TGLUtil.cxx.
std::pair< Bool_t, TGLVertex3 > Intersection | ( | const TGLPlane & | plane, |
const TGLLine3 & | line, | ||
Bool_t | extend ) |
Find intersection of 3D space 'line' with this plane.
If 'extend' is kTRUE then line extents can be extended (infinite length) to find intersection. If 'extend' is kFALSE the fixed extents of line is respected.
The return a std::pair
If intersection is not found (first == kFALSE) & 'extend' was kTRUE (infinite line) this implies line and plane are parallel. If 'extend' was kFALSE, then either line parallel or insufficient length.
Definition at line 559 of file TGLUtil.cxx.