#include <SoHistogramCnv.h>
Public Member Functions | |
virtual bool | isValid () const |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
virtual const char * | getName () |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
virtual int | getDimension () const |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
virtual const char * | getLabel () |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
virtual void * | cast (const char *) const |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
virtual void * | nativeObject () const |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
virtual const char * | nativeObjectClass () const |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
virtual const char * | getInfos (const char *) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
virtual const char * | getLegend () |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
virtual void | getBinsSumOfWeightsRange (float &, float &) const |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
virtual int | getAxisNumberOfBinsX () const |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
virtual float | getAxisMinimumX () const |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
virtual float | getAxisMaximumX () const |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
virtual int | getAxisNumberOfBinsY () const |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
virtual float | getAxisMinimumY () const |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
virtual float | getAxisMaximumY () const |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
virtual float | getBinLowerEdgeX (int) const |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
virtual float | getBinUpperEdgeX (int) const |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
virtual float | getBinLowerEdgeY (int) const |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
virtual float | getBinUpperEdgeY (int) const |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
virtual int | getBinNumberOfEntries (int, int) const |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
virtual float | getBinSumOfWeights (int, int) const |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
virtual float | getBinBar (int, int) const |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
SoHistogramRep2D (const std::string &, const AIDA::IHistogram2D *) | |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
virtual | ~SoHistogramRep2D () |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!// | |
Private Attributes | |
std::string | fName |
std::string | fTitle |
const AIDA::IHistogram2D * | fHistogram |
std::string | fDataClass |
std::string | fInfos |
std::string | fLegend |
Definition at line 70 of file SoHistogramCnv.h.
SoHistogramRep2D::SoHistogramRep2D | ( | const std::string & | , | |
const AIDA::IHistogram2D * | ||||
) |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 415 of file SoHistogramCnv.cpp.
00419 :fName(aName) 00420 ,fHistogram(aHistogram) 00421 ,fDataClass("AIDA::IHistogram2D") 00424 { 00425 }
SoHistogramRep2D::~SoHistogramRep2D | ( | ) | [virtual] |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 427 of file SoHistogramCnv.cpp.
bool SoHistogramRep2D::isValid | ( | ) | const [virtual] |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 434 of file SoHistogramCnv.cpp.
const char * SoHistogramRep2D::getName | ( | ) | [virtual] |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 442 of file SoHistogramCnv.cpp.
00446 { 00447 return fName.c_str(); 00448 }
int SoHistogramRep2D::getDimension | ( | ) | const [virtual] |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 459 of file SoHistogramCnv.cpp.
00463 { 00464 return fHistogram->dimension(); 00465 }
const char * SoHistogramRep2D::getLabel | ( | ) | [virtual] |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 450 of file SoHistogramCnv.cpp.
00454 { 00455 fTitle = fHistogram->title(); 00456 return fTitle.c_str(); 00457 }
void * SoHistogramRep2D::cast | ( | const char * | ) | const [virtual] |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 483 of file SoHistogramCnv.cpp.
00488 { 00489 if(std::string(aClass)=="SbPlottableObject") { 00490 return (SbPlottableObject*)this; 00491 } else if(std::string(aClass)=="SbPlottableBins2D") { 00492 return (SbPlottableBins2D*)this; 00493 } else { 00494 return 0; 00495 } 00496 }
void * SoHistogramRep2D::nativeObject | ( | ) | const [virtual] |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 467 of file SoHistogramCnv.cpp.
00471 { 00472 return (void*)fHistogram; 00473 }
const char * SoHistogramRep2D::nativeObjectClass | ( | ) | const [virtual] |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 475 of file SoHistogramCnv.cpp.
00479 { 00480 return fDataClass.c_str(); 00481 }
const char * SoHistogramRep2D::getInfos | ( | const char * | ) | [virtual] |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 625 of file SoHistogramCnv.cpp.
00630 { 00631 Lib::smanip::printf(fInfos,5 * 64, 00632 "\ 00633 I %d\n\ 00634 mx %g\n\ 00635 rx %g\n\ 00636 my %g\n\ 00637 ry %g",fHistogram->entries() 00638 ,fHistogram->meanX() 00639 ,fHistogram->rmsX() 00640 ,fHistogram->meanY() 00641 ,fHistogram->rmsY()); 00642 return fInfos.c_str(); 00643 }
const char * SoHistogramRep2D::getLegend | ( | ) | [virtual] |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 645 of file SoHistogramCnv.cpp.
00649 { 00650 fLegend = fHistogram->annotation().value("Legend"); 00651 return fLegend.c_str(); 00652 }
void SoHistogramRep2D::getBinsSumOfWeightsRange | ( | float & | , | |
float & | ||||
) | const [virtual] |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 548 of file SoHistogramCnv.cpp.
00554 { 00555 aMin = (float)fHistogram->minBinHeight(); 00556 aMax = (float)fHistogram->maxBinHeight(); 00557 }
int SoHistogramRep2D::getAxisNumberOfBinsX | ( | ) | const [virtual] |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 500 of file SoHistogramCnv.cpp.
00504 { 00505 return fHistogram->xAxis().bins(); 00506 }
float SoHistogramRep2D::getAxisMinimumX | ( | ) | const [virtual] |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 508 of file SoHistogramCnv.cpp.
00512 { 00513 return (float)fHistogram->xAxis().lowerEdge(); 00514 }
float SoHistogramRep2D::getAxisMaximumX | ( | ) | const [virtual] |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 516 of file SoHistogramCnv.cpp.
00520 { 00521 return (float)fHistogram->xAxis().upperEdge(); 00522 }
int SoHistogramRep2D::getAxisNumberOfBinsY | ( | ) | const [virtual] |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 524 of file SoHistogramCnv.cpp.
00528 { 00529 return fHistogram->yAxis().bins(); 00530 }
float SoHistogramRep2D::getAxisMinimumY | ( | ) | const [virtual] |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 532 of file SoHistogramCnv.cpp.
00536 { 00537 return (float)fHistogram->yAxis().lowerEdge(); 00538 }
float SoHistogramRep2D::getAxisMaximumY | ( | ) | const [virtual] |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 540 of file SoHistogramCnv.cpp.
00544 { 00545 return (float)fHistogram->yAxis().upperEdge(); 00546 }
float SoHistogramRep2D::getBinLowerEdgeX | ( | int | ) | const [virtual] |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 569 of file SoHistogramCnv.cpp.
00574 { 00575 return (float)fHistogram->xAxis().binLowerEdge(aI); 00576 }
float SoHistogramRep2D::getBinUpperEdgeX | ( | int | ) | const [virtual] |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 578 of file SoHistogramCnv.cpp.
00583 { 00584 return (float)fHistogram->xAxis().binUpperEdge(aI); 00585 }
float SoHistogramRep2D::getBinLowerEdgeY | ( | int | ) | const [virtual] |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 587 of file SoHistogramCnv.cpp.
00592 { 00593 return (float)fHistogram->yAxis().binLowerEdge(aJ); 00594 }
float SoHistogramRep2D::getBinUpperEdgeY | ( | int | ) | const [virtual] |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 596 of file SoHistogramCnv.cpp.
00601 { 00602 return (float)fHistogram->yAxis().binUpperEdge(aJ); 00603 }
int SoHistogramRep2D::getBinNumberOfEntries | ( | int | , | |
int | ||||
) | const [virtual] |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 559 of file SoHistogramCnv.cpp.
00565 { 00566 return fHistogram->binEntries(aI,aJ); 00567 }
float SoHistogramRep2D::getBinSumOfWeights | ( | int | , | |
int | ||||
) | const [virtual] |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 605 of file SoHistogramCnv.cpp.
00611 { 00612 return (float)fHistogram->binHeight(aI,aJ); 00613 }
float SoHistogramRep2D::getBinBar | ( | int | , | |
int | ||||
) | const [virtual] |
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!//
Definition at line 615 of file SoHistogramCnv.cpp.
00621 { 00622 return (float)fHistogram->binError(aI,aJ); 00623 }
std::string SoHistogramRep2D::fName [private] |
Definition at line 100 of file SoHistogramCnv.h.
std::string SoHistogramRep2D::fTitle [private] |
Definition at line 101 of file SoHistogramCnv.h.
const AIDA::IHistogram2D* SoHistogramRep2D::fHistogram [private] |
Definition at line 102 of file SoHistogramCnv.h.
std::string SoHistogramRep2D::fDataClass [private] |
Definition at line 103 of file SoHistogramCnv.h.
std::string SoHistogramRep2D::fInfos [private] |
Definition at line 104 of file SoHistogramCnv.h.
std::string SoHistogramRep2D::fLegend [private] |
Definition at line 105 of file SoHistogramCnv.h.