arbeit
Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members

VolRenCube.h

Go to the documentation of this file.
00001 //------------------------------------------------------------------------
00002 //
00003 //   Joe Kniss
00004 //     9-17-02
00005 //                   ________    ____   ___ 
00006 //                  |        \  /    | /  /
00007 //                  +---+     \/     |/  /
00008 //                  +--+|  |\    /|     < 
00009 //                  |  ||  | \  / |  |\  \ 
00010 //                  |      |  \/  |  | \  \ 
00011 //                   \_____|      |__|  \__\
00012 //                       Copyright  2002 
00013 //                      Joe Michael Kniss
00014 //                   <<< jmk@cs.utah.edu >>>
00015 //               "All Your Base are Belong to Us"
00016 //-------------------------------------------------------------------------
00017 
00018 //volrencube.h
00019 
00020 /// the base interface for rendering volume data.  Also implements
00021 ///  a simple slice based volume renderer
00022 
00023 
00024 #ifndef __VOLREN_CUBE_DOT_H
00025 #define __VOLREN_CUBE_DOT_H
00026 
00027 #include <renderable/Renderable.h>
00028 #include <mathGutz.h>
00029 #include <volren/VolRenBase.h>
00030 
00031 class VolRenAlgBase;
00032 
00033 class VolRenCube : public VolRenBase
00034 {
00035 public:
00036    VolRenCube();
00037    virtual ~VolRenCube();
00038 
00039    virtual void init();
00040 
00041 protected:
00042    virtual void drawDef(const gutz::RenderEvent &re);
00043 
00044 private:
00045 
00046 };
00047 
00048 //========== NOTES ===========================================
00049 // Standard brick vertex ordering:
00050 //  
00051 //     (011)        (111)
00052 //       6 +---------+ 7   Where 1's are the size of the brick
00053 //        /|        /|      allong that axis
00054 //       / |       / |
00055 // (001)/  |(101) /  |
00056 //   4 +---------+ 5 |
00057 //     |   |     |   |(110) z axis
00058 //     | 2 +-----+---+ 3    ^   
00059 //     |  /(010) |  /       |   y axis
00060 //     | /       | /        | /
00061 //     |/        |/         |/
00062 //   0 +---------+ 1        +-------> x axis 
00063 //  (000)      (100)
00064 //
00065 
00066 #endif
00067 

Send questions, comments, and bug reports to:
jmk