library: libGraf
#include "TSpline.h"

TSpline


class description - source file - inheritance tree (.pdf)

class TSpline : public TNamed, public TAttLine, public TAttFill, public TAttMarker

Inheritance Chart:
TObject
<-
TNamed
TAttLine
TAttFill
TAttMarker
<-
TSpline
<-
TSpline3
TSpline5
 
    This is an abstract class, constructors will not be documented.
    Look at the header to check for available constructors.


    protected:
virtual void BuildCoeff() public:
virtual ~TSpline() static TClass* Class() virtual void Draw(Option_t* option = "") virtual Double_t Eval(Double_t x) const virtual void GetKnot(Int_t i, Double_t& x, Double_t& y) const virtual Int_t GetNpx() const virtual TClass* IsA() const TSpline& operator=(const TSpline&) virtual void Paint(Option_t* option = "") virtual void SaveAs(const char*) const void SetNpx(Int_t n) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
Double_t fDelta Distance between equidistant knots Double_t fXmin Minimum value of abscissa Double_t fXmax Maximum value of abscissa Int_t fNp Number of knots Bool_t fKstep True of equidistant knots TH1F* fHistogram Temporary histogram TGraph* fGraph Graph for drawing the knots Int_t fNpx Number of points used for graphical representation

Class Description

                                                                      
 TSpline                                                              
                                                                      
 Base class for spline implementation containing the Draw/Paint       
 methods                                                              
                                                                      


void Draw(Option_t *option)
*-*-*-*-*-*-*-*-*-*Draw this function with its current attributes*-*-*-*-*
*-*                  ==============================================
*-*
*-* Possible option values are:
*-*   "SAME"  superimpose on top of existing picture
*-*   "L"     connect all computed points with a straight line
*-*   "C"     connect all computed points with a smooth curve.
*-*   "P"     add a polymarker at each knot
*-*
*-* Note that the default value is "L". Therefore to draw on top
*-* of an existing picture, specify option "LSAME"
*-*
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

void Paint(Option_t *option)
*-*-*-*-*-*-*-*-*-*Paint this function with its current attributes*-*-*-*-*
*-*                ===============================================

void Streamer(TBuffer &R__b)
 Stream an object of class TSpline.



Inline Functions


               void ~TSpline()
               void BuildCoeff()
               void GetKnot(Int_t i, Double_t& x, Double_t& y) const
              Int_t GetNpx() const
           Double_t Eval(Double_t x) const
               void SaveAs(const char*) const
               void SetNpx(Int_t n)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void StreamerNVirtual(TBuffer& b)
           TSpline& operator=(const TSpline&)


Author: Federico Carminati 28/02/2000
Last update: root/graf:$Name: $:$Id: TSpline.cxx,v 1.11 2005/09/05 07:25:22 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *


ROOT page - Class index - Class Hierarchy - Top of the page

This page has been automatically generated. If you have any comments or suggestions about the page layout send a mail to ROOT support, or contact the developers with any questions or problems regarding ROOT.