library: libGraf3d
#include "TPARA.h"

TPARA


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

class TPARA : public TBRIK

Inheritance Chart:
TObject
<-
TNamed
TAttLine
TAttFill
TAtt3D
<-
TShape
<-
TBRIK
<-
TPARA

    protected:
virtual void SetPoints(Double_t* points) const public:
TPARA() TPARA(const char* name, const char* title, const char* material, Float_t dx, Float_t dy, Float_t dz, Float_t alpha, Float_t theta, Float_t phi) TPARA(const TPARA&) virtual ~TPARA() static TClass* Class() virtual Float_t GetAlpha() const virtual Float_t GetPhi() const virtual Float_t GetTheta() const virtual TClass* IsA() const TPARA& operator=(const TPARA&) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members


    protected:
Float_t fAlpha angle w.r.t. the y axis from the centre of the low y to the high y Float_t fTheta polar angle from the centre of the low z to the high z Float_t fPhi polar angle from the centre of the low z to the high z

Class Description

 

 PARA is a parallelepiped. It has 9 parameters:

     - name       name of the shape
     - title      shape's title
     - material  (see TMaterial)
     - dx         half-length in x
     - dy         half-length in y
     - dz         half-length in z
     - alpha      angle formed by the y axis and by the plane joining the
                  centre of the faces parallel to the z-x plane at -DY and +DY
     - theta      polar angle of the line joining the centres of the faces
                  at -DZ and +DZ in z
     - phi        azimuthal angle of the line joining the centres of the
                  faces at -DZ and +DZ in z

TPARA()
 PARA shape default constructor

TPARA(const char *name, const char *title, const char *material, Float_t dx, Float_t dy, Float_t dz, Float_t alpha, Float_t theta, Float_t phi) : TBRIK(name, title,material, dx, dy, dz)
 PARA shape normal constructor

~TPARA()
 PARA shape default destructor

void SetPoints(Double_t *points) const
 Create PARA points



Inline Functions


            Float_t GetAlpha() const
            Float_t GetTheta() const
            Float_t GetPhi() const
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void Streamer(TBuffer& b)
               void StreamerNVirtual(TBuffer& b)
              TPARA TPARA(const TPARA&)
             TPARA& operator=(const TPARA&)


Author: Nenad Buncic 19/09/95
Last update: root/g3d:$Name: $:$Id: TPARA.cxx,v 1.5 2005/03/09 18:19:26 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.