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

Last change on this file since 3502 was 3502, checked in by ldelgass, 7 years ago

Add basic VTK structured points reader to nanovis, update copyright dates.

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