Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
IcoSphere Class Reference

#include <icosphere.h>

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< intmListIds
 
std::vector< Eigen::Vector3f > mVertices
 

Detailed Description

Definition at line 16 of file icosphere.h.

Constructor & Destructor Documentation

IcoSphere::IcoSphere ( unsigned int  levels = 1)

Definition at line 36 of file icosphere.cpp.

Member Function Documentation

void IcoSphere::_subdivide ( void  )
protected

Definition at line 61 of file icosphere.cpp.

void IcoSphere::draw ( int  level)

Definition at line 100 of file icosphere.cpp.

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

Definition at line 54 of file icosphere.cpp.

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

Definition at line 20 of file icosphere.h.

Member Data Documentation

std::vector<std::vector<int>*> IcoSphere::mIndices
protected

Definition at line 26 of file icosphere.h.

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

Definition at line 27 of file icosphere.h.

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

Definition at line 25 of file icosphere.h.


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


gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:48