source: trunk/packages/vizservers/nanovis/transfer-function/MainWindow.h @ 2798

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

Add emacs mode magic line in preparation for indentation cleanup

  • Property svn:eol-style set to native
File size: 1.4 KB
Line 
1/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
2/*
3 * ----------------------------------------------------------------------
4 * MainWindow.h: implementation of the main transfer function gui window
5 *
6 * ======================================================================
7 *  AUTHOR:  Wei Qiao <qiaow@purdue.edu>
8 *           Purdue Rendering and Perceptualization Lab (PURPL)
9 *
10 *  Copyright (c) 2004-2006  Purdue Research Foundation
11 *
12 *  See the file "license.terms" for information on usage and
13 *  redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
14 * ======================================================================
15 */
16
17
18#ifndef _MAIN_TF_WINDOW_H
19#define _MAIN_TF_WINDOW_H
20
21#include "glui.h"
22#include "ControlPoint.h"
23
24extern int mainWindow;
25
26extern int main_winx, main_winy;
27extern int cm_winx, cm_winy;
28extern int unitWidth, unitHeight;
29
30class MainTransferFunctionWindow{
31
32public:
33        static ControlPoint* selectPoint;
34       
35        static void mainMouse(int button, int state, int x, int y);
36        static void mainMotion(int x, int y);
37        static void mainIdle();
38        static void mainKeyboard(unsigned char key, int x, int y);
39        static void mainDestroy();
40        static void mainReshape(int x, int y);
41        static void mainDisplay();
42        static void mainInit();
43
44        static void loadFile(char* fileName);
45        static void saveFile(char* fileName);
46        static void  changeState(int arg);
47
48        MainTransferFunctionWindow();
49        virtual ~MainTransferFunctionWindow(); 
50       
51};
52
53#endif
Note: See TracBrowser for help on using the repository browser.