Visualization Library v1.0.3

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Public Member Functions

vl::IVertexAttribSet Class Reference

Abstract interface to manipulate OpenGL's vertex attribute arrays. More...

#include <IVertexAttribSet.hpp>

Inheritance diagram for vl::IVertexAttribSet:
vl::Geometry vl::BezierSurface

List of all members.

Public Member Functions

virtual void setVertexArray (ArrayAbstract *data)=0
 Conventional vertex array.
virtual const ArrayAbstractvertexArray () const =0
 Conventional vertex array.
virtual ArrayAbstractvertexArray ()=0
 Conventional vertex array.
virtual void setNormalArray (ArrayAbstract *data)=0
 Conventional normal array.
virtual const ArrayAbstractnormalArray () const =0
 Conventional normal array.
virtual ArrayAbstractnormalArray ()=0
 Conventional normal array.
virtual void setColorArray (ArrayAbstract *data)=0
 Conventional color array.
virtual const ArrayAbstractcolorArray () const =0
 Conventional color array.
virtual ArrayAbstractcolorArray ()=0
 Conventional color array.
virtual void setSecondaryColorArray (ArrayAbstract *data)=0
 Conventional secondary color array.
virtual const ArrayAbstractsecondaryColorArray () const =0
 Conventional secondary color array.
virtual ArrayAbstractsecondaryColorArray ()=0
 Conventional secondary color array.
virtual void setFogCoordArray (ArrayAbstract *data)=0
 Conventional fog array.
virtual const ArrayAbstractfogCoordArray () const =0
 Conventional fog array.
virtual ArrayAbstractfogCoordArray ()=0
 Conventional fog array.
virtual void setTexCoordArray (int tex_unit, ArrayAbstract *data)=0
 Conventional texture coords arrays.
virtual const ArrayAbstracttexCoordArray (int tex_unit) const =0
 Conventional texture coords arrays.
virtual ArrayAbstracttexCoordArray (int tex_unit)=0
 Conventional texture coords arrays.
virtual int texCoordArrayCount () const =0
 Number of texture coordinate arrays currently present.
virtual void getTexCoordArrayAt (int i, int &out_tex_unit, const ArrayAbstract *&tex_array) const =0
 Gets the i-th texture coordinate information, where i must be 0 <= i < texCoordArrayCount().
virtual void setVertexAttribArray (const VertexAttribInfo &info)=0
 Binds a generic vertex attribute.
virtual const VertexAttribInfovertexAttribArray (unsigned int attrib_location) const =0
 Returns a generic vertex attribute's info.
virtual VertexAttribInfovertexAttribArray (unsigned int attrib_location)=0
 Returns a generic vertex attribute's info.
virtual Collection
< VertexAttribInfo > * 
vertexAttribArrays ()=0
 The list of VertexAttribInfo objects bound to a Geometry.
virtual const Collection
< VertexAttribInfo > * 
vertexAttribArrays () const =0
 The list of VertexAttribInfo objects bound to a Geometry.

Detailed Description

Abstract interface to manipulate OpenGL's vertex attribute arrays.

Definition at line 44 of file IVertexAttribSet.hpp.


Member Function Documentation

virtual void vl::IVertexAttribSet::setVertexArray ( ArrayAbstract data ) [pure virtual]

Conventional vertex array.

Implemented in vl::Geometry.

virtual const ArrayAbstract* vl::IVertexAttribSet::vertexArray (  ) const [pure virtual]

Conventional vertex array.

Implemented in vl::Geometry.

Referenced by vl::OpenGLContext::bindVAS().

virtual ArrayAbstract* vl::IVertexAttribSet::vertexArray (  ) [pure virtual]

Conventional vertex array.

Implemented in vl::Geometry.

virtual void vl::IVertexAttribSet::setNormalArray ( ArrayAbstract data ) [pure virtual]

Conventional normal array.

Implemented in vl::Geometry.

virtual const ArrayAbstract* vl::IVertexAttribSet::normalArray (  ) const [pure virtual]

Conventional normal array.

Implemented in vl::Geometry.

Referenced by vl::OpenGLContext::bindVAS().

virtual ArrayAbstract* vl::IVertexAttribSet::normalArray (  ) [pure virtual]

Conventional normal array.

Implemented in vl::Geometry.

