# Visualization Library

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

[Home] [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:

List of all members.

## Public Member Functions

virtual void | setVertexArray (ArrayAbstract *data)=0
| Conventional vertex array.
virtual const ArrayAbstract * | vertexArray () const =0
| Conventional vertex array.
virtual ArrayAbstract * | vertexArray ()=0
| Conventional vertex array.
virtual void | setNormalArray (ArrayAbstract *data)=0
| Conventional normal array.
virtual const ArrayAbstract * | normalArray () const =0
| Conventional normal array.
virtual ArrayAbstract * | normalArray ()=0
| Conventional normal array.
virtual void | setColorArray (ArrayAbstract *data)=0
| Conventional color array.
virtual const ArrayAbstract * | colorArray () const =0
| Conventional color array.
virtual ArrayAbstract * | colorArray ()=0
| Conventional color array.
virtual void | setSecondaryColorArray (ArrayAbstract *data)=0
| Conventional secondary color array.
virtual const ArrayAbstract * | secondaryColorArray () const =0
| Conventional secondary color array.
virtual ArrayAbstract * | secondaryColorArray ()=0
| Conventional secondary color array.
virtual void | setFogCoordArray (ArrayAbstract *data)=0
| Conventional fog array.
virtual const ArrayAbstract * | fogCoordArray () const =0
| Conventional fog array.
virtual ArrayAbstract * | fogCoordArray ()=0
| Conventional fog array.
virtual void | setTexCoordArray (int tex_unit, ArrayAbstract *data)=0
| Conventional texture coords arrays.
virtual const ArrayAbstract * | texCoordArray (int tex_unit) const =0
| Conventional texture coords arrays.
virtual ArrayAbstract * | texCoordArray (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 VertexAttribInfo * | vertexAttribArray (unsigned int attrib_location) const =0
| Returns a generic vertex attribute's info.
virtual VertexAttribInfo * | vertexAttribArray (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:

- D:/VL/BuildSystem/VL_DISTRO/Visualization_Library_SDK/src/vlGraphics/IVertexAttribSet.hpp

Visualization Library v2011.09.1162 Reference Documentation
Copyright 2005-2011 Michele Bosi. All rights reserved.
Updated on Thu Jan 26 2012 00:44:39.
Permission is granted to use this page to write and publish articles regarding Visualization Library.