CIvfVertexIndex Class Reference

#include <ivf/IvfVertexIndex.h>

Inheritance diagram for CIvfVertexIndex:

CIvfIndexBase CIvfBase CIvfRefCountBase CIvfRTTIBase List of all members.

Public Member Functions

 CIvfVertexIndex ()
virtual ~CIvfVertexIndex ()
 IvfClassInfo ("CIvfVertexIndex", CIvfIndexBase)
long getIndex (long pos)
long getSize ()
GLenum getDataType ()
void * getData ()
void clear ()
void createLinear (long size)
void createLinear (long start, long size)
void createConstant (long value, long size)
void assignFrom (CIvfIndexBase *idx)
void assignTo (CIvfIndexBase *idx)
void addArray (long *i, long size)
void addLast (long idx)
void setIndex (long idx, long value)

Detailed Description

Vertex index list class

Maintains a list of vertex indices for use with the CIvfVertexElements class. The list is initially 1024 elements and the size is doubled if exceeding 1024.

Author:
Jonas Lindemann

Definition at line 43 of file IvfVertexIndex.h.


Constructor & Destructor Documentation

CIvfVertexIndex::CIvfVertexIndex  ) 
 

CIvfVertexIndex constructor

virtual CIvfVertexIndex::~CIvfVertexIndex  )  [virtual]
 

CIvfVertexIndex destructor


Member Function Documentation

void CIvfVertexIndex::addArray long *  i,
long  size
[virtual]
 

Add values from array i to this index

Reimplemented from CIvfIndexBase.

void CIvfVertexIndex::assignFrom CIvfIndexBase idx  )  [virtual]
 

Assigns values from another index

Reimplemented from CIvfIndexBase.

void CIvfVertexIndex::assignTo CIvfIndexBase idx  )  [virtual]
 

Assigns idx the values of this index

Reimplemented from CIvfIndexBase.

void CIvfVertexIndex::clear  )  [virtual]
 

Clear all values

Reimplemented from CIvfIndexBase.

void CIvfVertexIndex::createConstant long  value,
long  size
[virtual]
 

Creates a constant index

Creates a constant index with each value assigned value and the size long.

Reimplemented from CIvfIndexBase.

void CIvfVertexIndex::createLinear long  start,
long  size
[virtual]
 

Creates a linear index

Creates a linear index starting at start going to start+size-1

Reimplemented from CIvfIndexBase.

void CIvfVertexIndex::createLinear long  size  )  [virtual]
 

Creates a linear index

Creates a linear index starting at 0 going to size-1

Reimplemented from CIvfIndexBase.

void* CIvfVertexIndex::getData  ) 
 

Return pointer to data

GLenum CIvfVertexIndex::getDataType  ) 
 

Return OpenGL data type of index

long CIvfVertexIndex::getIndex long  pos  )  [virtual]
 

Return value at position

Reimplemented from CIvfIndexBase.

long CIvfVertexIndex::getSize  )  [virtual]
 

Return size of index

Reimplemented from CIvfIndexBase.


The documentation for this class was generated from the following file:
Generated on Fri Sep 1 15:37:00 2006 for Interactive Visualisation Framework - Ivf++ by  doxygen 1.4.6-NO