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

Public Types

typedef void(* fcn) (void)
 

Public Member Functions

 opengl_tesselator (void)
 
 opengl_tesselator (const opengl_tesselator &)=delete
 
virtual ~opengl_tesselator (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_tesselator operator= (const opengl_tesselator &)=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 255 of file gl-render.cc.

Member Typedef Documentation

◆ fcn

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

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

Constructor & Destructor Documentation

◆ opengl_tesselator() [1/2]

octave::opengl_tesselator::opengl_tesselator ( void  )
inline

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

◆ opengl_tesselator() [2/2]

octave::opengl_tesselator::opengl_tesselator ( const opengl_tesselator )
delete

◆ ~opengl_tesselator()

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

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

Member Function Documentation

◆ add_vertex()

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

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

References loc.

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

◆ begin()

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

Reimplemented in octave::opengl_renderer::patch_tesselator.

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

◆ begin_contour()

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

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

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

◆ begin_polygon()

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

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

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

◆ combine()

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

Reimplemented in octave::opengl_renderer::patch_tesselator.

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

◆ edge_flag()

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

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

◆ end()

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

Reimplemented in octave::opengl_renderer::patch_tesselator.

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

◆ end_contour()

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

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

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

◆ end_polygon()

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

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

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

◆ error()

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

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

References err, and error().

◆ init()

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

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

◆ is_filled()

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

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

◆ operator=()

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

◆ tess_begin()

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

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

References t, and type.

◆ tess_combine()

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

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

References c, t, and Faddeeva::w().

◆ tess_edge_flag()

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

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

References t.

◆ tess_end()

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

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

References t.

◆ tess_error()

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

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

References err, error(), and t.

◆ tess_vertex()

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

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

References t.

◆ vertex()

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

Reimplemented in octave::opengl_renderer::patch_tesselator.

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

Member Data Documentation

◆ fill

bool octave::opengl_tesselator::fill
private

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

◆ glu_tess

GLUtesselator* octave::opengl_tesselator::glu_tess
private

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


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