ReactOS  0.4.11-dev-721-g95bc44e
BasicSurfaceEvaluator Class Referenceabstract

#include <basicsurfeval.h>

Inheritance diagram for BasicSurfaceEvaluator:
Collaboration diagram for BasicSurfaceEvaluator:

Public Member Functions

virtual ~BasicSurfaceEvaluator ()
 
virtual void range2f (long, REAL *, REAL *)
 
virtual void domain2f (REAL, REAL, REAL, REAL)
 
virtual void enable (long)
 
virtual void disable (long)
 
virtual void bgnmap2f (long)
 
virtual void map2f (long, REAL, REAL, long, long, REAL, REAL, long, long, REAL *)
 
virtual void mapgrid2f (long, REAL, REAL, long, REAL, REAL)
 
virtual void mapmesh2f (long, long, long, long, long)
 
virtual void evalcoord2f (long, REAL, REAL)
 
virtual void evalpoint2i (long, long)
 
virtual void endmap2f (void)
 
virtual void polymode (long)
 
virtual void bgnline (void)
 
virtual void endline (void)
 
virtual void bgnclosedline (void)
 
virtual void endclosedline (void)
 
virtual void bgntmesh (void)
 
virtual void swaptmesh (void)
 
virtual void endtmesh (void)
 
virtual void bgnqstrip (void)
 
virtual void endqstrip (void)
 
virtual void bgntfan (void)
 
virtual void endtfan (void)
 
virtual void evalUStrip (int n_upper, REAL v_upper, REAL *upper_val, int n_lower, REAL v_lower, REAL *lower_val)=0
 
virtual void evalVStrip (int n_left, REAL u_left, REAL *left_val, int n_right, REAL u_right, REAL *right_val)=0
 
virtual void inDoEvalCoord2NOGE (REAL u, REAL v, REAL *ret_point, REAL *ret_normal)=0
 
virtual void inDoEvalCoord2NOGE_BU (REAL u, REAL v, REAL *ret_point, REAL *ret_normal)=0
 
virtual void inDoEvalCoord2NOGE_BV (REAL u, REAL v, REAL *ret_point, REAL *ret_normal)=0
 
virtual void inPreEvaluateBV_intfac (REAL v)=0
 
virtual void inPreEvaluateBU_intfac (REAL u)=0
 
- Public Member Functions inherited from CachingEvaluator
virtual ~CachingEvaluator ()
 
virtual int canRecord (void)
 
virtual int canPlayAndRecord (void)
 
virtual int createHandle (int handle)
 
virtual void beginOutput (ServiceMode, int handle)
 
virtual void endOutput (void)
 
virtual void discardRecording (int handle)
 
virtual void playRecording (int handle)
 

Additional Inherited Members

- Public Types inherited from CachingEvaluator
enum  ServiceMode { play, record, playAndRecord }
 

Detailed Description

Definition at line 43 of file basicsurfeval.h.

Constructor & Destructor Documentation

virtual BasicSurfaceEvaluator::~BasicSurfaceEvaluator ( )
inlinevirtual

Definition at line 45 of file basicsurfeval.h.

45 { /* silence warning*/ }

Member Function Documentation

void BasicSurfaceEvaluator::bgnclosedline ( void  )
virtual

Reimplemented in OpenGLSurfaceEvaluator.

Definition at line 164 of file basicsurfeval.cc.

Referenced by Backend::tmeshvert().

165 {
166 #ifndef NDEBUG
167  _glu_dprintf( "bgnclosedline\n" );
168 #endif
169 }
void BasicSurfaceEvaluator::bgnline ( void  )
virtual

Reimplemented in OpenGLSurfaceEvaluator.

Definition at line 148 of file basicsurfeval.cc.

Referenced by Backend::bgnoutline(), and Backend::surfmesh().

149 {
150 #ifndef NDEBUG
151  _glu_dprintf( "bgnline\n" );
152 #endif
153 }
void BasicSurfaceEvaluator::bgnmap2f ( long  )
virtual

Reimplemented in OpenGLSurfaceEvaluator.

Definition at line 90 of file basicsurfeval.cc.

Referenced by Backend::bgnsurf().

91 {
92 #ifndef NDEBUG
93  _glu_dprintf( "bgnmap2f\n" );
94 #endif
95 }
void BasicSurfaceEvaluator::bgnqstrip ( void  )
virtual

Reimplemented in OpenGLSurfaceEvaluator.

Definition at line 218 of file basicsurfeval.cc.

Referenced by Backend::bgnqstrip().

219 {
220 #ifndef NDEBUG
221  _glu_dprintf( "bgnqstrip\n" );
222 #endif
223 }
void BasicSurfaceEvaluator::bgntfan ( void  )
virtual

