#include <GeomIo.h>
Inherits cinder::geom::Source.
cinder::geom::Icosphere::Icosphere |
( |
| ) |
|
Icosphere& cinder::geom::Icosphere::colors |
( |
bool |
enable = true | ) |
|
Icosphere& cinder::geom::Icosphere::subdivisions |
( |
int |
sub | ) |
|
size_t cinder::geom::Icosphere::getNumVertices |
( |
| ) |
const |
|
overridevirtual |
size_t cinder::geom::Icosphere::getNumIndices |
( |
| ) |
const |
|
overridevirtual |
Primitive cinder::geom::Icosphere::getPrimitive |
( |
| ) |
const |
|
overridevirtual |
uint8_t cinder::geom::Icosphere::getAttribDims |
( |
Attrib |
attr | ) |
const |
|
overridevirtual |
AttribSet cinder::geom::Icosphere::getAvailableAttribs |
( |
| ) |
const |
|
overridevirtual |
void cinder::geom::Icosphere::loadInto |
( |
Target * |
target, |
|
|
const AttribSet & |
requestedAttribs |
|
) |
| const |
|
overridevirtual |
Icosphere* cinder::geom::Icosphere::clone |
( |
| ) |
const |
|
overridevirtual |
void cinder::geom::Icosphere::calculate |
( |
| ) |
const |
|
protected |
void cinder::geom::Icosphere::calculateImplUV |
( |
| ) |
const |
|
protected |
void cinder::geom::Icosphere::subdivide |
( |
| ) |
const |
|
protected |
void cinder::geom::Source::copyIndicesNonIndexed |
( |
uint16_t * |
dest | ) |
const |
|
protectedinherited |
Builds a sequential list of vertices to simulate an indexed geometry when Source is non-indexed. Assumes dest contains storage for getNumVertices() entries.
void cinder::geom::Source::copyIndicesNonIndexed |
( |
uint32_t * |
dest | ) |
const |
|
protectedinherited |
Builds a sequential list of vertices to simulate an indexed geometry when Source is non-indexed. Assumes dest contains storage for getNumVertices() entries.
template<typename T >
void cinder::geom::Source::forceCopyIndicesTrianglesImpl |
( |
T * |
dest | ) |
const |
|
protectedinherited |
int cinder::geom::Icosphere::mSubdivision |
|
protected |
bool cinder::geom::Icosphere::mHasColors |
|
protected |
bool cinder::geom::Icosphere::mCalculationsCached |
|
mutableprotected |
std::vector<vec3> cinder::geom::Icosphere::mPositions |
|
mutableprotected |
std::vector<vec3> cinder::geom::Icosphere::mNormals |
|
mutableprotected |
std::vector<vec3> cinder::geom::Icosphere::mColors |
|
mutableprotected |
std::vector<vec2> cinder::geom::Icosphere::mTexCoords |
|
mutableprotected |
std::vector<uint32_t> cinder::geom::Icosphere::mIndices |
|
mutableprotected |
The documentation for this class was generated from the following files: