Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygenbasicsurfeval.h
Go to the documentation of this file.
00001 /* 00002 ** License Applicability. Except to the extent portions of this file are 00003 ** made subject to an alternative license as permitted in the SGI Free 00004 ** Software License B, Version 1.1 (the "License"), the contents of this 00005 ** file are subject only to the provisions of the License. You may not use 00006 ** this file except in compliance with the License. You may obtain a copy 00007 ** of the License at Silicon Graphics, Inc., attn: Legal Services, 1600 00008 ** Amphitheatre Parkway, Mountain View, CA 94043-1351, or at: 00009 ** 00010 ** http://oss.sgi.com/projects/FreeB 00011 ** 00012 ** Note that, as provided in the License, the Software is distributed on an 00013 ** "AS IS" basis, with ALL EXPRESS AND IMPLIED WARRANTIES AND CONDITIONS 00014 ** DISCLAIMED, INCLUDING, WITHOUT LIMITATION, ANY IMPLIED WARRANTIES AND 00015 ** CONDITIONS OF MERCHANTABILITY, SATISFACTORY QUALITY, FITNESS FOR A 00016 ** PARTICULAR PURPOSE, AND NON-INFRINGEMENT. 00017 ** 00018 ** Original Code. The Original Code is: OpenGL Sample Implementation, 00019 ** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics, 00020 ** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc. 00021 ** Copyright in any portions created by third parties is as indicated 00022 ** elsewhere herein. All Rights Reserved. 00023 ** 00024 ** Additional Notice Provisions: The application programming interfaces 00025 ** established by SGI in conjunction with the Original Code are The 00026 ** OpenGL(R) Graphics System: A Specification (Version 1.2.1), released 00027 ** April 1, 1999; The OpenGL(R) Graphics System Utility Library (Version 00028 ** 1.3), released November 4, 1998; and OpenGL(R) Graphics with the X 00029 ** Window System(R) (Version 1.3), released October 19, 1998. This software 00030 ** was created using the OpenGL(R) version 1.2.1 Sample Implementation 00031 ** published by SGI, but has not been independently verified as being 00032 ** compliant with the OpenGL(R) version 1.2.1 Specification. 00033 */ 00034 00035 /* 00036 * basicsurfeval.h 00037 * 00038 * $Date: 2007-10-19 23:21:45 +0000 (Fri, 19 Oct 2007) $ $Revision: 1.1 $ 00039 * $Header: /cygdrive/c/RCVS/CVS/ReactOS/reactos/lib/glu32/libnurbs/internals/basicsurfeval.h,v 1.1 2004/02/02 16:39:10 navaraf Exp $ 00040 */ 00041 00042 #ifndef __glubasicsurfeval_h_ 00043 #define __glubasicsurfeval_h_ 00044 00045 #include "types.h" 00046 #include "displaymode.h" 00047 #include "cachingeval.h" 00048 00049 class BasicSurfaceEvaluator : public CachingEvaluator { 00050 public: 00051 virtual void range2f( long, REAL *, REAL * ); 00052 virtual void domain2f( REAL, REAL, REAL, REAL ); 00053 00054 virtual void enable( long ); 00055 virtual void disable( long ); 00056 virtual void bgnmap2f( long ); 00057 virtual void map2f( long, REAL, REAL, long, long, 00058 REAL, REAL, long, long, 00059 REAL * ); 00060 virtual void mapgrid2f( long, REAL, REAL, long, REAL, REAL ); 00061 virtual void mapmesh2f( long, long, long, long, long ); 00062 virtual void evalcoord2f( long, REAL, REAL ); 00063 virtual void evalpoint2i( long, long ); 00064 virtual void endmap2f( void ); 00065 00066 virtual void polymode( long ); 00067 virtual void bgnline( void ); 00068 virtual void endline( void ); 00069 virtual void bgnclosedline( void ); 00070 virtual void endclosedline( void ); 00071 virtual void bgntmesh( void ); 00072 virtual void swaptmesh( void ); 00073 virtual void endtmesh( void ); 00074 virtual void bgnqstrip( void ); 00075 virtual void endqstrip( void ); 00076 00077 virtual void bgntfan( void ); 00078 virtual void endtfan( void ); 00079 00080 virtual void evalUStrip(int n_upper, REAL v_upper, REAL* upper_val, 00081 int n_lower, REAL v_lower, REAL* lower_val 00082 ) = 0; 00083 00084 virtual void evalVStrip(int n_left, REAL u_left, REAL* left_val, 00085 int n_right, REAL u_right, REAL* right_val 00086 ) = 0; 00087 virtual void inDoEvalCoord2NOGE(REAL u, REAL v, REAL* ret_point, REAL* ret_normal) = 0; 00088 virtual void inDoEvalCoord2NOGE_BU(REAL u, REAL v, REAL* ret_point, REAL* ret_normal) = 0; 00089 virtual void inDoEvalCoord2NOGE_BV(REAL u, REAL v, REAL* ret_point, REAL* ret_normal) = 0; 00090 virtual void inPreEvaluateBV_intfac(REAL v ) = 0; 00091 virtual void inPreEvaluateBU_intfac(REAL u ) = 0; 00092 00093 }; 00094 00095 #endif /* __glubasicsurfeval_h_ */ Generated on Sat May 26 2012 04:22:15 for ReactOS by
1.7.6.1
|