JG ROOT Tools libraries
version 5.0 - august 2014
|
#include <RContourList.hh>
Public Member Functions | |
RContourList (const u_int fl=gcollection::gUniqueName) | |
RContourList (const RContourList &original, const u_int fl=gcollection::gUniqueName) | |
virtual | ~RContourList () |
virtual RContour * | GetContourPtr (Int_t ct_num) |
virtual void | SetLineAtt (const TAttLine l_att, Int_t ct_num=-1) |
virtual void | SetLineAtt (Color_t c, Style_t s=1, Width_t w=1, Int_t ct_num=-1) |
virtual void | Draw (Int_t ct_num=-1) |
virtual void | DrawCopy (Int_t ct_num=-1) |
virtual Int_t | Write (const string &filename) const |
virtual Int_t | Read (const string &filename, const u_int append=false) |
ClassDef (RContourList, 0) | |
Private Types | |
typedef GListIterT< RContour > | iterator |
! Contour list iterator local definition | |
Private Member Functions | |
GObject (RContourList) | |
Class defining a list of contours. The contours are own by the list, and deleted when removed.
RContourList::RContourList | ( | const u_int | fl = gcollection::gUniqueName | ) |
Default constructor.
fl | list option bits |
RContourList::RContourList | ( | const RContourList & | original, |
const u_int | fl = gcollection::gUniqueName |
||
) |
Copy constructor.
original | list to copy |
fl | list option bits |
|
virtual |
Destructor.
|
private |
Macro from GCpp library that defines the following functions:
|
inlinevirtual |
Get the pointer on a contour (NULL if not defined).
ct_num | contour number |
|
virtual |
Change line attributes for a contour. If contour number is -1, all contours attributes are changed.
l_att | line attributes |
ct_num | contour number |
References RContour::SetLineAtt().
Referenced by SetLineAtt().
|
inlinevirtual |
Change line attributes for a contour. If contour number is -1, all contours attributes are changed.
c | line color |
s | line style |
w | line width |
ct_num | contour number |
References SetLineAtt().
|
virtual |
Draw contours in current pad. If contour number is -1, all the contours are drawn.
ct_num | contour number |
References RContour::Draw().
|
virtual |
Draw a copy of contour objects in current pad. If contour number is -1, all the contours are drawn.
ct_num | contour number |
References RContour::DrawCopy().
|
virtual |
Write the contour list to a file. The function returns the number of contours written, and -1 in case of error.
filename | file name |
References R_CONTOUR_LIST_ID_FILE_BEGIN, and R_CONTOUR_LIST_ID_FILE_END.
Referenced by RGContourListEdit::SaveListButton().
|
virtual |
Read a contour list from a file. The function returns the number of contours read, and -1 in case of error.
filename | file name |
append | if true, the contours are added to current list, else list is replaced |
References R_CONTOUR_LIST_ID_FILE_BEGIN, and RContour::Read().
Referenced by RGContourListEdit::LoadListButton().
RContourList::ClassDef | ( | RContourList | , |
0 | |||
) |
For ROOT dictionary.