/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ /* * Copyright (c) 2004-2013 HUBzero Foundation, LLC * */ #ifndef NV_REGULAR_VOLUME_SHADER_H #define NV_REGULAR_VOLUME_SHADER_H #include "Volume.h" #include "VolumeShader.h" namespace nv { /// Shader for regular volume (uniform grid) class RegularVolumeShader : public VolumeShader { public: RegularVolumeShader(); virtual ~RegularVolumeShader(); virtual void bind(unsigned int tfID, Volume *volume, int sliceMode, float sampleRatio); virtual void unbind(); private: void init(); }; } #endif