CIvfSimpleLineSet Class Reference

#include <ivf/IvfSimpleLineSet.h>

Inheritance diagram for CIvfSimpleLineSet:

CIvfShape CIvfObject CIvfBase CIvfRefCountBase CIvfRTTIBase CIvfOldGrid List of all members.

Public Member Functions

 CIvfSimpleLineSet ()
virtual ~CIvfSimpleLineSet ()
 IvfClassInfo ("CIvfSimpleLineSet", CIvfShape)
void setColorSize (int n)
void setColor (int n, double red, double green, double blue)
void setCoordSize (int n)
void setCoord (int n, double x, double y, double z)
void setLineSize (int n)
void setLineIndex (int n, int idx)

Protected Member Functions

virtual void createGeometry ()

Detailed Description

Line set shape class (obsolete)

CIvfSimpleLineSet implements a OpenGL line strip.

Author:
Jonas Lindemann

Definition at line 38 of file IvfSimpleLineSet.h.


Constructor & Destructor Documentation

CIvfSimpleLineSet::CIvfSimpleLineSet  ) 
 

CIvfSimpleLineSet constructor

virtual CIvfSimpleLineSet::~CIvfSimpleLineSet  )  [virtual]
 

CIvfSimpleLineSet destructor


Member Function Documentation

virtual void CIvfSimpleLineSet::createGeometry  )  [protected, virtual]
 

Forces an object recalculation.

Reimplemented from CIvfShape.

void CIvfSimpleLineSet::setColor int  n,
double  red,
double  green,
double  blue
 

Set color

colors can be specified at each coordinate.

Parameters:
n Color index
red Red color component
green Green color component
blue Blue color component

void CIvfSimpleLineSet::setColorSize int  n  ) 
 

Set size of color list

void CIvfSimpleLineSet::setCoord int  n,
double  x,
double  y,
double  z
 

Set coordinate

Set a coordinate in coordinate list

Parameters:
n Coordinate index (0 to getCoordSize()-1)
x X coordinate
y Y coordinate
z Z coordinate

void CIvfSimpleLineSet::setCoordSize int  n  ) 
 

Set size of coordinate list

void CIvfSimpleLineSet::setLineIndex int  n,
int  idx
 

Set line index

Sets an index in the line index list. Individual lines are separated by placing -1 in the index list. The index list must end with -1.

Parameters:
n Index position
idx index of coordinate

void CIvfSimpleLineSet::setLineSize int  n  ) 
 

Set size of line index list


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