Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

Twist.h

00001 /*
00002   File: Twist.h
00003 
00004   Copyright(C) C. Kotterink, Computed Graphics
00005 */
00006 #ifndef TWIST_H
00007 #define TWIST_H
00008 
00009 #include<Transformation.h>
00010 
00011 #include<Vertex3.h>
00012 #include<real.h>
00013 
00016 class Twist : public Transformation
00017 {
00018     DYNAMIC_OBJECT;
00019 public:
00020     Twist() {}
00021 
00022     // Inherited from ImplicitShape
00023     real distance(const Vertex3 &v);
00024 
00025     // Inherited from Shape
00026     Color4 calculateShade(
00027         const SurfaceInfo &s, Vertex3 &transformed, Scene &scene);
00028 
00029 private:
00030     typedef Transformation super;
00031 };
00032 #endif

This documentation was generated using doxygen. If you have any comments or additions please mail me.