source: nanovis/branches/1.1/RegularVolumeShader.h @ 5722

Last change on this file since 5722 was 4889, checked in by ldelgass, 5 years ago

Merge r3611:3618 from trunk

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