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

VolRenCube.cpp

Go to the documentation of this file.
00001 //------------------------------------------------------------------------
00002 //
00003 //   Joe Kniss
00004 //     9-20-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 #include "VolRenCube.h"
00021 #include <volrenalg/VolRenAlgBase.h>
00022 #include <textureGlift.h>
00023 
00024 #ifdef WIN32
00025 #include <windows.h>
00026 #endif
00027 
00028 #include <GL/gl.h>
00029 
00030 #include <iostream>
00031 
00032 using namespace std;
00033 using namespace gutz;
00034 using namespace glift;
00035 
00036 #define VRB_MAX_VERTS 9
00037 
00038 ///////////////////////////////////////////////////////////////////////////
00039 /// Construct
00040 ///////////////////////////////////////////////////////////////////////////
00041 VolRenCube::VolRenCube()
00042 {
00043 }
00044 
00045 VolRenCube::~VolRenCube()
00046 {
00047 }
00048 
00049 ///////////////////////////////////////////////////////////////////////////
00050 /// initialize
00051 ///////////////////////////////////////////////////////////////////////////
00052 void VolRenCube::init()
00053 {
00054    VolRenBase::init();
00055 }
00056 
00057 ///////////////////////////////////////////////////////////////////////////
00058 /// draw the volume
00059 ///////////////////////////////////////////////////////////////////////////
00060 void VolRenCube::drawDef(const gutz::RenderEvent &re)
00061 {       
00062 
00063    VolRenBase::draw(re);
00064 
00065 }

Send questions, comments, and bug reports to:
jmk