GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
octave::opengl_tessellator Class Reference
Inheritance diagram for octave::opengl_tessellator:
Collaboration diagram for octave::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 fill
 
GLUtesselator * glu_tess
 

Detailed Description

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

Member Typedef Documentation

◆ fcn

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

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

Constructor & Destructor Documentation

◆ opengl_tessellator() [1/2]

octave::opengl_tessellator::opengl_tessellator ( void  )
inline

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

◆ opengl_tessellator() [2/2]

octave::opengl_tessellator::opengl_tessellator ( const opengl_tessellator )
delete

◆ ~opengl_tessellator()

virtual octave::opengl_tessellator::~opengl_tessellator ( void  )
inlinevirtual

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

Member Function Documentation

◆ add_vertex()

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

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

References loc.

Referenced by octave::opengl_renderer::draw_patch().

◆ begin()

virtual void octave::opengl_tessellator::begin ( GLenum  )
inlineprotectedvirtual

Reimplemented in octave::opengl_renderer::patch_tessellator.

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

◆ begin_contour()

void octave::opengl_tessellator::begin_contour ( void  ) const
inline

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

Referenced by octave::opengl_renderer::draw_patch().

◆ begin_polygon()

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

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

Referenced by octave::opengl_renderer::draw_patch().

◆ combine()

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

Reimplemented in octave::opengl_renderer::patch_tessellator.

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

◆ edge_flag()

virtual void octave::opengl_tessellator::edge_flag ( GLboolean  )
inlineprotectedvirtual

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

◆ end()

virtual void octave::opengl_tessellator::end ( void  )
inlineprotectedvirtual

Reimplemented in octave::opengl_renderer::patch_tessellator.

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

◆ end_contour()

void octave::opengl_tessellator::end_contour ( void  ) const
inline

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

Referenced by octave::opengl_renderer::draw_patch().

◆ end_polygon()

void octave::opengl_tessellator::end_polygon ( void  ) const
inline

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

Referenced by octave::opengl_renderer::draw_patch().

◆ error()

virtual void octave::opengl_tessellator::error ( GLenum  err)
inlineprotectedvirtual

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

References error().

◆ init()

virtual void octave::opengl_tessellator::init ( void  )
inlineprotectedvirtual

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

◆ is_filled()

bool octave::opengl_tessellator::is_filled ( void  ) const
inlineprotected

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

◆ operator=()

opengl_tessellator octave::opengl_tessellator::operator= ( const opengl_tessellator )
delete

◆ tess_begin()

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

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

◆ tess_combine()

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

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

References Faddeeva::w().

◆ tess_edge_flag()

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

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

◆ tess_end()

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

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

◆ tess_error()

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

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

References error().

◆ tess_vertex()

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

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

◆ vertex()

virtual void octave::opengl_tessellator::vertex ( void *  )
inlineprotectedvirtual

Reimplemented in octave::opengl_renderer::patch_tessellator.

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

Member Data Documentation

◆ fill

bool octave::opengl_tessellator::fill
private

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

◆ glu_tess

GLUtesselator* octave::opengl_tessellator::glu_tess
private

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


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