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