source: trunk/packages/vizservers/nanovis/NvColorTableShader.cpp @ 2406

Last change on this file since 2406 was 2096, checked in by ldelgass, 13 years ago

Normalize line endings, set eol-style to native on *.cpp, *.h files

  • Property svn:eol-style set to native
File size: 496 bytes
Line 
1#include <R2/R2FilePath.h>
2#include "NvColorTableShader.h"
3#include <Trace.h>
4#include <global.h>
5
6NvColorTableShader::NvColorTableShader()
7{
8    init();
9}
10
11NvColorTableShader::~NvColorTableShader()
12{
13}
14
15void NvColorTableShader::init()
16{
17    _cgFP = LoadCgSourceProgram(g_context, "one_plane.cg", CG_PROFILE_FP30,
18        "main");
19    _dataParam = cgGetNamedParameter(_cgFP, "data");
20    _tfParam = cgGetNamedParameter(_cgFP, "tf");
21    _renderParam = cgGetNamedParameter(_cgFP, "render_param");
22}
23
24
25
Note: See TracBrowser for help on using the repository browser.