size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
#define ClassDef(name, id)
The 3D axis painter class.
virtual void SetOption(Option_t *option=" ")
virtual Float_t GetLabelSize(Option_t *axis="X") const
Get label size.
virtual void SetZTitle(const char *title)
virtual void SetNdivisions(Int_t n=510, Option_t *axis="*")
Set number of divisions.
virtual void ExecuteEvent(Int_t event, Int_t px, Int_t py)
Execute action corresponding to one event.
virtual void Paint(Option_t *option="")
Paint axis over 3D view on the TPad.
virtual TAxis * GetZaxis()
static TAxis3D * ToggleZoom(TVirtualPad *pad=0)
Turn ON / OFF the "Ruler" and "zoom mode" of the TAxis3D object attached to the current pad (if pad =...
virtual Int_t DistancetoPrimitive(Int_t px, Int_t py)
Compute distance from point px,py to a line.
void PaintAxis(TGaxis *axis, Float_t ang)
Draw the axis for TView object.
virtual void SetLabelOffset(Float_t offset=0.005, Option_t *axis="*")
Set label offset.
virtual void SetLabelFont(Style_t font=62, Option_t *axis="*")
Set label font.
static Double_t * PixeltoXYZ(Double_t px, Double_t py, Double_t *point3D, TView *view=0)
Convert "screen pixel" coordinates to some center of 3D WC coordinate if view and gPad present.
virtual void SetYTitle(const char *title)
virtual Style_t GetLabelFont(Option_t *axis="X") const
Get label font.
virtual Bool_t IsFolder() const
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).
static TAxis3D * GetPadAxis(TVirtualPad *pad=0)
Returns the "pad" Axis3D object pointer if any.
virtual Float_t GetLabelOffset(Option_t *axis="X") const
Get label offset.
virtual void SetAxisRange(Double_t xmin, Double_t xmax, Option_t *axis="*")
Set axis range.
virtual Float_t GetTickLength(Option_t *axis="X") const
Get tick mark length.
virtual TAxis * GetXaxis()
virtual void SetLabelSize(Float_t size=0.02, Option_t *axis="*")
Set label size.
Int_t AxisChoice(Option_t *axis) const
Return the axis index by its name.
virtual void SavePrimitive(std::ostream &out, Option_t *option="")
Save primitive as a C++ statement(s) on output stream out.
virtual void GetCenter(Axis_t *center)
virtual Color_t GetAxisColor(Option_t *axis="X") const
Get axis color.
virtual void SetAxisColor(Color_t color=1, Option_t *axis="*")
Set axis color.
virtual Color_t GetLabelColor(Option_t *axis="X") const
Get label color.
virtual TAxis * GetYaxis()
virtual void Browse(TBrowser *b)
Add all 3 axes to the TBrowser.
Bool_t fZoomMode
The selected axis to play with.
virtual Float_t GetTitleOffset(Option_t *axis="X") const
Get title offset.
void InitSet()
Initialization.
void UseCurrentStyle()
Replace current attributes by current style.
virtual Int_t GetNdivisions(Option_t *axis="X") const
Get number of divisions.
static const char * fgRulerName
virtual void SetTickLength(Float_t length=0.02, Option_t *axis="*")
Set tick mark length.
virtual void SetXTitle(const char *title)
static TAxis3D * ToggleRulers(TVirtualPad *pad=0)
Turn ON / OFF the "Ruler", TAxis3D object attached to the current pad.
virtual void Copy(TObject &hnew) const
Copy axis3d.
virtual char * GetObjectInfo(Int_t px, Int_t py) const
Dummy method returns the const char * to "axis3d".
virtual void SetLabelColor(Color_t color=1, Option_t *axis="*")
Set label color.
Option_t * GetOption() const
TAxis3D()
Normal constructor.
virtual void SetTitleOffset(Float_t offset=1, Option_t *axis="*")
Set title offset.
virtual void GetLowEdge(Axis_t *edge)
Class to manage histogram axis.
virtual void GetCenter(Double_t *center) const
Return an array with the center of all bins.
virtual void GetLowEdge(Double_t *edge) const
Return an array with the low edge of all bins.
Using a TBrowser one can browse all ROOT objects.
The TNamed class is the base class for all named ROOT classes.
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
Mother of all ROOT objects.
const char * Data() const
TVirtualPad is an abstract base class for the Pad and Canvas classes.