14 #include "TEveScene.h" 15 #include "TEveManager.h" 16 #include "TEveCompound.h" 17 #include "TEveGeoShape.h" 23 : m_context(
context), m_geom(nullptr), m_projected(projected) {
27 m_colorComp[
i] =
new TEveCompound(Form(
"3D view color compund [%d]",
i));
31 m_colorComp[
i]->CSCApplyMainTransparencyToMatchingChildren();
49 el->SetMainColor(
m_colorComp[colIdx]->GetMainColor());
51 el->SetMainTransparency(
m_colorComp[colIdx]->GetMainTransparency());
53 el->SetPickable(
true);
TEveCompound * m_colorComp[kFWGeomColorSize]
Color_t geomTransparency(bool projected) const
FWViewGeometryList(const fireworks::Context &context, bool projected=true)
void updateTransparency(bool projectedType)
Color_t geomColor(FWGeomColorIndex) const
~FWViewGeometryList() override
const FWGeometry * m_geom
void addToCompound(TEveElement *el, FWGeomColorIndex idx, bool applyTransp=true) const
sigc::connection m_transpConnection
sigc::connection m_colorConnection
const fireworks::Context & m_context
FWColorManager * colorManager() const