Reimplemented in OpenGLSurfaceEvaluator.

Definition at line 180 of file basicsurfeval.cc.

Referenced by Backend::bgntfan().

181 {
182 #ifndef NDEBUG
183  _glu_dprintf( "bgntfan\n" );
184 #endif
185 }
void BasicSurfaceEvaluator::bgntmesh ( void  )
virtual

Reimplemented in OpenGLSurfaceEvaluator.

Definition at line 194 of file basicsurfeval.cc.

Referenced by Backend::bgntmesh().

195 {
196 #ifndef NDEBUG
197  _glu_dprintf( "bgntmesh\n" );
198 #endif
199 }
void BasicSurfaceEvaluator::disable ( long  )
virtual

Reimplemented in OpenGLSurfaceEvaluator.

Definition at line 82 of file basicsurfeval.cc.

83 {
84 #ifndef NDEBUG
85  _glu_dprintf( "disable\n" );
86 #endif
87 }
void BasicSurfaceEvaluator::domain2f ( REAL  ,
REAL  ,
REAL  ,
REAL   
)
virtual

Reimplemented in OpenGLSurfaceEvaluator.

Definition at line 49 of file basicsurfeval.cc.

Referenced by Backend::patch().

50 {
51 #ifndef NDEBUG
52  _glu_dprintf( "domain2f\n" );
53 #endif
54 }
void BasicSurfaceEvaluator::enable ( long  )
virtual

Reimplemented in OpenGLSurfaceEvaluator.

Definition at line 74 of file basicsurfeval.cc.

Referenced by Backend::surfpts().

75 {
76 #ifndef NDEBUG
77  _glu_dprintf( "enable\n" );
78 #endif
79 }
void BasicSurfaceEvaluator::endclosedline ( void  )
virtual

Reimplemented in OpenGLSurfaceEvaluator.

Definition at line 172 of file basicsurfeval.cc.

Referenced by Backend::tmeshvert().

173 {
174 #ifndef NDEBUG
175  _glu_dprintf( "endclosedline\n" );
176 #endif
177 }
void BasicSurfaceEvaluator::endline ( void  )
virtual

Reimplemented in OpenGLSurfaceEvaluator.

Definition at line 156 of file basicsurfeval.cc.

Referenced by Backend::endoutline(), and Backend::surfmesh().

157 {
158 #ifndef NDEBUG
159  _glu_dprintf( "endline\n" );
160 #endif
161 }
void BasicSurfaceEvaluator::endmap2f ( void  )
virtual

Reimplemented in OpenGLSurfaceEvaluator.

Definition at line 98 of file basicsurfeval.cc.

Referenced by Backend::endsurf().

99 {
100 #ifndef NDEBUG
101  _glu_dprintf( "endmap2f\n" );
102 #endif
103 }
void BasicSurfaceEvaluator::endqstrip ( void  )
virtual

Reimplemented in OpenGLSurfaceEvaluator.

Definition at line 226 of file basicsurfeval.cc.

Referenced by Backend::endqstrip().

227 {
228 #ifndef NDEBUG
229  _glu_dprintf( "endqstrip\n" );
230 #endif
231 }
void BasicSurfaceEvaluator::endtfan ( void  )
virtual

Reimplemented in OpenGLSurfaceEvaluator.

Definition at line 188 of file basicsurfeval.cc.

Referenced by Backend::endtfan().

189 {
190 }
void BasicSurfaceEvaluator::endtmesh ( void  )
virtual

Reimplemented in OpenGLSurfaceEvaluator.

Definition at line 210 of file basicsurfeval.cc.

Referenced by Backend::endtmesh().

211 {
212 #ifndef NDEBUG
213  _glu_dprintf( "endtmesh\n" );
214 #endif
215 }
void BasicSurfaceEvaluator::evalcoord2f ( long  ,
REAL  ,
REAL   
)
virtual

Reimplemented in OpenGLSurfaceEvaluator.

Definition at line 132 of file basicsurfeval.cc.

Referenced by Backend::linevert(), and Backend::tmeshvert().

133 {
134 #ifndef NDEBUG
135  _glu_dprintf( "evalcoord2f\n" );
136 #endif
137 }
void BasicSurfaceEvaluator::evalpoint2i ( long  ,
long   
)
virtual

Reimplemented in OpenGLSurfaceEvaluator.

Definition at line 140 of file basicsurfeval.cc.

Referenced by Backend::linevert(), Backend::surfmesh(), and Backend::tmeshvert().

