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

Last change on this file since 4599 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: 604 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 GRADIENT_FILTER_H
7#define GRADIENT_FILTER_H
8
9typedef enum {
10    DATRAW_UCHAR,
11    DATRAW_FLOAT,
12    DATRAW_USHORT
13} DataType;
14
15extern void computeGradients(float *gradients, void *volData,
16                             int *sizes, float *spacing, DataType dataType);
17
18extern void filterGradients(float *gradients, int *sizes);
19
20extern void quantizeGradients(float *gradientsIn, void *gradientsOut,
21                              int *sizes, DataType dataType);
22
23#endif
Note: See TracBrowser for help on using the repository browser.