// $Source: /usr/local/SimSoft/SoftShop/XGraph/Primitiv/Spot.h,v $
// $Revision: 1.20 $
// $Author: baum $
// $Date: 2001/11/29 15:52:24 $
//
// Login name of the user who locked the revision
// $Locker:  $
// Tag name used to checkout the file
// $Name: Release-20 $
// State assigned to revision
// $State: Exp $
//
//
// $Log: Spot.h,v $
// Revision 1.20  2001/11/29 15:52:24  baum
// -In Kalender.cpp und Kalender.h Handsteuerung eingebaut
//

#ifndef _SPOT_H
#define _SPOT_H 1

#ifndef WIN32
#define __rtti
#endif

#include "Primitiv.h"
#include "Vec3D.h"

#ifdef _SPOT_CPP
#  undef _impexp
#  define _impexp __declspec(dllexport)
#elif defined BUILD_XGRAPH_DLL
#  undef _impexp
#  define _impexp
#else
#  undef _impexp
#  define _impexp __declspec(dllimport)
#endif

#if defined __GNUG__ || defined __hpux
#  undef _impexp
#  define _impexp
#endif

//==================================================================
//		Klassen-Header
//		fuer class Spot
//==================================================================

//##ModelId=4030D77C031C
class _impexp __rtti Spot : public Primitive 
  {
  public:
    // create a Spot
	//##ModelId=4030D77C031E
    static Primitive *create (const Vec3D&);

    // virtual functions for Building Display-Lists
	//##ModelId=4030D77C032C
    virtual void buildOGL (Vec2D* texSize = NULL);

  protected:
    // writing create-command to ostr
	//##ModelId=4030D77C032F
    virtual void stream (ostream& ostr) const;

  private:
    // constructor
	//##ModelId=4030D77C0332
    Spot (const Vec3D&);

    // destructor
	//##ModelId=4030D77C033D
    virtual ~Spot ( );

    // default constructor declared, but not defined
	//##ModelId=4030D77C033F
    Spot ();

    // copy constructor declared, but not defined
	//##ModelId=4030D77C0340
    Spot (const Spot&);

    // assignment operator declared, but not defined
	//##ModelId=4030D77C034C
    Spot& operator = (const Spot&);

    // data members

  //friends
    friend class Primitive;

};	// class Spot 

#endif	// !defined _SPOT_H

