Last change
on this file since 4626 was
3935,
checked in by ldelgass, 11 years ago
|
First pass at loading VTK vector data for flows in nanovis
|
-
Property svn:eol-style set to
native
|
File size:
780 bytes
|
Line | |
---|
1 | /* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ |
---|
2 | /* |
---|
3 | * Copyright (C) 2004-2013 HUBzero Foundation, LLC |
---|
4 | * |
---|
5 | */ |
---|
6 | #ifndef NV_READER_COMMON_H |
---|
7 | #define NV_READER_COMMON_H |
---|
8 | |
---|
9 | namespace nv { |
---|
10 | |
---|
11 | extern float * |
---|
12 | merge(float *scalar, float *gradient, int size); |
---|
13 | |
---|
14 | extern void |
---|
15 | normalizeScalar(float *data, int count, int stride, double min, double max); |
---|
16 | |
---|
17 | extern void |
---|
18 | normalizeVector(float *data, int count, double min, double max); |
---|
19 | |
---|
20 | extern float * |
---|
21 | computeGradient(float *data, |
---|
22 | int nx, int ny, int nz, |
---|
23 | float dx, float dy, float dz, |
---|
24 | float min, float max); |
---|
25 | |
---|
26 | extern void |
---|
27 | computeSimpleGradient(float *data, |
---|
28 | int nx, int ny, int nz, |
---|
29 | float dx = 1.0f, float dy = 1.0f, float dz = 1.0f); |
---|
30 | |
---|
31 | } |
---|
32 | |
---|
33 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.