Last change
on this file since 4923 was
4904,
checked in by ldelgass, 9 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
|
Rev | Line | |
---|
[3567] | 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 | */ |
---|
[4889] | 11 | #ifndef NV_FLOWTYPES_H |
---|
| 12 | #define NV_FLOWTYPES_H |
---|
[3567] | 13 | |
---|
[4889] | 14 | namespace nv { |
---|
| 15 | |
---|
[4904] | 16 | enum FlowSliceAxis { |
---|
| 17 | AXIS_X, |
---|
| 18 | AXIS_Y, |
---|
| 19 | AXIS_Z |
---|
| 20 | }; |
---|
| 21 | |
---|
[3567] | 22 | struct FlowColor { |
---|
| 23 | float r, g, b, a; |
---|
| 24 | }; |
---|
| 25 | |
---|
| 26 | struct FlowPoint { |
---|
| 27 | float x, y, z; |
---|
| 28 | }; |
---|
| 29 | |
---|
| 30 | struct FlowPosition { |
---|
| 31 | float value; |
---|
| 32 | unsigned int flags; |
---|
[4904] | 33 | FlowSliceAxis axis; |
---|
[3567] | 34 | }; |
---|
| 35 | |
---|
| 36 | // FlowPosition flag values |
---|
| 37 | #define RELPOS 0 |
---|
| 38 | #define ABSPOS 1 |
---|
| 39 | |
---|
[4889] | 40 | } |
---|
| 41 | |
---|
[3567] | 42 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.