// PhB3DCheckerTexture.H: PhB3DCheckerTexture 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 _PhB3DCheckerTexture_H_
#define _PhB3DCheckerTexture_H_

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

// utility includes
// end of utility includes

namespace xrml {
#define PhB3DCheckerTextureTypeId 	"PhB3DCheckerTexture"
extern bool IsPhB3DCheckerTexture(SFNode*);

class PhB3DCheckerTexture: public virtual SFNode, public PhB3DTexture {
private:
  //
  void clone_here(const PhB3DCheckerTexture&);
  void destruct(void);
  
public:
  //
  int major_version(void), minor_version(void);
  bool is_leaf_class(void);
  
  PhB3DCheckerTexture();
  PhB3DCheckerTexture(const PhB3DCheckerTexture&);
  PhB3DCheckerTexture& operator=(const PhB3DCheckerTexture&);
  virtual ~PhB3DCheckerTexture();
  
  //
  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 PhB3DCheckerTexture& src) { }
  inline void util_destruct(void) { }
};

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