Ignore:
Timestamp:
Apr 2, 2013, 11:31:43 PM (7 years ago)
Author:
ldelgass
Message:

Remove Nv prefix from shader classes now that they are in nv namespace.

File:
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanovis/ColorTableShader.cpp

    r3611 r3612  
    44 *
    55 */
    6 #include "NvColorTableShader.h"
     6#include "ColorTableShader.h"
    77
    88using namespace nv;
    99
    10 NvColorTableShader::NvColorTableShader()
     10ColorTableShader::ColorTableShader()
    1111{
    1212    init();
    1313}
    1414
    15 NvColorTableShader::~NvColorTableShader()
     15ColorTableShader::~ColorTableShader()
    1616{
    1717}
    1818
    19 void NvColorTableShader::init()
     19void ColorTableShader::init()
    2020{
    2121    loadFragmentProgram("one_plane.cg", "main");
    2222}
    2323
    24 void NvColorTableShader::bind(Texture2D *plane, TransferFunction *tf)
     24void ColorTableShader::bind(Texture2D *plane, TransferFunction *tf)
    2525{
    2626    setFPTextureParameter("data", plane->id());
     
    2929    setFPParameter4f("render_param", 0., 0., 0., 0.);
    3030
    31     NvShader::bind();
     31    Shader::bind();
    3232}
    3333
    34 void NvColorTableShader::unbind()
     34void ColorTableShader::unbind()
    3535{
    3636    disableFPTextureParameter("data");
    3737    disableFPTextureParameter("tf");
    3838
    39     NvShader::unbind();
     39    Shader::unbind();
    4040}
Note: See TracChangeset for help on using the changeset viewer.