#include <GeomIo.h>
Inherits cinder::geom::WireSource.
cinder::geom::WireCapsule::WireCapsule |
( |
| ) |
|
WireCapsule& cinder::geom::WireCapsule::center |
( |
const vec3 & |
center | ) |
|
WireCapsule& cinder::geom::WireCapsule::subdivisionsAxis |
( |
int |
subdiv | ) |
|
Specifies the number of radial subdivisions, which determines the roundness of the capsule. Defaults to 6
.
WireCapsule& cinder::geom::WireCapsule::subdivisionsHeight |
( |
int |
subdiv | ) |
|
Specifies the number of slices along the capsule's length. Defaults to 6
. Add more subdivisions to improve texture mapping and lighting, or if you intend to bend the capsule.
WireCapsule& cinder::geom::WireCapsule::subdivisionsCircle |
( |
int |
subdiv | ) |
|
Specifies the number of segments that make up each circle. Defaults to 72
.
WireCapsule& cinder::geom::WireCapsule::radius |
( |
float |
radius | ) |
|
WireCapsule& cinder::geom::WireCapsule::length |
( |
float |
length | ) |
|
WireCapsule& cinder::geom::WireCapsule::direction |
( |
const vec3 & |
direction | ) |
|
WireCapsule & cinder::geom::WireCapsule::set |
( |
const vec3 & |
from, |
|
|
const vec3 & |
to |
|
) |
| |
Conveniently sets center, length and direction.
size_t cinder::geom::WireCapsule::getNumVertices |
( |
| ) |
const |
|
overridevirtual |
void cinder::geom::WireCapsule::loadInto |
( |
Target * |
target, |
|
|
const AttribSet & |
requestedAttribs |
|
) |
| const |
|
overridevirtual |
WireCapsule* cinder::geom::WireCapsule::clone |
( |
| ) |
const |
|
overridevirtual |
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 |
The documentation for this class was generated from the following files: