// LightSource.H: LightSource nodes.

// This file has been generated using nodegen 0.5a.
// Restrict manual editing to the sections delimited by
// . the comments "utility includes" and "end of utility includes"
// . the comments "utility members" and "end of utility members"

#ifndef _LightSource_H_
#define _LightSource_H_

#include "xrml.H"

// utility includes
// end of utility includes

namespace xrml {
#define LightSourceTypeId 	"LightSource"
extern bool IsLightSource(SFNode*);

class LightSource: public virtual SFNode {
public:
  //
  virtual int major_version(void), minor_version(void);
  virtual bool is_leaf_class(void);
  
  LightSource();
  
  //
  virtual void     	render(void);
  
  // state values:
  // Do not assign directly unless you know very well what you are doing.
  SFFloat          	ambientIntensity;
  SFColor          	color;
  SFFloat          	intensity;
  SFBool           	on;
  
  // set_<exposedField> eventIns: with forwarding and eventOut generation
  virtual void     	set_ambientIntensity(const SFFloat&);
  virtual void     	set_color(const SFColor&);
  virtual void     	set_intensity(const SFFloat&);
  virtual void     	set_on(const SFBool&);
  
  // field assignement: no forwarding or eventOut generation!
  virtual bool     	assign_ambientIntensity(const SFFloat&);
  virtual bool     	assign_color(const SFColor&);
  virtual bool     	assign_intensity(const SFFloat&);
  virtual bool     	assign_on(const SFBool&);
  
  // update status
  virtual bool     	ambientIntensity_is_updated(void);
  virtual void     	ambientIntensity_clear_update(void);
  virtual bool     	color_is_updated(void);
  virtual void     	color_clear_update(void);
  virtual bool     	intensity_is_updated(void);
  virtual void     	intensity_clear_update(void);
  virtual bool     	on_is_updated(void);
  virtual void     	on_clear_update(void);
  
  // utility members
  virtual void begin_render(void);
  virtual void end_render(void);
  
protected:
  inline void util_init(void) { }
  inline void util_clone(const LightSource& src) { }
  inline void util_destruct(void) { }
};

// end of utility members
} // namespace xrml
#endif /*_LightSource_H_*/
