11#include <ecl/modules/eclDisplay/EclData.h>
20 class MultilineWidget;
23 class ECLChannelMapper;
This class provides access to ECL channel map that is either a) Loaded from the database (see ecl/dbo...
This class contains data for ECLSimHit's and provides several relevant conversion functions for bette...
EclSubsystem
Subsystems of ECL: ALL all subsystems BARR barrel only FORW forward endcap only BACKW backward endcap...
Painter for EclData, parent class, created with EclPainterFactory.
ECL::ECLChannelMapper * m_mapper
mapper for CellID <-> (crate, shaper, chid) conversion.
EclPainter & operator=(const EclPainter &other)
Assignment operator.
EclData::EclSubsystem getDisplayedSubsystem()
Get currently displayed ECL subsystem.
virtual void getInformation(int px, int py, MultilineWidget *panel)
Sets the information to be displayed in the provided MultilineWidget.
EclData * getData()
Return currently displayed EclData.
const EclData * getData() const
Return currently displayed EclData.
void cloneFrom(const EclPainter &other)
Clone attributes from other EclPainter.
void setMapper(ECL::ECLChannelMapper *mapper)
Set ECLChannelMapper for CellID <-> (crate, shaper, chid) conversion.
virtual void Draw()=0
Redraw the canvas.
TString getSubsystemTitle(EclData::EclSubsystem subsys)
Return title of ECL subsystem to use in painter.
void getNewRootObjectName(char *buf, int size)
Make unique name for next root object.
static int m_obj_counter
Counter to make unique names for new root objects.
virtual EclPainter * handleClick(int px, int py)
Some EclPainters can shift to another view upon click.
void setDisplayedSubsystem(EclData::EclSubsystem sys)
Change between the displayed ECL subsystem (barrel, forward and backward endcaps).
ECL::ECLChannelMapper * getMapper()
Return currently set ECLChannelMapper.
void setData(EclData *data)
Set EclData to display in painter.
virtual void setXRange(int x1, int x2)
Set XRange for histogram in EclPainter.
EclData * m_ecl_data
Data to draw.
EclData::EclSubsystem displayed_subsys
Identifier of displayed ECL subsystem.
EclPainter(const EclPainter &other)
Copy constructor.
Abstract base class for different kinds of events.