#include <TGLScenePad.h>
Inheritance diagram for TGLScenePad:
Definition at line 30 of file TGLScenePad.h.
typedef std::pair<UInt_t, RootCsg::TBaseMesh*> TGLScenePad::CSPart_t [protected] |
Definition at line 51 of file TGLScenePad.h.
typedef std::pair<UInt_t, RootCsg::TBaseMesh*> TGLScenePad::CSPart_t [protected] |
Definition at line 51 of file TGLScenePad.h.
TGLScenePad::TGLScenePad | ( | const TGLScenePad & | ) | [private] |
TGLScenePad::TGLScenePad | ( | TVirtualPad * | pad | ) |
cache logicals during scene rebuilds
virtual TGLScenePad::~TGLScenePad | ( | ) | [inline, virtual] |
Definition at line 63 of file TGLScenePad.h.
TGLScenePad::TGLScenePad | ( | const TGLScenePad & | ) | [private] |
TGLScenePad::TGLScenePad | ( | TVirtualPad * | pad | ) |
cache logicals during scene rebuilds
virtual TGLScenePad::~TGLScenePad | ( | ) | [inline, virtual] |
Definition at line 63 of file TGLScenePad.h.
TGLScenePad& TGLScenePad::operator= | ( | const TGLScenePad & | ) | [private] |
Int_t TGLScenePad::ValidateObjectBuffer | ( | const TBuffer3D & | buffer, | |
Bool_t | includeRaw | |||
) | const [protected] |
Definition at line 495 of file TGLScenePad.cxx.
References buffer, TObject::Error(), fComposite, TBuffer3D::kBoundingBox, TBuffer3DTypes::kComposite, TBuffer3D::kCore, TBuffer3DTypes::kCutTube, kFALSE, TBuffer3D::kNone, TBuffer3D::kRaw, TBuffer3D::kRawSizes, TBuffer3D::kShapeSpecific, TBuffer3DTypes::kSphere, kTRUE, TBuffer3DTypes::kTube, and TBuffer3DTypes::kTubeSeg.
Referenced by AddObject().
TGLLogicalShape * TGLScenePad::CreateNewLogical | ( | const TBuffer3D & | buffer | ) | const [protected] |
Definition at line 567 of file TGLScenePad.cxx.
References buffer, TObject::Error(), fComposite, TBuffer3DSphere::IsSolidUncut(), TBuffer3DTypes::kComposite, TBuffer3DTypes::kCutTube, TBuffer3DTypes::kLine, TBuffer3DTypes::kMarker, TBuffer3D::kRaw, TBuffer3D::kRawSizes, TBuffer3DTypes::kSphere, TBuffer3DTypes::kTube, and TBuffer3DTypes::kTubeSeg.
Referenced by AddObject().
TGLPhysicalShape * TGLScenePad::CreateNewPhysical | ( | UInt_t | physicalID, | |
const TBuffer3D & | buffer, | |||
const TGLLogicalShape & | logical | |||
) | const [protected] |
Definition at line 641 of file TGLScenePad.cxx.
References buffer, and TGLScene::RGBAFromColorIdx().
Referenced by AddObject().
RootCsg::TBaseMesh * TGLScenePad::BuildComposite | ( | ) | [protected] |
Definition at line 659 of file TGLScenePad.cxx.
References RootCsg::BuildDifference(), RootCsg::BuildIntersection(), RootCsg::BuildUnion(), TObject::Error(), fCSLevel, fCSTokens, TBuffer3D::kCSDifference, TBuffer3D::kCSIntersection, TBuffer3D::kCSNoOp, and TBuffer3D::kCSUnion.
Referenced by CloseComposite().
TGLLogicalShape * TGLScenePad::AttemptDirectRenderer | ( | TObject * | id | ) | [protected] |
Definition at line 685 of file TGLScenePad.cxx.
References TGLScene::AdoptLogical(), TGLObject::GetGLRenderer(), id, kFALSE, TClass::New(), TGLObject::SetBBox(), TGLObject::SetModel(), and TObject::Warning().
Referenced by AddObject().
TVirtualPad* TGLScenePad::GetPad | ( | ) | const [inline] |
void TGLScenePad::AddHistoPhysical | ( | TGLLogicalShape * | log | ) |
Definition at line 70 of file TGLScenePad.cxx.
References TGLScene::AdoptPhysical(), TMath::DegToRad(), fNextInternalPID, gPad, log(), TMath::Min(), TMath::PiOver2(), TGLMatrix::RotateLF(), TGLMatrix::Scale(), size, TMath::Sqrt(), TGLMatrix::Translate(), TGLBoundingBox::XMax(), and TGLBoundingBox::XMin().
Referenced by ObjectPaint().
void TGLScenePad::SubPadPaint | ( | TVirtualPad * | pad | ) |
Definition at line 120 of file TGLScenePad.cxx.
References TList::FirstLink(), TVirtualPad::GetListOfPrimitives(), TObjLink::GetObject(), TObjOptLink::GetOption(), TVirtualPad::GetViewer3D(), gPad, TObjLink::Next(), ObjectPaint(), and TVirtualPad::SetViewer3D().
Referenced by ObjectPaint(), and PadPaint().
void TGLScenePad::PadPaintFromViewer | ( | TGLViewer * | viewer | ) | [virtual] |
Definition at line 172 of file TGLScenePad.cxx.
References fPad, fSmartRefresh, TGLViewer::GetSmartRefresh(), and PadPaint().
Referenced by TGLViewer::PadPaint().
Bool_t TGLScenePad::GetSmartRefresh | ( | ) | const [inline] |
void TGLScenePad::SetSmartRefresh | ( | Bool_t | smart_ref | ) | [inline] |
Definition at line 76 of file TGLScenePad.h.
References fSmartRefresh.
Referenced by TEveScene::Repaint(), and TEveScene::TEveScene().
virtual Bool_t TGLScenePad::CanLoopOnPrimitives | ( | ) | const [inline, virtual] |
void TGLScenePad::PadPaint | ( | TVirtualPad * | pad | ) | [virtual] |
Reimplemented from TVirtualViewer3D.
Definition at line 186 of file TGLScenePad.cxx.
References BeginScene(), EndScene(), TObject::Error(), fPad, and SubPadPaint().
Referenced by PadPaintFromViewer(), and TEveScene::Repaint().
Reimplemented from TVirtualViewer3D.
Definition at line 143 of file TGLScenePad.cxx.
References AddHistoPhysical(), TGLScene::AdoptLogical(), xmlio::Class, TGLPlot3D::CreatePlot(), gPad, log(), and SubPadPaint().
Referenced by SubPadPaint().
virtual Bool_t TGLScenePad::PreferLocalFrame | ( | ) | const [inline, virtual] |
void TGLScenePad::BeginScene | ( | ) | [virtual] |
Implements TVirtualViewer3D.
Definition at line 210 of file TGLScenePad.cxx.
References TGLScene::BeginSmartRefresh(), TGLScene::BeginUpdate(), TGLScene::DestroyLogicals(), TGLScene::DestroyPhysicals(), TGLScene::DumpMapSizes(), TGLStopwatch::End(), TObject::Error(), fAcceptedPhysicals, fInternalPIDs, fLastPID, fNextInternalPID, fSmartRefresh, gDebug, TObject::Info(), kFALSE, and TGLStopwatch::Start().
Referenced by TEveGeoPolyShape::Construct(), TEveGeoNode::DumpShapeTree(), and PadPaint().
virtual Bool_t TGLScenePad::BuildingScene | ( | ) | const [inline, virtual] |
Implements TVirtualViewer3D.
Definition at line 92 of file TGLScenePad.h.
References TGLLockable::CurrentLock(), and TGLLockable::kModifyLock.
void TGLScenePad::EndScene | ( | ) | [virtual] |
Implements TVirtualViewer3D.
Definition at line 264 of file TGLScenePad.cxx.
References TGLScene::DumpMapSizes(), TGLScene::EndSmartRefresh(), TGLScene::EndUpdate(), fAcceptedPhysicals, fSmartRefresh, gDebug, and TObject::Info().
Referenced by TEveGeoPolyShape::Construct(), TEveGeoNode::DumpShapeTree(), and PadPaint().
Implements TVirtualViewer3D.
Definition at line 283 of file TGLScenePad.cxx.
References buffer, fInternalPIDs, fNextInternalPID, and kTRUE.
Referenced by OpenComposite().
Int_t TGLScenePad::AddObject | ( | UInt_t | physicalID, | |
const TBuffer3D & | buffer, | |||
Bool_t * | addChildren = 0 | |||
) | [virtual] |
Implements TVirtualViewer3D.
Definition at line 296 of file TGLScenePad.cxx.
References TGLScene::AdoptLogical(), TGLScene::AdoptPhysical(), AttemptDirectRenderer(), buffer, RootCsg::ConvertToMesh(), CreateNewLogical(), CreateNewPhysical(), TGLLockable::CurrentLock(), TObject::Error(), fAcceptedPhysicals, fComposite, fCSTokens, TGLScene::FindLogical(), TGLScene::FindPhysical(), fInternalPIDs, fLastPID, fNextInternalPID, gDebug, TObject::Info(), TBuffer3D::kCSNoOp, TGLLockable::kModifyLock, TBuffer3D::kNone, kTRUE, and ValidateObjectBuffer().
Implements TVirtualViewer3D.
Definition at line 436 of file TGLScenePad.cxx.
References AddObject(), buffer, TObject::Error(), fComposite, kFALSE, TBuffer3D::kNone, and kTRUE.
void TGLScenePad::CloseComposite | ( | ) | [virtual] |
Implements TVirtualViewer3D.
Definition at line 461 of file TGLScenePad.cxx.
References BuildComposite(), fComposite, fCSLevel, fCSTokens, i, and TGLFaceSet::SetFromMesh().
void TGLScenePad::AddCompositeOp | ( | UInt_t | operation | ) | [virtual] |
TGLScenePad::ClassDef | ( | TGLScenePad | , | |
0 | ||||
) |
TGLScenePad& TGLScenePad::operator= | ( | const TGLScenePad & | ) | [private] |
Int_t TGLScenePad::ValidateObjectBuffer | ( | const TBuffer3D & | buffer, | |
Bool_t | includeRaw | |||
) | const [protected] |
TGLLogicalShape* TGLScenePad::CreateNewLogical | ( | const TBuffer3D & | buffer | ) | const [protected] |
TGLPhysicalShape* TGLScenePad::CreateNewPhysical | ( | UInt_t | physicalID, | |
const TBuffer3D & | buffer, | |||
const TGLLogicalShape & | logical | |||
) | const [protected] |
RootCsg::TBaseMesh* TGLScenePad::BuildComposite | ( | ) | [protected] |
TGLLogicalShape* TGLScenePad::AttemptDirectRenderer | ( | TObject * | id | ) | [protected] |
TVirtualPad* TGLScenePad::GetPad | ( | ) | const [inline] |
void TGLScenePad::AddHistoPhysical | ( | TGLLogicalShape * | log | ) |
void TGLScenePad::SubPadPaint | ( | TVirtualPad * | pad | ) |
virtual void TGLScenePad::PadPaintFromViewer | ( | TGLViewer * | viewer | ) | [virtual] |
Bool_t TGLScenePad::GetSmartRefresh | ( | ) | const [inline] |
void TGLScenePad::SetSmartRefresh | ( | Bool_t | smart_ref | ) | [inline] |
virtual Bool_t TGLScenePad::CanLoopOnPrimitives | ( | ) | const [inline, virtual] |
virtual void TGLScenePad::PadPaint | ( | TVirtualPad * | pad | ) | [virtual] |
Reimplemented from TVirtualViewer3D.
Reimplemented from TVirtualViewer3D.
virtual Bool_t TGLScenePad::PreferLocalFrame | ( | ) | const [inline, virtual] |
virtual void TGLScenePad::BeginScene | ( | ) | [virtual] |
Implements TVirtualViewer3D.
virtual Bool_t TGLScenePad::BuildingScene | ( | ) | const [inline, virtual] |
Implements TVirtualViewer3D.
Definition at line 92 of file TGLScenePad.h.
References TGLLockable::CurrentLock(), and TGLLockable::kModifyLock.
virtual void TGLScenePad::EndScene | ( | ) | [virtual] |
Implements TVirtualViewer3D.
virtual Int_t TGLScenePad::AddObject | ( | const TBuffer3D & | buffer, | |
Bool_t * | addChildren = 0 | |||
) | [virtual] |
Implements TVirtualViewer3D.
virtual Int_t TGLScenePad::AddObject | ( | UInt_t | physicalID, | |
const TBuffer3D & | buffer, | |||
Bool_t * | addChildren = 0 | |||
) | [virtual] |
Implements TVirtualViewer3D.
virtual Bool_t TGLScenePad::OpenComposite | ( | const TBuffer3D & | buffer, | |
Bool_t * | addChildren = 0 | |||
) | [virtual] |
Implements TVirtualViewer3D.
virtual void TGLScenePad::CloseComposite | ( | ) | [virtual] |
Implements TVirtualViewer3D.
virtual void TGLScenePad::AddCompositeOp | ( | UInt_t | operation | ) | [virtual] |
Implements TVirtualViewer3D.
TGLScenePad::ClassDef | ( | TGLScenePad | , | |
0 | ||||
) |
TVirtualPad* TGLScenePad::fPad [protected] |
Definition at line 37 of file TGLScenePad.h.
Referenced by GetPad(), PadPaint(), and PadPaintFromViewer().
Bool_t TGLScenePad::fInternalPIDs [protected] |
UInt_t TGLScenePad::fNextInternalPID [protected] |
using internal physical IDs
Definition at line 41 of file TGLScenePad.h.
Referenced by AddHistoPhysical(), AddObject(), and BeginScene().
UInt_t TGLScenePad::fLastPID [protected] |
next internal physical ID (from 1 - 0 reserved)
Definition at line 42 of file TGLScenePad.h.
Referenced by AddObject(), and BeginScene().
Int_t TGLScenePad::fAcceptedPhysicals [protected] |
last physical ID that was processed in AddObject()
Definition at line 43 of file TGLScenePad.h.
Referenced by AddObject(), BeginScene(), and EndScene().
TGLFaceSet* TGLScenePad::fComposite [mutable, protected] |
Definition at line 52 of file TGLScenePad.h.
Referenced by AddObject(), CloseComposite(), CreateNewLogical(), OpenComposite(), and ValidateObjectBuffer().
UInt_t TGLScenePad::fCSLevel [protected] |
Paritally created composite.
Definition at line 53 of file TGLScenePad.h.
Referenced by BuildComposite(), and CloseComposite().
std::vector<CSPart_t> TGLScenePad::fCSTokens [protected] |
Definition at line 54 of file TGLScenePad.h.
Referenced by AddCompositeOp(), AddObject(), BuildComposite(), and CloseComposite().
Bool_t TGLScenePad::fSmartRefresh [protected] |
Definition at line 59 of file TGLScenePad.h.
Referenced by BeginScene(), EndScene(), GetSmartRefresh(), PadPaintFromViewer(), and SetSmartRefresh().
TVirtualPad* TGLScenePad::fPad [protected] |
Definition at line 37 of file TGLScenePad.h.
TGLFaceSet* TGLScenePad::fComposite [mutable, protected] |
Definition at line 52 of file TGLScenePad.h.
std::vector<CSPart_t> TGLScenePad::fCSTokens [protected] |
Definition at line 54 of file TGLScenePad.h.