#include <Fireworks/Core/interface/FW3DView.h>
Public Member Functions | |
FW3DView (TEveWindowSlot *, FWViewType::EType) | |
virtual TEveCaloViz * | getEveCalo () const |
virtual void | setContext (const fireworks::Context &) |
virtual | ~FW3DView () |
Private Member Functions | |
FW3DView (const FW3DView &) | |
const FW3DView & | operator= (const FW3DView &) |
Private Attributes | |
TEveCalo3D * | m_calo |
FW3DView::FW3DView | ( | TEveWindowSlot * | slot, |
FWViewType::EType | typeId | ||
) |
Definition at line 40 of file FW3DView.cc.
References FWEveView::viewerGL().
: FW3DViewBase(slot, typeId), m_calo(0) { viewerGL()->CurrentCamera().SetFixDefCenter(kTRUE); }
FW3DView::~FW3DView | ( | ) | [virtual] |
FW3DView::FW3DView | ( | const FW3DView & | ) | [private] |
TEveCaloViz * FW3DView::getEveCalo | ( | ) | const [virtual] |
Reimplemented from FWEveView.
Definition at line 54 of file FW3DView.cc.
References m_calo.
{ return static_cast<TEveCaloViz*>(m_calo); }
void FW3DView::setContext | ( | const fireworks::Context & | ctx | ) | [virtual] |
Reimplemented from FW3DViewBase.
Definition at line 59 of file FW3DView.cc.
References FWPFGeom::caloR1(), FWPFGeom::caloZ1(), FWEveView::context(), data, FWEveView::eventScene(), fireworks::Context::getCaloData(), and m_calo.
{ FW3DViewBase::setContext(ctx); TEveCaloData* data = context().getCaloData(); m_calo = new TEveCalo3D(data); m_calo->SetElementName("calo barrel"); m_calo->SetBarrelRadius(context().caloR1(false)); m_calo->SetEndCapPos(context().caloZ1(false)); m_calo->SetFrameTransparency(80); m_calo->SetAutoRange(false); m_calo->SetScaleAbs(true); eventScene()->AddElement(m_calo); }
TEveCalo3D* FW3DView::m_calo [private] |
Definition at line 53 of file FW3DView.h.
Referenced by getEveCalo(), setContext(), and ~FW3DView().