00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
#ifndef COIN_SOFLOATELEMENT_H
00021
#define COIN_SOFLOATELEMENT_H
00022
00023
#include <Inventor/elements/SoSubElement.h>
00024
00025
00026 class COIN_DLL_API SoFloatElement :
public SoElement {
00027
typedef SoElement inherited;
00028
00029 SO_ELEMENT_ABSTRACT_HEADER(SoFloatElement);
00030
public:
00031
static void initClass(
void);
00032
protected:
00033
virtual ~SoFloatElement();
00034
00035
public:
00036
virtual void init(
SoState * state);
00037
00038
virtual SbBool matches(
const SoElement * element)
const;
00039
virtual SoElement *
copyMatchInfo(
void)
const;
00040
00041
virtual void print(FILE * file)
const;
00042
00043
static void set(
const int stackIndex,
SoState *
const state,
00044
SoNode *
const node,
const float value);
00045
static void set(
const int stackIndex,
SoState *
const state,
00046
const float value);
00047
00048
static float get(
const int stackIndex,
SoState *
const state);
00049
00050
virtual void setElt(
float value);
00051
00052
protected:
00053
float data;
00054 };
00055
00056
#endif // !COIN_SOFLOATELEMENT_H