00001 //------------------------------------------------------------------------ 00002 // 00003 // Joe Kniss 00004 // 6-17-03 00005 // ________ ____ ___ 00006 // | \ / | / / 00007 // +---+ \/ |/ / 00008 // +--+| |\ /| < 00009 // | || | \ / | |\ \ 00010 // | | \/ | | \ \ 00011 // \_____| |__| \__\ 00012 // Copyright 2003 00013 // Joe Michael Kniss 00014 // <<< jmk@cs.utah.edu >>> 00015 // "All Your Base are Belong to Us" 00016 //------------------------------------------------------------------------- 00017 00018 /// VolShaderStd.h 00019 /// Classes for Standard Simian Volume Shaders 00020 00021 #ifndef __VOL_SHADER_STANDARD_DOT_H 00022 #define __VOL_SHADER_STANDARD_DOT_H 00023 00024 #include <volrenalg/VolShader.h> 00025 00026 /////////////////////////////////////////////////////////////////////////// 00027 /// VolShaderStd, implements the common volume rendering setup. 00028 /// framebuffer blending, linear transfer function, etc..... 00029 class VolShaderStd : public VolShader { 00030 public: 00031 VolShaderStd(); 00032 virtual ~VolShaderStd(){} 00033 protected: 00034 virtual void bindDef(); 00035 virtual void releaseDef(); 00036 }; 00037 00038 /////////////////////////////////////////////////////////////////////////// 00039 /// VolShaderTexCoord. 00040 /// Visualize the texture coordinates for a particular texture unit 00041 class VolShaderTexCoord : public VolShaderStd { 00042 public: 00043 VolShaderTexCoord(unsigned int tcNum = 0); 00044 virtual ~VolShaderTexCoord(){} 00045 protected: 00046 00047 }; 00048 00049 #endif 00050