source: nanovis/branches/1.1/GradientFilter.h @ 4906

Last change on this file since 4906 was 4889, checked in by ldelgass, 5 years ago

Merge r3611:3618 from trunk

  • Property svn:eol-style set to native
File size: 629 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_GRADIENT_FILTER_H
7#define NV_GRADIENT_FILTER_H
8
9namespace nv {
10
11typedef enum {
12    DATRAW_UCHAR,
13    DATRAW_FLOAT,
14    DATRAW_USHORT
15} DataType;
16
17extern void computeGradients(float *gradients, void *volData,
18                             int *sizes, float *spacing, DataType dataType);
19
20extern void filterGradients(float *gradients, int *sizes);
21
22extern void quantizeGradients(float *gradientsIn, void *gradientsOut,
23                              int *sizes, DataType dataType);
24
25}
26
27#endif
Note: See TracBrowser for help on using the repository browser.