GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
opengl_tessellator Class Reference
Inheritance diagram for opengl_tessellator:
Collaboration diagram for opengl_tessellator:

Public Types

typedef void(* fcn) (void)
 

Public Member Functions

 opengl_tessellator (const opengl_tessellator &)=delete
 
 opengl_tessellator (void)
 
virtual ~opengl_tessellator (void)
 
void add_vertex (double *loc, void *data) const
 
void begin_contour (void) const
 
void begin_polygon (bool filled=true)
 
void end_contour (void) const
 
void end_polygon (void) const
 
opengl_tessellator operator= (const opengl_tessellator &)=delete
 

Protected Member Functions

virtual void begin (GLenum)
 
virtual void combine (GLdouble[3], void *[4], GLfloat[4], void **)
 
virtual void edge_flag (GLboolean)
 
virtual void end (void)
 
virtual void error (GLenum err)
 
virtual void init (void)
 
bool is_filled (void) const
 
virtual void vertex (void *)
 

Static Private Member Functions

static void tess_begin (GLenum type, void *t)
 
static void tess_combine (GLdouble c[3], void *v[4], GLfloat w[4], void **out, void *t)
 
static void tess_edge_flag (GLboolean flag, void *t)
 
static void tess_end (void *t)
 
static void tess_error (GLenum err, void *t)
 
static void tess_vertex (void *v, void *t)
 

Private Attributes

bool m_fill
 
GLUtesselator * m_glu_tess
 

Detailed Description

Definition at line 341 of file gl-render.cc.

Member Typedef Documentation

◆ fcn

typedef void( * opengl_tessellator::fcn) (void)

Definition at line 348 of file gl-render.cc.

Constructor & Destructor Documentation

◆ opengl_tessellator() [1/2]

opengl_tessellator::opengl_tessellator ( void  )
inline

Definition at line 353 of file gl-render.cc.

◆ opengl_tessellator() [2/2]

opengl_tessellator::opengl_tessellator ( const opengl_tessellator )
delete

◆ ~opengl_tessellator()

virtual opengl_tessellator::~opengl_tessellator ( void  )
inlinevirtual

Definition at line 361 of file gl-render.cc.

Member Function Documentation

◆ add_vertex()

void opengl_tessellator::add_vertex ( double *  loc,
void *  data 
) const
inline

Definition at line 381 of file gl-render.cc.

References loc.

Referenced by opengl_renderer::draw_patch().

◆ begin()

virtual void opengl_tessellator::begin ( GLenum  )
inlineprotectedvirtual

Reimplemented in opengl_renderer::patch_tessellator.

Definition at line 385 of file gl-render.cc.

◆ begin_contour()

void opengl_tessellator::begin_contour ( void  ) const
inline

Definition at line 375 of file gl-render.cc.

Referenced by opengl_renderer::draw_patch().

◆ begin_polygon()

void opengl_tessellator::begin_polygon ( bool  filled = true)
inline

Definition at line 364 of file gl-render.cc.

Referenced by opengl_renderer::draw_patch().

◆ combine()

virtual void opengl_tessellator::combine ( GLdouble  [3],
void *  [4],
GLfloat  [4],
void **   
)
inlineprotectedvirtual

Reimplemented in opengl_renderer::patch_tessellator.

Definition at line 391 of file gl-render.cc.

◆ edge_flag()

virtual void opengl_tessellator::edge_flag ( GLboolean  )
inlineprotectedvirtual

Definition at line 394 of file gl-render.cc.

◆ end()

virtual void opengl_tessellator::end ( void  )
inlineprotectedvirtual

Reimplemented in opengl_renderer::patch_tessellator.

Definition at line 387 of file gl-render.cc.

◆ end_contour()

void opengl_tessellator::end_contour ( void  ) const
inline

Definition at line 378 of file gl-render.cc.

Referenced by opengl_renderer::draw_patch().

◆ end_polygon()

void opengl_tessellator::end_polygon ( void  ) const
inline

Definition at line 372 of file gl-render.cc.

Referenced by opengl_renderer::draw_patch().

◆ error()

virtual void opengl_tessellator::error ( GLenum  err)
inlineprotectedvirtual

Definition at line 396 of file gl-render.cc.

References error().

◆ init()

virtual void opengl_tessellator::init ( void  )
inlineprotectedvirtual

Definition at line 399 of file gl-render.cc.

◆ is_filled()

bool opengl_tessellator::is_filled ( void  ) const
inlineprotected

Definition at line 417 of file gl-render.cc.

◆ operator=()

opengl_tessellator opengl_tessellator::operator= ( const opengl_tessellator )
delete

◆ tess_begin()

static void opengl_tessellator::tess_begin ( GLenum  type,
void *  t 
)
inlinestaticprivate

Definition at line 420 of file gl-render.cc.

◆ tess_combine()

static void opengl_tessellator::tess_combine ( GLdouble  c[3],
void *  v[4],
GLfloat  w[4],
void **  out,
void *  t 
)
inlinestaticprivate

Definition at line 429 of file gl-render.cc.

References Faddeeva::w().

◆ tess_edge_flag()

static void opengl_tessellator::tess_edge_flag ( GLboolean  flag,
void *  t 
)
inlinestaticprivate

Definition at line 433 of file gl-render.cc.

◆ tess_end()

static void opengl_tessellator::tess_end ( void *  t)
inlinestaticprivate

Definition at line 423 of file gl-render.cc.

◆ tess_error()

static void opengl_tessellator::tess_error ( GLenum  err,
void *  t 
)
inlinestaticprivate

Definition at line 436 of file gl-render.cc.

References error().

◆ tess_vertex()

static void opengl_tessellator::tess_vertex ( void *  v,
void *  t 
)
inlinestaticprivate

Definition at line 426 of file gl-render.cc.

◆ vertex()

virtual void opengl_tessellator::vertex ( void *  )
inlineprotectedvirtual

Reimplemented in opengl_renderer::patch_tessellator.

Definition at line 389 of file gl-render.cc.

Member Data Documentation

◆ m_fill

bool opengl_tessellator::m_fill
private

Definition at line 442 of file gl-render.cc.

◆ m_glu_tess

GLUtesselator* opengl_tessellator::m_glu_tess
private

Definition at line 441 of file gl-render.cc.


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