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

Public Types

typedef void(* fcn) (void)
 

Public Member Functions

 patch_tessellator (opengl_renderer *r, int cmode, int lmode, bool fl, float idx=0.0)
 
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
 

Protected Member Functions

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

Private Member Functions

 patch_tessellator (const patch_tessellator &)=delete
 
patch_tessellatoroperator= (const patch_tessellator &)=delete
 

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

int color_mode
 
bool face_lighting
 
bool fill
 
bool first
 
GLUtesselator * glu_tess
 
int index
 
int light_mode
 
opengl_rendererrenderer
 
std::list< vertex_datatmp_vdata
 

Detailed Description

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

Member Typedef Documentation

◆ fcn

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

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

Constructor & Destructor Documentation

◆ patch_tessellator() [1/2]

octave::opengl_renderer::patch_tessellator::patch_tessellator ( opengl_renderer r,
int  cmode,
int  lmode,
bool  fl,
float  idx = 0.0 
)
inline

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

◆ patch_tessellator() [2/2]

octave::opengl_renderer::patch_tessellator::patch_tessellator ( const patch_tessellator )
privatedelete

Member Function Documentation

◆ add_vertex()

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

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

References loc.

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

◆ begin()

void octave::opengl_renderer::patch_tessellator::begin ( GLenum  type)
inlineprotectedvirtual

◆ begin_contour()

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

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)
inlineinherited

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

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

◆ combine()

void octave::opengl_renderer::patch_tessellator::combine ( GLdouble  xyz[3],
void *  data[4],
GLfloat  w[4],
void **  out_data 
)
inlineprotectedvirtual

◆ edge_flag()

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

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

◆ end()

void octave::opengl_renderer::patch_tessellator::end ( void  )
inlineprotectedvirtual

Reimplemented from octave::opengl_tessellator.

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

References octave::opengl_functions::glEnd().

◆ end_contour()

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

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
inlineinherited

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)
inlineprotectedvirtualinherited

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

References error().

◆ init()

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

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

◆ is_filled()

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

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

◆ operator=()

patch_tessellator& octave::opengl_renderer::patch_tessellator::operator= ( const patch_tessellator )
privatedelete

◆ tess_begin()

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

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 
)
inlinestaticprivateinherited

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 
)
inlinestaticprivateinherited

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

◆ tess_end()

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

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

◆ tess_error()

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

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

References error().

◆ tess_vertex()

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

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

◆ vertex()

Member Data Documentation

◆ color_mode

int octave::opengl_renderer::patch_tessellator::color_mode
private

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

◆ face_lighting

bool octave::opengl_renderer::patch_tessellator::face_lighting
private

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

◆ fill

bool octave::opengl_tessellator::fill
privateinherited

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

◆ first

bool octave::opengl_renderer::patch_tessellator::first
private

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

◆ glu_tess

GLUtesselator* octave::opengl_tessellator::glu_tess
privateinherited

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

◆ index

int octave::opengl_renderer::patch_tessellator::index
private

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

◆ light_mode

int octave::opengl_renderer::patch_tessellator::light_mode
private

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

◆ renderer

opengl_renderer* octave::opengl_renderer::patch_tessellator::renderer
private

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

◆ tmp_vdata

std::list<vertex_data> octave::opengl_renderer::patch_tessellator::tmp_vdata
private

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


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