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

GLWidgetFactory.h

Go to the documentation of this file.
00001 //------------------------------------------------------------------------
00002 //
00003 //   Joe Kniss
00004 //     6-20-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 /// GLWidgetFactory.h
00019 
00020 #ifndef __GL_WIDGET_FACTORY_DOT_H
00021 #define __GL_WIDGET_FACTORY_DOT_H
00022 
00023 #include <widget/WidgetFactory.h>
00024 #include "GLWidgets.h"
00025 #include <mathGutz.h>
00026 
00027 
00028 WidgetFactorySP genDefaultGLWidgetFactory()
00029 {
00030    return WidgetFactorySP( new WidgetFactory(
00031       new GLUNodeWidget(gutz::vec3f_zero,
00032                         0.1f, 0,
00033                         15,15),
00034       new GLUEdgeWidget(gutz::vec3f_zero,
00035                         gutz::vec3f_z, 
00036                         .07f, 0, 15, 15)
00037       ));
00038 }
00039 
00040 #endif
00041 
00042 

Send questions, comments, and bug reports to:
jmk