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

#ifndef _LINESTRIP_H
#define _LINESTRIP_H 1

#ifndef WIN32
#define __rtti
#endif

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

#ifdef _LINESTRIP_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

//==================================================================
//		Class-Header
//		for class LineStrip 
//==================================================================

//##ModelId=4030D77E01C5
class _impexp __rtti LineStrip : public Primitive
  {
  public:
    // constructs a LineStrip
	//##ModelId=4030D77E01D5
    static Primitive *create (const Vec3D& p1, const Vec3D& p2);

    // with 'pointNr' of Vec3D* 
	//##ModelId=4030D77E01D9
    static Primitive *create (unsigned pointsNo, ...);

    // inserting Vec3D
	//##ModelId=4030D77E01E6
    void insert (const Vec3D&);

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

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

  private:
    // constructors
	//##ModelId=4030D77E01F7
    LineStrip (const Vec3D& p1, const Vec3D& p2);

    // destructor
	//##ModelId=4030D77E0203
    virtual ~LineStrip ();

    // default constructor declared, but not defined
	//##ModelId=4030D77E0205
    LineStrip ();

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

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

  //friends
    friend class Primitive;

};	// class LineStrip 

#endif	// !defined _LINESTRIP_H

