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

visualization.h File Reference

Role: Utility vis functions. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  colorMap_t

Typedefs

typedef colorMap_t colorMap

Functions

void createGLWindow (SPModel_Context *context)
void windowEvents (void *context)
void swapBuffers (void)
void clearDepthColor (void)
void drawCircle (double x, double y, double z, double radius)
void dumpNodes (void *context)
void renderAll (void *context)
void selection (void *context, int x, int y)
void displayCatchments (SPModel_Context *context)


Detailed Description

Role: Utility vis functions.

Assumptions:

Comments:

Id
FlowHierarchyViewer.h 72 2004-11-12 01:11:14Z PatrickSunter

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Definition in file visualization.h.


Typedef Documentation

typedef struct colorMap_t colorMap
 


Function Documentation

void clearDepthColor void   ) 
 

Definition at line 902 of file visualization.c.

void createGLWindow SPModel_Context context  ) 
 

Definition at line 826 of file visualization.c.

References BPP, buildCircle(), displayOn, faultModelExtensionHandle, SPModel_Context::globalMesh, HEIGHT, initializeGL(), normalArray, SurfaceMesh::numNodes, SurfaceMesh::sideX, simulationExtensionHandle, and WIDTH.

void displayCatchments SPModel_Context context  ) 
 

Definition at line 173 of file visualization.c.

References SurfaceMesh::h, heightFactor, SurfaceMesh::id, SPModel_Context::localMesh, SurfaceMesh::numNodes, SurfaceMesh::receiver, SurfaceMesh::x, and SurfaceMesh::y.

Referenced by dumpNodes().

void drawCircle double  x,
double  y,
double  z,
double  radius
 

Definition at line 273 of file NodeHistoryViewer.c.

void dumpNodes void *  context  ) 
 

Definition at line 259 of file visualization.c.

References colorMap_t::blue, SPModel_Context::catchmentList, clearDepthColor(), currentProcessor, displayCatchments(), SPModelFaultModelContextExtension_t::distFromBoundary, doSelection, drawingModeIndex, drawingModes, SurfaceMesh::elementGlobalCount, erosionMap, flexureMap, SPModelSimulationContextExtension_t::globalErosion, SPModel_Context::globalMesh, SPModelSimulationContextExtension_t::globalSedimentHistory, colorMap_t::green, SurfaceMesh::h, colorMap_t::height, heightFactor, SPModelSimulationContextExtension_t::hisotot, SurfaceMesh::id, initializeNodes(), SPModel_Context::localMesh, localMesh, maxErosion, maxH, maxIsostaticRebound, maxSediment, maxX, maxY, minErosion, minH, minIsostaticRebound, minSediment, MY_CIRCLE_LIST, SurfaceMesh::myLoad, SPModelFaultModelContextExtension_t::nodeIndices, SurfaceMesh::nodeNeighbours, normalArray, SPModelFaultModelContextExtension_t::numFaultModel, SurfaceMesh::numNeigh, SurfaceMesh::numNodes, SurfaceRegularMesh::nx, SurfaceRegularMesh::ny, SurfaceMesh::processor, SurfaceMesh::receiver, colorMap_t::red, SPModel_Context::regularMesh, SurfaceRegularMesh::regularNodes, scaled, sedimentMap, selectCatchments, selectedNode, showCatchment, showFaultBlocks, showFaultModel, showReceivers, showRegularMesh, UNDEFINED, SurfaceMesh::vertices, RegularNode_t::x, SurfaceMesh::x, xRot, RegularNode_t::y, SurfaceMesh::y, yRot, and zoomFactor.

void renderAll void *  context  ) 
 

void selection void *  context,
int  x,
int  y
 

Definition at line 108 of file visualization.c.

References dumpNodes(), HEIGHT, selectedNode, selectionBuffer, and WIDTH.

Referenced by windowEvents().

void swapBuffers void   ) 
 

void windowEvents void *  context  ) 
 

Definition at line 615 of file visualization.c.

References currentProcessor, doSelection, drawingModeIndex, dumpNodes(), erosionMap, flexureMap, SPModel_Context::globalMesh, globalMesh, SurfaceMesh::h, heightFactor, maxH, maxX, maxY, SPModel_Context::meshDecomp, minH, minX, minY, mouseClick(), mouseMotion(), SurfaceMesh::numProcs, _SurfaceMeshDecomp::processorLoad, scaled, sedimentMap, selectCatchments, selectedNode, selection(), showCatchment, showFaultBlocks, showFaultModel, showReceivers, showRegularMesh, SurfaceMesh::x, xRot, SurfaceMesh::y, and yRot.