source: nanovis/branches/1.1/FlowTypes.h @ 5722

Last change on this file since 5722 was 4904, checked in by ldelgass, 5 years ago

Merge serveral changes from trunk. Does not include threading, world space
changes, etc.

  • 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.