CIvfIndex Class Reference

#include <ivf/IvfIndex.h>

Inheritance diagram for CIvfIndex:

CIvfIndexBase CIvfBase CIvfRefCountBase CIvfRTTIBase List of all members.

Public Member Functions

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

Detailed Description

Index class

This class is used to define an index used in the CIvfGLPrimitive derived classes.

Examples:

advgeom.cpp.

Definition at line 43 of file IvfIndex.h.


Constructor & Destructor Documentation

CIvfIndex::CIvfIndex  ) 
 

CIvfIndex constructor

virtual CIvfIndex::~CIvfIndex  )  [virtual]
 

CIvfIndex destructor


Member Function Documentation

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

Add values from array i to this index

Reimplemented from CIvfIndexBase.

void CIvfIndex::assignFrom CIvfIndex idx  ) 
 

Assigns values from another index

void CIvfIndex::assignTo CIvfIndex idx  ) 
 

Assigns idx the values of this index

void CIvfIndex::clear  )  [virtual]
 

Clear all values

Reimplemented from CIvfIndexBase.

void CIvfIndex::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 CIvfIndex::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 CIvfIndex::createLinear long  size  )  [virtual]
 

Creates a linear index

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

Reimplemented from CIvfIndexBase.

long CIvfIndex::getIndex long  pos  )  [virtual]
 

Return value at position

Reimplemented from CIvfIndexBase.

long CIvfIndex::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:36:52 2006 for Interactive Visualisation Framework - Ivf++ by  doxygen 1.4.6-NO