// PhB3DSpiralTexture.H: PhB3DSpiralTexture 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 _PhB3DSpiralTexture_H_
#define _PhB3DSpiralTexture_H_

#include "xrml.H"
#include "PhB3DTexture.H"

// utility includes
// end of utility includes

namespace xrml {
#define PhB3DSpiralTextureTypeId 	"PhB3DSpiralTexture"
extern bool IsPhB3DSpiralTexture(SFNode*);

class PhB3DSpiralTexture: public virtual SFNode, public PhB3DTexture {
private:
  //
  void clone_here(const PhB3DSpiralTexture&);
  void destruct(void);
  
public:
  //
  int major_version(void), minor_version(void);
  bool is_leaf_class(void);
  
  PhB3DSpiralTexture();
  PhB3DSpiralTexture(const PhB3DSpiralTexture&);
  PhB3DSpiralTexture& operator=(const PhB3DSpiralTexture&);
  virtual ~PhB3DSpiralTexture();
  
  //
  SFNode*          	instantiate(Proto * =0);
  void             	render(void);
  
  // utility members
  int nrChannels(void) { return(2); }
  float *values(const Vec3& point, int *nrChannels);

protected:
  inline void util_init(void) { }
  inline void util_clone(const PhB3DSpiralTexture& src) { }
  inline void util_destruct(void) { }
};

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