GNU Octave  4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Public Member Functions | Static Public Member Functions | Protected Attributes | Private Member Functions | List of all members
octave::opengl_texture Class Reference
Collaboration diagram for octave::opengl_texture:
Collaboration graph
[legend]

Classes

class  texture_rep
 

Public Member Functions

 opengl_texture (void)
 
 opengl_texture (const opengl_texture &tx)
 
 ~opengl_texture (void)
 
void bind (int mode=GL_TEXTURE_2D) const
 
bool is_valid (void) const
 
opengl_textureoperator= (const opengl_texture &tx)
 
void tex_coord (double q, double r) const
 

Static Public Member Functions

static opengl_texture create (const octave_value &data)
 

Protected Attributes

texture_reprep
 

Private Member Functions

 opengl_texture (texture_rep *_rep)
 

Detailed Description

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

Constructor & Destructor Documentation

octave::opengl_texture::opengl_texture ( texture_rep _rep)
inlineprivate

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

octave::opengl_texture::opengl_texture ( void  )
inline

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

Referenced by create().

octave::opengl_texture::opengl_texture ( const opengl_texture tx)
inline

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

References octave::opengl_texture::texture_rep::count.

octave::opengl_texture::~opengl_texture ( void  )
inline

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

References octave::opengl_texture::texture_rep::count.

Member Function Documentation

void octave::opengl_texture::bind ( int  mode = GL_TEXTURE_2D) const
inline

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

References octave::opengl_texture::texture_rep::bind(), and mode.

opengl_texture octave::opengl_texture::create ( const octave_value data)
static
bool octave::opengl_texture::is_valid ( void  ) const
inline

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

References octave::opengl_texture::texture_rep::valid.

opengl_texture& octave::opengl_texture::operator= ( const opengl_texture tx)
inline

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

References octave::opengl_texture::texture_rep::count, and rep.

void octave::opengl_texture::tex_coord ( double  q,
double  r 
) const
inline

Member Data Documentation

texture_rep* octave::opengl_texture::rep
protected

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

Referenced by operator=().


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