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

GLClipPlane.h

Go to the documentation of this file.
00001 //------------------------------------------------------------------------
00002 //
00003 //   Mark Hartner
00004 //     9-18-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 // GLClipPlane.h
00019 
00020 // Registers a signal/slot with a FrameWidget's planeChanged signal
00021 // and updates a clip plane which matches the FrameWidget's plane
00022 
00023 #ifndef __GL_CLIP_PLANE_DOT_H
00024 #define __GL_CLIP_PLANE_DOT_H
00025 
00026 #include <widget/FrameWidget.h>
00027 #include <signalGutz.h>
00028 #include <mathGutz.h>
00029 
00030 class GLClipPlane
00031 //  : public SurfaceWidget
00032 {
00033 public:
00034 
00035   HAS_SLOTS; /// supports gutz signals & slots
00036 
00037 
00038   GLClipPlane();
00039   GLClipPlane(gutz::planef p);
00040   GLClipPlane(FrameWidget *fw);
00041   ~GLClipPlane();
00042 
00043   //connect this function to FrameWidget::planeChanged()
00044   //in your main function
00045   // gutz::connect(someFrame.planeChanged, &someClipObj, &GLClipPlane::updateClipPlane)
00046   void updateClipPlane(gutz::planef foo); 
00047   
00048   
00049 protected:
00050 
00051 private:
00052 
00053 };
00054 
00055 
00056 
00057 #endif
00058 
00059 

Send questions, comments, and bug reports to:
jmk