Home

Download

Features

Screenshots

Handbook

Browse Source

Authors

SourceForge.net Logo
Hosted by SourceForge.net

OSI Certified


Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   Related Pages   Search  

glgraphevent.h

00001 /***************************************************************************
00002                           glgraphevent.h  -  description
00003                              -------------------
00004     begin                : Tue Oct 22 2002
00005     copyright            : (C) 2002 by Fungmeista
00006     email                : mizunoami44@sourceforge.net
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00018 #ifndef GLGRAPHEVENT_H
00019 #define GLGRAPHEVENT_H
00020 
00025 class GLGraphEvent
00026 { 
00027     public: 
00028         GLGraphEvent(float xRot, float zRot){this->xRot = xRot; this->zRot = zRot;}
00029         GLGraphEvent(float xMin, float xMax,float yMin,float yMax,float zMin,float zMax){_xMin = xMin; _xMax = xMax; _yMin = yMin; _yMax = yMax; _zMin = zMin; _zMax = zMax;}
00030         ~GLGraphEvent(){}
00031         float polarEye() const {return xRot;}
00032         float azimuthalEye() const {return zRot;}
00033         float xMin() const {return _xMin;}
00034         float xMax() const {return _xMax;}
00035         float yMin() const {return _yMin;}
00036         float yMax() const {return _yMax;}
00037         float zMin() const {return _zMin;}
00038         float zMax() const {return _zMax;}
00039 
00040     private:
00041         float xRot, zRot, _xMin, _xMax, _yMin, _yMax, _zMin, _zMax;
00042 };
00043 
00044 #endif //GLGRAPHEVENT_H