source: nanovis/branches/1.1/NvRegularVolumeShader.h @ 4879

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

Add basic VTK structured points reader to nanovis, update copyright dates.

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