source: nanovis/branches/1.1/NvVolumeShader.h @ 4804

Last change on this file since 4804 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: 540 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_VOLUME_SHADER_H
7#define NV_VOLUME_SHADER_H
8
9#include "NvShader.h"
10
11class Volume;
12
13class NvVolumeShader : public NvShader
14{
15public :
16    virtual ~NvVolumeShader();
17
18    virtual void bind(unsigned int tfID, Volume *volume,
19                      int sliceMode, float sampleRatio) = 0;
20
21    virtual void unbind()
22    {
23        NvShader::unbind();
24    }
25
26protected :
27    NvVolumeShader();
28};
29
30
31#endif //
32
Note: See TracBrowser for help on using the repository browser.