QCAD
Open Source 2D CAD
Loading...
Searching...
No Matches
opennurbs_gl.cpp File Reference
#include "opennurbs.h"
#include "opennurbs_gl.h"

Functions

static void GetGLCV (const int dim, const int is_rat, const double *cv, double xform[4][4], GLfloat *glcv)
 
void ON_GL (const int order, const int cv_count, const double *knot, GLfloat *glknot, int bPermitScaling, double *scale)
 
void ON_GL (const ON_3dPoint &point)
 
void ON_GL (const ON_Brep &brep, GLUnurbsObj *nobj)
 
void ON_GL (const ON_BrepFace &face, GLUnurbsObj *nobj)
 
void ON_GL (const ON_Color &rc, double alpha, GLfloat c[4])
 
void ON_GL (const ON_Color &rc, GLfloat c[4])
 
void ON_GL (const ON_Curve &curve, GLUnurbsObj *nobj, GLenum type, double xform[][4])
 
void ON_GL (const ON_Light &light, GLenum light_index)
 
void ON_GL (const ON_Light *light, GLenum light_index)
 
void ON_GL (const ON_Material &m)
 
void ON_GL (const ON_Material *pMat)
 
void ON_GL (const ON_Mesh &mesh)
 
void ON_GL (const ON_NurbsCurve &nurbs_curve, GLUnurbsObj *nobj, GLenum type, int bPermitKnotScaling, double *knot_scale, double xform[][4])
 
void ON_GL (const ON_NurbsSurface &s, GLUnurbsObj *nobj, GLenum type, int bPermitKnotScaling, double *knot_scale0, double *knot_scale1)
 
void ON_GL (const ON_Point &point)
 
void ON_GL (const ON_PointCloud &cloud)
 
void ON_GL (const ON_Surface &surface, GLUnurbsObj *nobj)
 
void ON_GL (const ON_Viewport &viewport)
 
void ON_GL (int dim, int is_rat, int nurb_order, int cv_count, const double *knot_vector, int cv_stride, const double *cv, GLUnurbsObj *nobj, GLenum type, int bPermitKnotScaling, double *knot_scale, double xform[][4])
 
void ON_GL (ON_Viewport &viewport, int port_left, int port_right, int port_bottom, int port_top)
 

Function Documentation

◆ GetGLCV()

static void GetGLCV ( const int dim,
const int is_rat,
const double * cv,
double xform[4][4],
GLfloat * glcv )
static

◆ ON_GL() [1/20]

void ON_GL ( const int order,
const int cv_count,
const double * knot,
GLfloat * glknot,
int bPermitScaling,
double * scale )

◆ ON_GL() [2/20]

void ON_GL ( const ON_3dPoint & point)

◆ ON_GL() [3/20]

void ON_GL ( const ON_Brep & brep,
GLUnurbsObj * nobj )

◆ ON_GL() [4/20]

void ON_GL ( const ON_BrepFace & face,
GLUnurbsObj * nobj )

◆ ON_GL() [5/20]

void ON_GL ( const ON_Color & rc,
double alpha,
GLfloat c[4] )

◆ ON_GL() [6/20]

void ON_GL ( const ON_Color & rc,
GLfloat c[4] )

◆ ON_GL() [7/20]

void ON_GL ( const ON_Curve & curve,
GLUnurbsObj * nobj,
GLenum type,
double xform[][4] )

◆ ON_GL() [8/20]

void ON_GL ( const ON_Light & light,
GLenum light_index )

◆ ON_GL() [9/20]

void ON_GL ( const ON_Light * light,
GLenum light_index )

◆ ON_GL() [10/20]

void ON_GL ( const ON_Material & m)

◆ ON_GL() [11/20]

void ON_GL ( const ON_Material * pMat)

◆ ON_GL() [12/20]

void ON_GL ( const ON_Mesh & mesh)

◆ ON_GL() [13/20]

void ON_GL ( const ON_NurbsCurve & nurbs_curve,
GLUnurbsObj * nobj,
GLenum type,
int bPermitKnotScaling,
double * knot_scale,
double xform[][4] )

◆ ON_GL() [14/20]

void ON_GL ( const ON_NurbsSurface & s,
GLUnurbsObj * nobj,
GLenum type,
int bPermitKnotScaling,
double * knot_scale0,
double * knot_scale1 )

◆ ON_GL() [15/20]

void ON_GL ( const ON_Point & point)

◆ ON_GL() [16/20]

void ON_GL ( const ON_PointCloud & cloud)

◆ ON_GL() [17/20]

void ON_GL ( const ON_Surface & surface,
GLUnurbsObj * nobj )

◆ ON_GL() [18/20]

void ON_GL ( const ON_Viewport & viewport)

◆ ON_GL() [19/20]

void ON_GL ( int dim,
int is_rat,
int nurb_order,
int cv_count,
const double * knot_vector,
int cv_stride,
const double * cv,
GLUnurbsObj * nobj,
GLenum type,
int bPermitKnotScaling,
double * knot_scale,
double xform[][4] )

◆ ON_GL() [20/20]

void ON_GL ( ON_Viewport & viewport,
int port_left,
int port_right,
int port_bottom,
int port_top )