Projection.hGo to the documentation of this file.00001 /* ****************************************************************** ** 00002 ** OpenSees - Open System for Earthquake Engineering Simulation ** 00003 ** Pacific Earthquake Engineering Research Center ** 00004 ** ** 00005 ** ** 00006 ** (C) Copyright 1999, The Regents of the University of California ** 00007 ** All Rights Reserved. ** 00008 ** ** 00009 ** Commercial use of this program without express permission of the ** 00010 ** University of California, Berkeley, is strictly prohibited. See ** 00011 ** file 'COPYRIGHT' in main directory for information on usage and ** 00012 ** redistribution, and for a DISCLAIMER OF ALL WARRANTIES. ** 00013 ** ** 00014 ** Developed by: ** 00015 ** Frank McKenna (fmckenna@ce.berkeley.edu) ** 00016 ** Gregory L. Fenves (fenves@ce.berkeley.edu) ** 00017 ** Filip C. Filippou (filippou@ce.berkeley.edu) ** 00018 ** ** 00019 ** ****************************************************************** */ 00020 00021 // $Revision: 1.1.1.1 $ 00022 // $Date: 2000/09/15 08:23:26 $ 00023 // $Source: /usr/local/cvs/OpenSees/SRC/renderer/Projection.h,v $ 00024 00025 00026 #ifndef Projection_H 00027 #define Projection_H 00028 00029 #include "db.H" 00030 #define PARALLEL_MODE 0 00031 #define PERSPECTIVE_MODE 1 00032 00033 class Projection { 00034 public: 00035 Projection(); 00036 ~Projection(); 00037 00038 int update(void); 00039 FACE &transform(FACE &); 00040 MYPOINT *transformP(MYPOINT *input); 00041 00042 int projection_mode; 00043 VECTOR vpwindow; 00044 VECTOR planedist; 00045 VECTOR cop; 00046 00047 private: 00048 MATRIX TMat; 00049 float dist; 00050 }; 00051 00052 #endif |