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

SimianQGL.h

Go to the documentation of this file.
00001 //------------------------------------------------------------------------
00002 //
00003 //   Joe Kniss
00004 //     8-29-03
00005 //                   ________    ____   ___ 
00006 //                  |        \  /    | /  /
00007 //                  +---+     \/     |/  /
00008 //                  +--+|  |\    /|     < 
00009 //                  |  ||  | \  / |  |\  \ 
00010 //                  |      |  \/  |  | \  \ 
00011 //                   \_____|      |__|  \__\
00012 //                       Copyright  2003 
00013 //                      Joe Michael Kniss
00014 //                   <<< jmk@cs.utah.edu >>>
00015 //               "All Your Base are Belong to Us"
00016 //-------------------------------------------------------------------------
00017 
00018 
00019 #ifndef __SIMIAN_RENDERABLE_QGL_DOT_H
00020 #define __SIMIAN_RENDERABLE_QGL_DOT_H
00021 
00022 #include <GL/glew.h>
00023 #include <GL/RenderableQGL.h>
00024 #include <signalGutz.h>
00025 #include <volren/VolRenBase.h>
00026 
00027 class SimianQGL : public RenderableQGL {
00028 public:
00029    SimianQGL(QWidget *parent=0, const char *name=0);
00030    virtual ~SimianQGL() {}
00031 
00032    ///@name Volume Renderer 
00033    ///@{
00034    /// set the volume renderer, also adds it to the renderable list, so DONT ADD IT TWICE!
00035    void         setVolumeRenderer(VolRenBaseSP vrb);
00036    VolRenBaseSP getVolumeRenderer() const { return _vrb; }
00037    gutz::vec3f  getLastCenter() const;
00038    ///@}
00039       
00040 protected:
00041    
00042    VolRenBaseSP _vrb;
00043 
00044 };
00045 
00046 
00047 
00048 #endif
00049 

Send questions, comments, and bug reports to:
jmk