Last change
on this file since 3596 was
3574,
checked in by ldelgass, 11 years ago
|
Use normalizeScalar common function where possible. Also, don't set NaNs? to
-1 in unnormalized data since -1 could be a valid data value. Need to make
sure gradient filtering properly handles NaNs?.
|
-
Property svn:eol-style set to
native
|
File size:
683 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 DX_READER_COMMON_H |
---|
7 | #define DX_READER_COMMON_H |
---|
8 | |
---|
9 | extern float * |
---|
10 | merge(float *scalar, float *gradient, int size); |
---|
11 | |
---|
12 | extern void |
---|
13 | normalizeScalar(float *data, int count, int stride, double min, double max); |
---|
14 | |
---|
15 | extern float * |
---|
16 | computeGradient(float *data, |
---|
17 | int nx, int ny, int nz, |
---|
18 | float dx, float dy, float dz, |
---|
19 | float min, float max); |
---|
20 | |
---|
21 | extern void |
---|
22 | computeSimpleGradient(float *data, |
---|
23 | int nx, int ny, int nz, |
---|
24 | float dx = 1.0f, float dy = 1.0f, float dz = 1.0f); |
---|
25 | |
---|
26 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.