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);
sigc::signal< void > geomColorsHaveChanged_
Color_t geomTransparency(bool projected) const
TEveCompound * m_colorComp[kFWGeomColorSize]
FWColorManager * colorManager() const
FWViewGeometryList(const fireworks::Context &context, bool projected=true)
sigc::signal< void, bool > geomTransparencyHaveChanged_
void updateTransparency(bool projectedType)
void addToCompound(TEveElement *el, FWGeomColorIndex idx, bool applyTransp=true) const
~FWViewGeometryList() override
const FWGeometry * m_geom
sigc::connection m_transpConnection
sigc::connection m_colorConnection
Color_t geomColor(FWGeomColorIndex) const
const fireworks::Context & m_context
FWGeometry * getGeom() const