SPModel: plugins/flowHierarchyViewer/visualization.h Source File
VPAC - Computational Software Development
Main | SPModel | StGermain FrameWork |
Main Page | Alphabetical List | Class List | Directories | File List | Class Members | File Members

visualization.h

Go to the documentation of this file.
00001 /*~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
00002 **
00003 ** Copyright (C), 2004, Victorian Partnership for Advanced Computing (VPAC) Ltd, 110 Victoria Street, Melbourne, 3053, Australia.
00004 **
00005 ** Authors:
00006 **  Ogar R. Widjaja, Computational Scientist, VPAC.
00007 **  Raquibul Hassan, Software Engineer, VPAC. (raq@vpac.org)
00008 **  Keith Hsuan, Computational Scientist, VPAC (keith@vpac.org)
00009 **  William F. Appelbe, Director, VPAC. (bill@vpac.org)
00010 **  Stevan M. Quenette, Senior Software Engineer, VPAC. (steve@vpac.org)
00011 **  Patrick D. Sunter, Software Engineer, VPAC. (patrick@vpac.org)
00012 **
00013 ** This file may be distributed under the terms of the VPAC Public License
00014 ** as defined by VPAC of Australia and appearing in the file
00015 ** LICENSE.VPL included in the packaging of this file.
00016 **
00017 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
00018 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
00019 **
00020 */
00033 #ifndef __SPModel_FlowHierarchyViewer_visualization_h__
00034 #define __SPModel_FlowHierarchyViewer_visualization_h__
00035 
00036 typedef struct colorMap_t{
00037     float height;
00038     float red;
00039     float green;
00040     float blue;
00041 }
00042     colorMap;
00043 
00044 void createGLWindow (SPModel_Context *context);
00045 void windowEvents (void *context);
00046 void swapBuffers (void);
00047 void clearDepthColor (void);
00048 void drawCircle (double x, double y, double z, double radius);
00049 void dumpNodes (void* context);
00050 void renderAll (void *context);
00051 void selection(void *context, int x, int y);
00052 void displayCatchments( SPModel_Context *context );;
00053 
00054 #endif