// TextureCoordinate.H: TextureCoordinate 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 _TextureCoordinate_H_
#define _TextureCoordinate_H_

#include "xrml.H"

// utility includes
// end of utility includes

namespace xrml {
#define TextureCoordinateTypeId 	"TextureCoordinate"
extern bool IsTextureCoordinate(SFNode*);

class TextureCoordinate: public virtual SFNode {
private:
  //
  void clone_here(const TextureCoordinate&);
  void destruct(void);
  
  // field/eventOut update status bits
  // Use xxx_is_updated() and xxx_clear_update() to inspect/reset.
  enum status_bits {
    point_updated = 0x1 
  };
  
public:
  //
  int major_version(void), minor_version(void);
  bool is_leaf_class(void);
  
  TextureCoordinate();
  TextureCoordinate(const TextureCoordinate&);
  TextureCoordinate& operator=(const TextureCoordinate&);
  virtual ~TextureCoordinate();
  
  //
  SFNode*          	instantiate(Proto * =0);
  void             	render(void);
  
  // state values:
  // Do not assign directly unless you know very well what you are doing.
  MFVec2f          	point;
  
  // set_<exposedField> eventIns: with forwarding and eventOut generation
  void             	set_point(const MFVec2f&);
  
  // field assignement: no forwarding or eventOut generation!
  bool             	assign_point(const MFVec2f&);
  
  // update status
  inline bool      	point_is_updated(void) { return (status & point_updated); }
  inline void      	point_clear_update(void) { status &= ~point_updated; }
  
  // utility members
  
protected:
  inline void util_init(void) { }
  inline void util_clone(const TextureCoordinate& src) { }
  inline void util_destruct(void) { }
};

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