141 {
142 #ifndef NDEBUG
143  _glu_dprintf( "evalpoint2i\n" );
144 #endif
145 }
virtual void BasicSurfaceEvaluator::evalUStrip ( int  n_upper,
REAL  v_upper,
REAL upper_val,
int  n_lower,
REAL  v_lower,
REAL lower_val 
)
pure virtual

Implemented in OpenGLSurfaceEvaluator.

Referenced by Backend::evalUStrip().

virtual void BasicSurfaceEvaluator::evalVStrip ( int  n_left,
REAL  u_left,
REAL left_val,
int  n_right,
REAL  u_right,
REAL right_val 
)
pure virtual

Implemented in OpenGLSurfaceEvaluator.

Referenced by Backend::evalVStrip().

virtual void BasicSurfaceEvaluator::inDoEvalCoord2NOGE ( REAL  u,
REAL  v,
REAL ret_point,
REAL ret_normal 
)
pure virtual

Implemented in OpenGLSurfaceEvaluator.

Referenced by Backend::tmeshvertNOGE().

virtual void BasicSurfaceEvaluator::inDoEvalCoord2NOGE_BU ( REAL  u,
REAL  v,
REAL ret_point,
REAL ret_normal 
)
pure virtual

Implemented in OpenGLSurfaceEvaluator.

Referenced by Backend::tmeshvertNOGE_BU().

virtual void BasicSurfaceEvaluator::inDoEvalCoord2NOGE_BV ( REAL  u,
REAL  v,
REAL ret_point,
REAL ret_normal 
)
pure virtual

Implemented in OpenGLSurfaceEvaluator.

Referenced by Backend::tmeshvertNOGE_BV().

virtual void BasicSurfaceEvaluator::inPreEvaluateBU_intfac ( REAL  u)
pure virtual

Implemented in OpenGLSurfaceEvaluator.

Referenced by Backend::preEvaluateBU().

virtual void BasicSurfaceEvaluator::inPreEvaluateBV_intfac ( REAL  v)
pure virtual

Implemented in OpenGLSurfaceEvaluator.

Referenced by Backend::preEvaluateBV().

void BasicSurfaceEvaluator::map2f ( long  ,
REAL  ,
REAL  ,
long  ,
long  ,
REAL  ,
REAL  ,
long  ,
long  ,
REAL  
)
virtual

Reimplemented in OpenGLSurfaceEvaluator.

Definition at line 106 of file basicsurfeval.cc.

Referenced by Backend::surfpts().

109 {
110 #ifndef NDEBUG
111  _glu_dprintf( "map2f\n" );
112 #endif
113 }
void BasicSurfaceEvaluator::mapgrid2f ( long  ,
REAL  ,
REAL  ,
long  ,
REAL  ,
REAL   
)
virtual

Reimplemented in OpenGLSurfaceEvaluator.

Definition at line 116 of file basicsurfeval.cc.

Referenced by Backend::surfgrid().

117 {
118 #ifndef NDEBUG
119  _glu_dprintf( "mapgrid2f\n" );
120 #endif
121 }
void BasicSurfaceEvaluator::mapmesh2f ( long  ,
long  ,
long  ,
long  ,
long   
)
virtual

Reimplemented in OpenGLSurfaceEvaluator.

Definition at line 124 of file basicsurfeval.cc.

Referenced by Backend::surfmesh().

125 {
126 #ifndef NDEBUG
127  _glu_dprintf( "mapmesh2f\n" );
128 #endif
129 }
void BasicSurfaceEvaluator::polymode ( long  )
virtual

Reimplemented in OpenGLSurfaceEvaluator.

Definition at line 57 of file basicsurfeval.cc.

Referenced by Backend::bgnsurf(), and Backend::bgntmesh().

58 {
59 #ifndef NDEBUG
60  _glu_dprintf( "polymode\n" );
61 #endif
62 }
void BasicSurfaceEvaluator::range2f ( long  type,
REAL from,
REAL to 
)
virtual

Reimplemented in OpenGLSurfaceEvaluator.

Definition at line 65 of file basicsurfeval.cc.

Referenced by Backend::surfbbox().

66 {
67 #ifndef NDEBUG
68  _glu_dprintf( "range2f type %ld, from (%g,%g), to (%g,%g)\n",
69  type, from[0], from[1], to[0], to[1] );
70 #endif
71 }
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
CardRegion * from
Definition: spigame.cpp:19
void BasicSurfaceEvaluator::swaptmesh ( void  )
virtual

Reimplemented in OpenGLSurfaceEvaluator.

Definition at line 202 of file basicsurfeval.cc.

Referenced by Backend::swaptmesh().

203 {
204 #ifndef NDEBUG
205  _glu_dprintf( "swaptmesh\n" );
206 #endif
207 }

The documentation for this class was generated from the following files: