source: nanovis/trunk/FlowTypes.h @ 4923

Last change on this file since 4923 was 3630, checked in by ldelgass, 11 years ago

Nanovis refactoring to fix problems with scaling and multiple results.
Do rendering in world space to properly place and scale multiple data sets.
Also fix flows to reduce resets of animations. More work toward removing
Cg dependency. Fix panning to convert viewport coords to world coords.

  • Property svn:eol-style set to native
File size: 660 bytes
Line 
1/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
2/*
3 * Copyright (c) 2004-2013  HUBzero Foundation, LLC
4 *
5 * Authors:
6 *   Wei Qiao <qiaow@purdue.edu>
7 *   Insoo Woo <iwoo@purdue.edu>
8 *   George A. Howlett <gah@purdue.edu>
9 *   Leif Delgass <ldelgass@purdue.edu>
10 */
11#ifndef NV_FLOWTYPES_H
12#define NV_FLOWTYPES_H
13
14namespace nv {
15
16enum FlowSliceAxis {
17    AXIS_X,
18    AXIS_Y,
19    AXIS_Z
20};
21
22struct FlowColor {
23    float r, g, b, a;
24};
25
26struct FlowPoint {
27    float x, y, z;
28};
29
30struct FlowPosition {
31    float value;
32    unsigned int flags;
33    FlowSliceAxis axis;
34};
35
36// FlowPosition flag values
37#define RELPOS 0
38#define ABSPOS 1
39
40}
41
42#endif
Note: See TracBrowser for help on using the repository browser.