size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
int Int_t
Signed integer 4 bytes (int).
bool Bool_t
Boolean (0=false, 1=true) (bool).
double Axis_t
Axis values type (double).
double Double_t
Double 8 bytes.
short Color_t
Color number (short).
short Style_t
Style number (short).
float Float_t
Float 4 bytes (float).
const char Option_t
Option string (const char).
#define ClassDefOverride(name, id)
The 3D axis painter class.
static TAxis3D * ToggleRulers(TVirtualPad *pad=nullptr)
Turn ON / OFF the "Ruler", TAxis3D object attached to the current pad.
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 TAxis * GetZaxis()
void UseCurrentStyle() override
Replace current attributes by current style.
void Paint(Option_t *option="") override
Paint axis over 3D view on the TPad.
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.
void Browse(TBrowser *b) override
Add all 3 axes to the TBrowser.
Bool_t IsFolder() const override
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects).
virtual void SetLabelFont(Style_t font=62, Option_t *axis="*")
Set label font.
virtual void SetYTitle(const char *title)
virtual Style_t GetLabelFont(Option_t *axis="X") const
Get label font.
void SavePrimitive(std::ostream &out, Option_t *option="") override
Save primitive as a C++ statement(s) on output stream out.
void ExecuteEvent(Int_t event, Int_t px, Int_t py) override
Execute action corresponding to one event.
Int_t DistancetoPrimitive(Int_t px, Int_t py) override
Compute distance from point px,py to a line.
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.
static TAxis3D * GetPadAxis(TVirtualPad *pad=nullptr)
Returns the "pad" Axis3D object pointer if any.
virtual void GetCenter(Axis_t *center)
virtual Color_t GetAxisColor(Option_t *axis="X") const
Get axis color.
Option_t * GetOption() const override
virtual void SetAxisColor(Color_t color=1, Option_t *axis="*")
Set axis color.
char * GetObjectInfo(Int_t px, Int_t py) const override
Dummy method returns the const char * to "axis3d".
virtual Color_t GetLabelColor(Option_t *axis="X") const
Get label color.
virtual TAxis * GetYaxis()
virtual Float_t GetTitleOffset(Option_t *axis="X") const
Get title offset.
static TAxis3D * ToggleZoom(TVirtualPad *pad=nullptr)
Turn ON / OFF the "Ruler" and "zoom mode" of the TAxis3D object attached to the current pad (if pad =...
void InitSet()
Initialization.
virtual Int_t GetNdivisions(Option_t *axis="X") const
Get number of divisions.
void Copy(TObject &hnew) const override
Copy axis3d.
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)
virtual void SetLabelColor(Color_t color=1, Option_t *axis="*")
Set label color.
TAxis3D()
Normal constructor.
static Double_t * PixeltoXYZ(Double_t px, Double_t py, Double_t *point3D, TView *view=nullptr)
Convert "screen pixel" coordinates to some center of 3D WC coordinate if view and gPad present.
virtual void SetTitleOffset(Float_t offset=1, Option_t *axis="*")
Set title offset.
virtual void GetLowEdge(Axis_t *edge)
TAxis * fSelected
! The selected axis to play with
Class to manage histogram axis.
Using a TBrowser one can browse all ROOT objects.
TObject()
TObject constructor.
TVirtualPad is an abstract base class for the Pad and Canvas classes.