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

Last change on this file since 5722 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
RevLine 
[2798]1/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
[3502]2/*
3 * Copyright (c) 2004-2013  HUBzero Foundation, LLC
4 *
5 */
[4889]6#ifndef NV_GRADIENT_FILTER_H
7#define NV_GRADIENT_FILTER_H
[883]8
[4889]9namespace nv {
10
[2844]11typedef enum {
12    DATRAW_UCHAR,
13    DATRAW_FLOAT,
14    DATRAW_USHORT
15} DataType;
[883]16
[2877]17extern void computeGradients(float *gradients, void *volData,
18                             int *sizes, float *spacing, DataType dataType);
[2844]19
[883]20extern void filterGradients(float *gradients, int *sizes);
[2844]21
[883]22extern void quantizeGradients(float *gradientsIn, void *gradientsOut,
[2844]23                              int *sizes, DataType dataType);
[887]24
[4889]25}
26
[2844]27#endif
Note: See TracBrowser for help on using the repository browser.