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::IcoSphere ( unsigned int  levels = 1)

Definition at line 36 of file icosphere.cpp.

Member Function Documentation

◆ _subdivide()

void IcoSphere::_subdivide ( void  )
protected

Definition at line 61 of file icosphere.cpp.

◆ draw()

void IcoSphere::draw ( int  level)

Definition at line 100 of file icosphere.cpp.

◆ indices()

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

Definition at line 54 of file icosphere.cpp.

◆ vertices()

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

Definition at line 20 of file icosphere.h.

Member Data Documentation

◆ mIndices

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

Definition at line 26 of file icosphere.h.

◆ mListIds

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

Definition at line 27 of file icosphere.h.

◆ mVertices

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 Tue Jul 4 2023 02:41:02