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

HyperTexture.h

00001 /*
00002   File: HyperTexture.h
00003 
00004   Copyright(C) C. Kotterink, Computed Graphics
00005 */
00006 #ifndef HYPERTEXTURE_H
00007 #define HYPERTEXTURE_H
00008 
00009 #include<Transformation.h>
00010 
00011 #include<Vertex3.h>
00012 #include<real.h>
00013 
00016 class HyperTexture : public Transformation
00017 {
00018     DYNAMIC_OBJECT;
00019 public:
00020     HyperTexture() : turbulence(1.0), octaves(1) {}
00021 
00022     // Inherited from Transformation
00023     void transform(Matrix4 &m);
00024 
00025     // Inherited from ImplicitShape
00026     real distance(const Vertex3 &v);
00027 
00028     // Inherited from DynamicObject
00029     void parseSymbol(Token &t, ObjectFile &file);
00030     void writeParams(ostream &stream);
00031 
00032 protected:
00033     // Inherited from DynamicObject
00034     void createSymbols();
00035 
00036     real turbulence;
00037     unsigned int octaves;
00038 
00039 private:
00040     typedef Transformation super;
00041 };
00042 #endif

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