class description - source file - inheritance tree

class TShape : public TNamed, public TAttLine, public TAttFill, public TAtt3D

Int_t ShapeDistancetoPrimitive(Int_t numPoints, Int_t px, Int_t py) public:
TShape TShape() TShape TShape(const char* name, const char* title, const char* material) TShape TShape(TShape&) virtual void ~TShape() static TClass* Class() TMaterial* GetMaterial() const virtual Int_t GetNumber() const Int_t GetVisibility() const virtual TClass* IsA() const virtual void Paint(Option_t* option) virtual void PaintGLPoints(Float_t* vertex) virtual void PaintShape(_x3d_data_* buff, Bool_t rangeView = kFALSE) virtual void SetName(const char* name) virtual void SetPoints(Float_t* buffer) virtual void SetVisibility(Int_t vis) virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

Int_t fNumber Shape number Int_t fVisibility Visibility flag TMaterial* fMaterial Pointer to material public:

See also


Class Description

*-*  This is the base class for all geometry shapes.
*-*  The list of shapes currently supported correspond to the shapes
*-*  in Geant version 3:
*-*  The figure below shows instances of all these shapes. This figure
*-*  is generated by the ROOT 3-D viewer.






*-*-*-*-*-*-*-*-*-*-*-*-*Shape default constructor-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                      =========================

TShape(const char *name,const char *title, const char *materialname) : TNamed (name, title), TAttLine(), TAttFill()
*-*-*-*-*-*-*-*-*-*-*-*-*Shape normal constructor-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                      ========================

*-*-*-*-*-*-*-*-*-*-*-*-*Shape default destructor-*-*-*-*-*-*-*-*-*-*-*-*-*
*-*                      ========================

Int_t ShapeDistancetoPrimitive(Int_t numPoints, Int_t px, Int_t py)

void Paint(Option_t *)
 This method must be overridden by the real shape implementation.

void PaintShape(_x3d_data_ *buff, Bool_t rangeView)
*-*-*-*-*Paint 3-D shape in current pad with its current attributes*-*-*-*-*
*-*      ==========================================================

 rangeView = kTRUE - means no real painting
                     just estimate the range
                     of this shape only

void SetPoints(Float_t *)

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

Inline Functions

         TMaterial* GetMaterial() const
              Int_t GetNumber() const
              Int_t GetVisibility() const
               void PaintGLPoints(Float_t* vertex)
               void SetName(const char* name)
               void SetVisibility(Int_t vis)
            TClass* Class()
            TClass* IsA() const
               void ShowMembers(TMemberInspector& insp, char* parent)
               void StreamerNVirtual(TBuffer& b)
             TShape TShape(TShape&)

Author: Nenad Buncic 17/09/95
Last update: root/g3d:$Name: $:$Id: TShape.cxx,v 1.2 2000/11/21 20:18:43 brun Exp $
Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *

ROOT page - Class index - 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.