source: nanovis/trunk/FlowTypes.h @ 5399

Last change on this file since 5399 was 5399, checked in by ldelgass, 4 years ago

Use double for Flow position since it can be an absolute value.

  • Property svn:eol-style set to native
File size: 661 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    double 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.