// @(#)root/gl:$Id: TGLPShapeRef.h 20882 2007-11-19 11:31:26Z rdm $
// Author:  Matevz Tadel, Feb 2007

/*************************************************************************
 * Copyright (C) 1995-2004, Rene Brun and Fons Rademakers.               *
 * All rights reserved.                                                  *
 *                                                                       *
 * For the licensing terms see $ROOTSYS/LICENSE.                         *
 * For the list of contributors see $ROOTSYS/README/CREDITS.             *
 *************************************************************************/

#ifndef ROOT_TGLPShapeRef
#define ROOT_TGLPShapeRef

#include <Rtypes.h>

class TGLPhysicalShape;

class TGLPShapeRef
{
   friend class TGLPhysicalShape;
private:
   TGLPShapeRef(const TGLPShapeRef&);            // Not implemented
   TGLPShapeRef& operator=(const TGLPShapeRef&); // Not implemented

   TGLPShapeRef * fNextPSRef;  // Internal pointer to the next reference (used by TGLPhysicalShape directly).

protected:
   TGLPhysicalShape * fPShape; // Pointer to referenced physical shape.

public:
   TGLPShapeRef();
   TGLPShapeRef(TGLPhysicalShape * shape);
   virtual ~TGLPShapeRef();

   TGLPhysicalShape * GetPShape() const { return fPShape; }
   virtual void SetPShape(TGLPhysicalShape * shape);
   virtual void PShapeModified();

   ClassDef(TGLPShapeRef, 0) // Reference to a TGLPhysicalShape object.
}; // endclass TGLPShapeRef


#endif

Last update: Thu Jan 17 08:52:06 2008

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.