source: trunk/packages/vizservers/nanovis/VolumeShader.h @ 4587

Last change on this file since 4587 was 3612, checked in by ldelgass, 12 years ago

Remove Nv prefix from shader classes now that they are in nv namespace.

  • Property svn:eol-style set to native
File size: 546 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 */
[2844]6#ifndef NV_VOLUME_SHADER_H
7#define NV_VOLUME_SHADER_H
[580]8
[3612]9#include "Shader.h"
[580]10
[3611]11namespace nv {
12
[580]13class Volume;
14
[3612]15class VolumeShader : public Shader
[2844]16{
[580]17public :
[3612]18    virtual ~VolumeShader();
[580]19
[3362]20    virtual void bind(unsigned int tfID, Volume *volume,
21                      int sliceMode, float sampleRatio) = 0;
[2844]22
[3362]23    virtual void unbind()
24    {
[3612]25        Shader::unbind();
[3362]26    }
[2844]27
28protected :
[3612]29    VolumeShader();
[580]30};
31
[3611]32}
[580]33
34#endif //
35
Note: See TracBrowser for help on using the repository browser.