Last change
on this file since 1258 was
956,
checked in by dkearney, 16 years ago
|
updated the process of querying data from dx files but using native dx library calls instead of calculating grid positions and data points myself.
the Rappture::DX::interpolate() function does not quite work as intended, but if you do not change the axis lengths you can get the original data values back.
created a new function !computeSimpleGradient, located in dxReaderCommon.cpp, as part of the effort to simplify !dxReader.cpp.
removed old code from !dxReader2.cpp
|
File size:
381 bytes
|
Line | |
---|
1 | #ifndef _DX_READER_COMMON_H |
---|
2 | #define _DX_READER_COMMON_H |
---|
3 | |
---|
4 | float* merge(float* scalar, float* gradient, int size); |
---|
5 | void normalizeScalar(float* fdata, int count, float min, float max); |
---|
6 | float* computeGradient(float* fdata, int width, int height, int depth, |
---|
7 | float min, float max); |
---|
8 | void computeSimpleGradient(float* data, int nx, int ny, int nz); |
---|
9 | |
---|
10 | #endif /*_DX_READER_COMMON_H*/ |
---|
Note: See
TracBrowser
for help on using the repository browser.