ReactOS 0.4.15-dev-8100-g1887773
StoredVertex Class Reference

#include <glsurfeval.h>

Collaboration diagram for StoredVertex:

Public Member Functions

 StoredVertex ()
 
 ~StoredVertex (void)
 
void saveEvalCoord (REAL x, REAL y)
 
void saveEvalPoint (long x, long y)
 
void invoke (OpenGLSurfaceEvaluator *eval)
 

Private Attributes

int type
 
REAL coord [2]
 
long point [2]
 

Detailed Description

Definition at line 84 of file glsurfeval.h.

Constructor & Destructor Documentation

◆ StoredVertex()

StoredVertex::StoredVertex ( )
inline

Definition at line 86 of file glsurfeval.h.

86{ type = 0; coord[0] = 0; coord[1] = 0; point[0] = 0; point[1] = 0; }
long point[2]
Definition: glsurfeval.h:97
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
GLuint coord
Definition: glext.h:9511

◆ ~StoredVertex()

StoredVertex::~StoredVertex ( void  )
inline

Definition at line 87 of file glsurfeval.h.

87{}

Member Function Documentation

◆ invoke()

void StoredVertex::invoke ( OpenGLSurfaceEvaluator eval)
inline

Definition at line 390 of file glsurfeval.h.

391{
392 switch(type) {
393 case TYPECOORD:
394 eval->coord2f(coord[0], coord[1]);
395 break;
396 case TYPEPOINT:
397 eval->point2i(point[0], point[1]);
398 break;
399 default:
400 break;
401 }
402}
void coord2f(REAL, REAL)
Definition: glsurfeval.cc:1106
void point2i(long, long)
Definition: glsurfeval.cc:1069
#define TYPEPOINT
Definition: glsurfeval.h:49
#define TYPECOORD
Definition: glsurfeval.h:48

Referenced by OpenGLSurfaceEvaluator::newtmeshvert().

◆ saveEvalCoord()

void StoredVertex::saveEvalCoord ( REAL  x,
REAL  y 
)
inline

Definition at line 88 of file glsurfeval.h.

89 {coord[0] = x; coord[1] = y; type = TYPECOORD; }
GLint GLint GLint GLint GLint x
Definition: gl.h:1548
GLint GLint GLint GLint GLint GLint y
Definition: gl.h:1548

Referenced by OpenGLSurfaceEvaluator::newtmeshvert().

◆ saveEvalPoint()

void StoredVertex::saveEvalPoint ( long  x,
long  y 
)
inline

Definition at line 90 of file glsurfeval.h.

91 {point[0] = x; point[1] = y; type = TYPEPOINT; }

Referenced by OpenGLSurfaceEvaluator::newtmeshvert().

Member Data Documentation

◆ coord

REAL StoredVertex::coord[2]
private

Definition at line 96 of file glsurfeval.h.

◆ point

long StoredVertex::point[2]
private

Definition at line 97 of file glsurfeval.h.

Referenced by invoke(), saveEvalPoint(), and StoredVertex().

◆ type

int StoredVertex::type
private

Definition at line 95 of file glsurfeval.h.


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