source: trunk/packages/vizservers/nanovis/NvRegularVolumeShader.h @ 3502

Last change on this file since 3502 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: 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.