28 #ifndef ROOT_TMaterial 40 #ifndef ROOT_X3DBuffer 62 TShape(
const char *
name,
const char *title,
const char *material);
virtual ~TShape()
Shape default destructor.
virtual void FillBuffer3D(TBuffer3D &buffer, Int_t reqSections) const
We have to set kRawSize (unless already done) to allocate buffer space before kRaw can be filled...
virtual Int_t GetNumber() const
Use this attribute class when an object should have 3D capabilities.
virtual const TBuffer3D & GetBuffer3D(Int_t reqSections) const
Stub to avoid forcing implementation at this stage.
Fill Area Attributes class.
#define ClassDef(name, id)
The TNamed class is the base class for all named ROOT classes.
Manages a detector material.
Int_t ShapeDistancetoPrimitive(Int_t numPoints, Int_t px, Int_t py)
Distance to primitive.
This is the base class for all geometry shapes.
TShape()
Shape default constructor.
Generic 3D primitive description class.
virtual void SetVisibility(Int_t vis)
virtual void Paint(Option_t *option="")
This method is used only when a shape is painted outside a TNode.
virtual void SetName(const char *name)
Set the name of the TNamed.
Int_t GetBasicColor() const
Get basic color.
TMaterial * GetMaterial() const
virtual void SetPoints(Double_t *points) const
Set points.
TShape & operator=(const TShape &)
assignment operator
void TransformPoints(Double_t *points, UInt_t NbPnts) const
Transform points (LocalToMaster)
Int_t GetVisibility() const