Public Member Functions | Protected Member Functions | Protected Attributes
IcoSphere Class Reference

#include <icosphere.h>

List of all members.

Public Member Functions

void draw (int level)
 IcoSphere (unsigned int levels=1)
const std::vector< int > & indices (int level) const
const std::vector
< Eigen::Vector3f > & 
vertices () const

Protected Member Functions

void _subdivide ()

Protected Attributes

std::vector< std::vector< int > * > mIndices
std::vector< int > mListIds
std::vector< Eigen::Vector3f > mVertices

Detailed Description

Definition at line 31 of file icosphere.h.


Constructor & Destructor Documentation

IcoSphere::IcoSphere ( unsigned int  levels = 1)

Definition at line 51 of file icosphere.cpp.


Member Function Documentation

void IcoSphere::_subdivide ( void  ) [protected]

Definition at line 76 of file icosphere.cpp.

void IcoSphere::draw ( int  level)

Definition at line 115 of file icosphere.cpp.

const std::vector< int > & IcoSphere::indices ( int  level) const

Definition at line 69 of file icosphere.cpp.

const std::vector<Eigen::Vector3f>& IcoSphere::vertices ( ) const [inline]

Definition at line 35 of file icosphere.h.


Member Data Documentation

Definition at line 41 of file icosphere.h.

std::vector<int> IcoSphere::mListIds [protected]

Definition at line 42 of file icosphere.h.

std::vector<Eigen::Vector3f> IcoSphere::mVertices [protected]

Definition at line 40 of file icosphere.h.


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


libicr
Author(s): Robert Krug
autogenerated on Mon Jan 6 2014 11:34:21