source: nanovis/trunk/RegularVolumeShader.h @ 5722

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

Include namespace in header guard defines

  • Property svn:eol-style set to native
File size: 613 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_REGULAR_VOLUME_SHADER_H
7#define NV_REGULAR_VOLUME_SHADER_H
8
9#include "Volume.h"
10#include "VolumeShader.h"
11
12namespace nv {
13
14/// Shader for regular volume (uniform grid)
15class RegularVolumeShader : public VolumeShader
16{
17public:
18    RegularVolumeShader();
19
20    virtual ~RegularVolumeShader();
21
22    virtual void bind(unsigned int tfID, Volume *volume,
23                      int sliceMode, float sampleRatio);
24
25    virtual void unbind();
26
27private:
28    void init();
29};
30
31}
32
33#endif
Note: See TracBrowser for help on using the repository browser.