// $Source: /usr/local/SimSoft/SoftShop/XGraph/Primitiv/LogWrap.h,v $
// $Revision: 1.15 $
// $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: LogWrap.h,v $
// Revision 1.15  2001/11/29 15:52:24  baum
// -In Kalender.cpp und Kalender.h Handsteuerung eingebaut
//

#ifndef _LOGICWRAP_H
#define _LOGICWRAP_H 1

#ifndef WIN32
#define __rtti
#endif

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

#ifdef _LOGICWRAP_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 LogicWrap
//==================================================================

//##ModelId=4030D77E0128
class _impexp __rtti LogicWrap : public Primitive 
  {
  public:
    // create a LogicWrap
	//##ModelId=4030D77E012A
    static Primitive *create (const Vec3D& min, const Vec3D& max);
	//##ModelId=4030D77E013B
    static Primitive *create (const WrapBox&);

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

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

  private:
    // constructor
	//##ModelId=4030D77E014D
    LogicWrap (const Vec3D&, const Vec3D&);
	//##ModelId=4030D77E0159
    LogicWrap (const WrapBox&);

    // destructor
	//##ModelId=4030D77E015B
    virtual ~LogicWrap ( );

    // default constructor declared, but not defined
	//##ModelId=4030D77E0167
    LogicWrap ();

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

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

    // data members

  //friends
    friend class Primitive;

}; // class LogicWrap

#endif	// !defined _LOGICWRAP_H