virtual void vl::IVertexAttribSet::setColorArray ( ArrayAbstract data ) [pure virtual]

Conventional color array.

Implemented in vl::Geometry.

virtual const ArrayAbstract* vl::IVertexAttribSet::colorArray (  ) const [pure virtual]

Conventional color array.

Implemented in vl::Geometry.

Referenced by vl::OpenGLContext::bindVAS().

virtual ArrayAbstract* vl::IVertexAttribSet::colorArray (  ) [pure virtual]

Conventional color array.

Implemented in vl::Geometry.

virtual void vl::IVertexAttribSet::setSecondaryColorArray ( ArrayAbstract data ) [pure virtual]

Conventional secondary color array.

Implemented in vl::Geometry.

virtual const ArrayAbstract* vl::IVertexAttribSet::secondaryColorArray (  ) const [pure virtual]

Conventional secondary color array.

Implemented in vl::Geometry.

Referenced by vl::OpenGLContext::bindVAS().

virtual ArrayAbstract* vl::IVertexAttribSet::secondaryColorArray (  ) [pure virtual]

Conventional secondary color array.

Implemented in vl::Geometry.

virtual void vl::IVertexAttribSet::setFogCoordArray ( ArrayAbstract data ) [pure virtual]

Conventional fog array.

Implemented in vl::Geometry.

virtual const ArrayAbstract* vl::IVertexAttribSet::fogCoordArray (  ) const [pure virtual]

Conventional fog array.

Implemented in vl::Geometry.

Referenced by vl::OpenGLContext::bindVAS().

virtual ArrayAbstract* vl::IVertexAttribSet::fogCoordArray (  ) [pure virtual]

Conventional fog array.

Implemented in vl::Geometry.

virtual void vl::IVertexAttribSet::setTexCoordArray ( int  tex_unit,
ArrayAbstract data 
) [pure virtual]

Conventional texture coords arrays.

Implemented in vl::Geometry.

virtual const ArrayAbstract* vl::IVertexAttribSet::texCoordArray ( int  tex_unit ) const [pure virtual]

Conventional texture coords arrays.

Implemented in vl::Geometry.

virtual ArrayAbstract* vl::IVertexAttribSet::texCoordArray ( int  tex_unit ) [pure virtual]

Conventional texture coords arrays.

Implemented in vl::Geometry.

virtual int vl::IVertexAttribSet::texCoordArrayCount (  ) const [pure virtual]

Number of texture coordinate arrays currently present.

Implemented in vl::Geometry.

Referenced by vl::OpenGLContext::bindVAS().

virtual void vl::IVertexAttribSet::getTexCoordArrayAt ( int  i,
int &  out_tex_unit,
const ArrayAbstract *&  tex_array 
) const [pure virtual]

Gets the i-th texture coordinate information, where i must be 0 <= i < texCoordArrayCount().

Implemented in vl::Geometry.

Referenced by vl::OpenGLContext::bindVAS().

virtual void vl::IVertexAttribSet::setVertexAttribArray ( const VertexAttribInfo info ) [pure virtual]

Binds a generic vertex attribute.

Implemented in vl::Geometry.

virtual const VertexAttribInfo* vl::IVertexAttribSet::vertexAttribArray ( unsigned int  attrib_location ) const [pure virtual]

Returns a generic vertex attribute's info.

Implemented in vl::Geometry.

virtual VertexAttribInfo* vl::IVertexAttribSet::vertexAttribArray ( unsigned int  attrib_location ) [pure virtual]

Returns a generic vertex attribute's info.

Implemented in vl::Geometry.

virtual Collection<VertexAttribInfo>* vl::IVertexAttribSet::vertexAttribArrays (  ) [pure virtual]

The list of VertexAttribInfo objects bound to a Geometry.

Implemented in vl::Geometry.

Referenced by vl::OpenGLContext::bindVAS().

virtual const Collection<VertexAttribInfo>* vl::IVertexAttribSet::vertexAttribArrays (  ) const [pure virtual]

The list of VertexAttribInfo objects bound to a Geometry.

Implemented in vl::Geometry.


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

Visualization Library v1.0.3 Reference Documentation
Copyright Michele Bosi. All rights reserved.
Updated on Tue Feb 7 2017 00:55:10.
Permission is granted to use this page to write and publish articles regarding Visualization Library.