source: trunk/packages/vizservers/nanovis/NvVolumeShader.h @ 3611

Last change on this file since 3611 was 3611, checked in by ldelgass, 11 years ago

Use nv namespace for classes in nanovis rather than prefixing class names with
Nv (still need to convert shader classes).

  • Property svn:eol-style set to native
File size: 558 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
11namespace nv {
12
13class Volume;
14
15class NvVolumeShader : public NvShader
16{
17public :
18    virtual ~NvVolumeShader();
19
20    virtual void bind(unsigned int tfID, Volume *volume,
21                      int sliceMode, float sampleRatio) = 0;
22
23    virtual void unbind()
24    {
25        NvShader::unbind();
26    }
27
28protected :
29    NvVolumeShader();
30};
31
32}
33
34#endif //
35
Note: See TracBrowser for help on using the repository browser.