00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
#ifndef COIN_SOGLLINEWIDTHELEMENT_H
00021
#define COIN_SOGLLINEWIDTHELEMENT_H
00022
00023
#include <Inventor/elements/SoLineWidthElement.h>
00024
00025
00026 class COIN_DLL_API SoGLLineWidthElement :
public SoLineWidthElement {
00027
typedef SoLineWidthElement inherited;
00028
00029 SO_ELEMENT_HEADER(SoGLLineWidthElement);
00030
public:
00031
static void initClass(
void);
00032
protected:
00033
virtual ~SoGLLineWidthElement();
00034
00035
public:
00036
virtual void init(
SoState * state);
00037
00038
virtual void push(
SoState * state);
00039
virtual void pop(
SoState * state,
00040
const SoElement * prevTopElement);
00041
virtual void lazyEvaluate(
void)
const;
00042
virtual SbBool
isLazy(
void)
const;
00043
00044
protected:
00045
virtual void setElt(
float width);
00046
00047
private:
00048
static float sizerange[2];
00049
float current;
00050
void updategl();
00051
00052 };
00053
00054
#endif // !COIN_SOGLLINEWIDTHELEMENT_H