// Transforming.H: Transforming 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 _Transforming_H_
#define _Transforming_H_

#include "xrml.H"
#include "Grouping.H"

// utility includes
#include "transform.H"
// NOTE: add "public transform" to parent class declaration
// NOTE: remove state values center, rotation, scale, scaleOriantation
// and translation, which are declared in transform parent class.
// end of utility includes

namespace xrml {
#define TransformingTypeId 	"Transforming"
extern bool IsTransforming(SFNode*);

class Transforming:  public Grouping, public transform {
public:
  //
  virtual int major_version(void), minor_version(void);
  virtual bool is_leaf_class(void);
  
  Transforming();
  
  //
  virtual void     	render(void);
  
  // state values:
  // Do not assign directly unless you know very well what you are doing.
  //  SFVec3f          	center;
  //  SFRotation       	rotation;
  //  SFVec3f          	scale;
  //  SFRotation       	scaleOrientation;
  //  SFVec3f          	translation;
  
  // set_<exposedField> eventIns: with forwarding and eventOut generation
  virtual void     	set_center(const SFVec3f&);
  virtual void     	set_rotation(const SFRotation&);
  virtual void     	set_scale(const SFVec3f&);
  virtual void     	set_scaleOrientation(const SFRotation&);
  virtual void     	set_translation(const SFVec3f&);
  
  // field assignement: no forwarding or eventOut generation!
  virtual bool     	assign_center(const SFVec3f&);
  virtual bool     	assign_rotation(const SFRotation&);
  virtual bool     	assign_scale(const SFVec3f&);
  virtual bool     	assign_scaleOrientation(const SFRotation&);
  virtual bool     	assign_translation(const SFVec3f&);
  
  // update status
  virtual bool     	center_is_updated(void);
  virtual void     	center_clear_update(void);
  virtual bool     	rotation_is_updated(void);
  virtual void     	rotation_clear_update(void);
  virtual bool     	scale_is_updated(void);
  virtual void     	scale_clear_update(void);
  virtual bool     	scaleOrientation_is_updated(void);
  virtual void     	scaleOrientation_clear_update(void);
  virtual bool     	translation_is_updated(void);
  virtual void     	translation_clear_update(void);
  
  // utility members
  
protected:
  inline void util_init(void) { }
  inline void util_clone(const Transforming& src) { }
  inline void util_destruct(void) { }
};

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