source: trunk/packages/vizservers/nanovis/ReaderCommon.h @ 3612

Last change on this file since 3612 was 3611, checked in by ldelgass, 11 years ago

Use nv namespace for classes in nanovis rather than prefixing class names with
Nv (still need to convert shader classes).

  • Property svn:eol-style set to native
File size: 702 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
9namespace nv {
10
11extern float *
12merge(float *scalar, float *gradient, int size);
13
14extern void
15normalizeScalar(float *data, int count, int stride, double min, double max);
16
17extern float *
18computeGradient(float *data,
19                int nx, int ny, int nz,
20                float dx, float dy, float dz,
21                float min, float max);
22
23extern void
24computeSimpleGradient(float *data,
25                      int nx, int ny, int nz,
26                      float dx = 1.0f, float dy = 1.0f, float dz = 1.0f);
27
28}
29
30#endif
Note: See TracBrowser for help on using the repository browser.