#include <GeomIo.h>
Inherits cinder::geom::Torus.
cinder::geom::Helix::Helix |
( |
| ) |
|
virtual Helix& cinder::geom::Helix::center |
( |
const vec3 & |
center | ) |
|
|
virtual |
virtual Helix& cinder::geom::Helix::subdivisionsAxis |
( |
int |
subdiv | ) |
|
|
virtual |
virtual Helix& cinder::geom::Helix::subdivisionsHeight |
( |
int |
subdiv | ) |
|
|
virtual |
Helix& cinder::geom::Helix::height |
( |
float |
height | ) |
|
Specifies the height, measured from center to center.
Helix& cinder::geom::Helix::coils |
( |
float |
coils | ) |
|
Specifies the number of coils.
Helix& cinder::geom::Helix::twist |
( |
unsigned |
twist | ) |
|
Allows you to twist the helix along the ring.
Helix& cinder::geom::Helix::twist |
( |
unsigned |
twist, |
|
|
float |
offset |
|
) |
| |
Allows you to twist the helix along the ring. The offset is in radians.
Helix& cinder::geom::Helix::ratio |
( |
float |
ratio | ) |
|
Specifies the major and minor radius as a ratio (minor : major).
Helix& cinder::geom::Helix::radius |
( |
float |
major, |
|
|
float |
minor |
|
) |
| |
Specifies the major and minor radius separately.
Torus& cinder::geom::Torus::colors |
( |
bool |
enable = true | ) |
|
|
inherited |
size_t cinder::geom::Torus::getNumVertices |
( |
| ) |
const |
|
overridevirtualinherited |
size_t cinder::geom::Torus::getNumIndices |
( |
| ) |
const |
|
overridevirtualinherited |
Primitive cinder::geom::Torus::getPrimitive |
( |
| ) |
const |
|
overridevirtualinherited |
uint8_t cinder::geom::Torus::getAttribDims |
( |
Attrib |
attr | ) |
const |
|
overridevirtualinherited |
AttribSet cinder::geom::Torus::getAvailableAttribs |
( |
| ) |
const |
|
overridevirtualinherited |
void cinder::geom::Torus::loadInto |
( |
Target * |
target, |
|
|
const AttribSet & |
requestedAttribs |
|
) |
| const |
|
overridevirtualinherited |
Torus* cinder::geom::Torus::clone |
( |
| ) |
const |
|
overridevirtualinherited |
void cinder::geom::Torus::updateCounts |
( |
| ) |
|
|
protectedinherited |
void cinder::geom::Torus::calculate |
( |
std::vector< vec3 > * |
positions, |
|
|
std::vector< vec3 > * |
normals, |
|
|
std::vector< vec2 > * |
texCoords, |
|
|
std::vector< vec3 > * |
colors, |
|
|
std::vector< uint32_t > * |
indices |
|
) |
| const |
|
protectedinherited |
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 |
vec3 cinder::geom::Torus::mCenter |
|
protectedinherited |
float cinder::geom::Torus::mRadiusMajor |
|
protectedinherited |
float cinder::geom::Torus::mRadiusMinor |
|
protectedinherited |
int cinder::geom::Torus::mSubdivisionsAxis |
|
protectedinherited |
int cinder::geom::Torus::mSubdivisionsHeight |
|
protectedinherited |
float cinder::geom::Torus::mHeight |
|
protectedinherited |
float cinder::geom::Torus::mCoils |
|
protectedinherited |
unsigned cinder::geom::Torus::mTwist |
|
protectedinherited |
float cinder::geom::Torus::mTwistOffset |
|
protectedinherited |
bool cinder::geom::Torus::mHasColors |
|
protectedinherited |
int cinder::geom::Torus::mNumRings |
|
protectedinherited |
int cinder::geom::Torus::mNumAxis |
|
protectedinherited |
The documentation for this class was generated from the following file: