#include <GeomIo.h>
Inherits cinder::geom::WireCylinder.
cinder::geom::WireCone::WireCone |
( |
| ) |
|
WireCone& cinder::geom::WireCone::origin |
( |
const vec3 & |
origin | ) |
|
WireCone& cinder::geom::WireCone::subdivisionsAxis |
( |
int |
subdiv | ) |
|
Specifies the number of radial subdivisions, which determines the roundness of the WireCone. Defaults to 18
.
WireCone& cinder::geom::WireCone::subdivisionsHeight |
( |
int |
subdiv | ) |
|
Specifies the number of subdivisions along the WireCone's height. Defaults to 1
.
WireCone& cinder::geom::WireCone::subdivisionsCircle |
( |
int |
subdiv | ) |
|
Specifies the number of segments that make up each circle. Defaults to 72
.
WireCone& cinder::geom::WireCone::height |
( |
float |
height | ) |
|
WireCone& cinder::geom::WireCone::radius |
( |
float |
radius | ) |
|
Specifies the base and apex radius.
WireCone& cinder::geom::WireCone::base |
( |
float |
base | ) |
|
Specifies the base radius.
WireCone& cinder::geom::WireCone::apex |
( |
float |
apex | ) |
|
Specifies the apex radius.
WireCone& cinder::geom::WireCone::ratio |
( |
float |
ratio | ) |
|
Specifies the apex radius as a ratio of the height. A value of 1.0f yields a cone angle of 45 degrees.
WireCone& cinder::geom::WireCone::radius |
( |
float |
base, |
|
|
float |
apex |
|
) |
| |
Specifies the base and apex radius separately.
WireCone& cinder::geom::WireCone::direction |
( |
const vec3 & |
direction | ) |
|
WireCone& cinder::geom::WireCone::set |
( |
const vec3 & |
from, |
|
|
const vec3 & |
to |
|
) |
| |
Conveniently sets origin, height and direction.
WireCone* cinder::geom::WireCone::clone |
( |
| ) |
const |
|
overridevirtual |
size_t cinder::geom::WireCylinder::getNumVertices |
( |
| ) |
const |
|
overridevirtualinherited |
void cinder::geom::WireCylinder::loadInto |
( |
Target * |
target, |
|
|
const AttribSet & |
requestedAttribs |
|
) |
| const |
|
overridevirtualinherited |
size_t cinder::geom::WireSource::getNumIndices |
( |
| ) |
const |
|
overridevirtualinherited |
Primitive cinder::geom::WireSource::getPrimitive |
( |
| ) |
const |
|
overridevirtualinherited |
uint8_t cinder::geom::WireSource::getAttribDims |
( |
Attrib |
attr | ) |
const |
|
overridevirtualinherited |
AttribSet cinder::geom::WireSource::getAvailableAttribs |
( |
| ) |
const |
|
overridevirtualinherited |
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::WireCylinder::mOrigin |
|
protectedinherited |
float cinder::geom::WireCylinder::mHeight |
|
protectedinherited |
vec3 cinder::geom::WireCylinder::mDirection |
|
protectedinherited |
float cinder::geom::WireCylinder::mRadiusBase |
|
protectedinherited |
float cinder::geom::WireCylinder::mRadiusApex |
|
protectedinherited |
int cinder::geom::WireCylinder::mSubdivisionsAxis |
|
protectedinherited |
int cinder::geom::WireCylinder::mSubdivisionsHeight |
|
protectedinherited |
int cinder::geom::WireCylinder::mNumSegments |
|
protectedinherited |
int cinder::geom::WireCylinder::mNumSlices |
|
protectedinherited |
The documentation for this class was generated from the following file: