CbmRoot
Loading...
Searching...
No Matches
CbmPointSetArrayEditor.h
Go to the documentation of this file.
1/* Copyright (C) 2019-2020 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: J. Brandt, Florian Uhlig [committer] */
4
5// -------------------------------------------------------------------------
6// ----- CbmPointSetArrayEditor header file -----
7// ----- Created 05/07/22 by J. Brandt -----
8// ----- Following class TEvePointSetArrayEditor -----
9// -------------------------------------------------------------------------
10
11
21#ifndef CBMPOINTSETARRAYEDITOR_H
22#define CBMPOINTSETARRAYEDITOR_H
23
24#include <Rtypes.h> // for THashConsistencyHolder, ClassDef
25#include <RtypesCore.h> // for Int_t, UInt_t
26#include <TGFrame.h> // for kChildFrame
27#include <TGedFrame.h> // for TGedFrame
28
29#include <GuiTypes.h> // for Pixel_t
30
32class TGComboBox;
33class TGWindow;
34class TObject;
35
36
37class CbmPointSetArrayEditor : public TGedFrame {
40
41protected:
42 CbmPointSetArray* fM; // pointer to CbmPointSetArray
43 TGComboBox* fComboColor; // ComboBox for Color-Coding
44 TGComboBox* fComboMarker; // ComboBox for Marker-Coding
45
46public:
47 CbmPointSetArrayEditor(const TGWindow* p = 0, Int_t width = 170, Int_t height = 30, UInt_t options = kChildFrame,
48 Pixel_t back = GetDefaultFrameBackground());
50
51 virtual void SetModel(TObject* obj);
52
53 void DoColor(); // perform when ComboBox Color is selected
54 void DoMarker(); // perform when ComboBox Marker is selected
55
56 ClassDef(CbmPointSetArrayEditor, 0); // Editor for CbmPointSetArray class.
57};
58
59#endif
ClassDef(CbmPointSetArrayEditor, 0)
CbmPointSetArrayEditor(const CbmPointSetArrayEditor &)
void DoMarker()
Set the markerMode of CbmPointSetArray.
void DoColor()
Set the colorMode of CbmPointSetArray.
CbmPointSetArrayEditor & operator=(const CbmPointSetArrayEditor &)
virtual void SetModel(TObject *obj)
Set model object.