// PhBDistortion.H: PhBDistortion 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 _PhBDistortion_H_
#define _PhBDistortion_H_

#include "xrml.H"

// utility includes
#include "matrix.H"
#include "vector.H"
// end of utility includes

namespace xrml {
#define PhBDistortionTypeId 	"PhBDistortion"
extern bool IsPhBDistortion(SFNode*);

class PhBDistortion: public virtual SFNode {
public:
  //
  virtual int major_version(void), minor_version(void);
  virtual bool is_leaf_class(void);
  
  PhBDistortion();
  
  //
  virtual void     	render(void);
  
  // utility members
  virtual Mat3 distort(const Vec3 point);
  
protected:
  inline void util_init(void) { }
  inline void util_clone(const PhBDistortion& src) { }
  inline void util_destruct(void) { }
};

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