source: trunk/packages/vizservers/nanovis/NvColorTableRenderer.h @ 3502

Last change on this file since 3502 was 3502, checked in by ldelgass, 8 years ago

Add basic VTK structured points reader to nanovis, update copyright dates.

  • Property svn:eol-style set to native
File size: 713 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 */
[2836]6#ifndef NV_COLORTABLE_RENDERER_H
7#define NV_COLORTABLE_RENDERER_H
[580]8
[3465]9#include <util/Fonts.h>
[2836]10
[580]11#include "Texture2D.h"
12#include "TransferFunction.h"
13#include "NvColorTableShader.h"
14
[2836]15class NvColorTableRenderer
16{
[580]17public :
18    NvColorTableRenderer();
19    ~NvColorTableRenderer();
20
[2836]21    void render(int width, int height,
22                Texture2D *texture, TransferFunction *tf,
[3463]23                double rangeMin, double rangeMax);
[2836]24
[3463]25    void setFonts(nv::util::Fonts *fonts)
[2836]26    {
27        _fonts = fonts;
28    }
29
30private:
[3463]31    nv::util::Fonts *_fonts;
[2863]32    NvColorTableShader *_shader;
[580]33};
34
35#endif
Note: See TracBrowser for help on using the repository browser.