#include <GeomIo.h>
Inherits cinder::geom::WireSource.
Inherited by cinder::geom::WireCone.
cinder::geom::WireCylinder::WireCylinder |
( |
| ) |
|
WireCylinder& cinder::geom::WireCylinder::origin |
( |
const vec3 & |
origin | ) |
|
WireCylinder& cinder::geom::WireCylinder::subdivisionsAxis |
( |
int |
subdiv | ) |
|
Specifies the number of radial subdivisions, which determines the roundness of the Cylinder. Defaults to 18
.
WireCylinder& cinder::geom::WireCylinder::subdivisionsHeight |
( |
int |
slices | ) |
|
Specifies the number of slices along the Cylinder's height. Defaults to 1
.
WireCylinder& cinder::geom::WireCylinder::subdivisionsCircle |
( |
int |
subdiv | ) |
|
Specifies the number of segments that make up each circle. Defaults to 72
.
WireCylinder& cinder::geom::WireCylinder::height |
( |
float |
height | ) |
|
Specifies the height of the cylinder.
WireCylinder& cinder::geom::WireCylinder::radius |
( |
float |
radius | ) |
|
Specifies the base and apex radius.
WireCylinder& cinder::geom::WireCylinder::direction |
( |
const vec3 & |
direction | ) |
|
Specifies the axis of the cylinder.
WireCylinder& cinder::geom::WireCylinder::set |
( |
const vec3 & |
from, |
|
|
const vec3 & |
to |
|
) |
| |
Conveniently sets origin, height and direction so that the center of the base is from and the center of the apex is to.
size_t cinder::geom::WireCylinder::getNumVertices |
( |
| ) |
const |
|
overridevirtual |
void cinder::geom::WireCylinder::loadInto |
( |
Target * |
target, |
|
|
const AttribSet & |
requestedAttribs |
|
) |
| 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 |
vec3 cinder::geom::WireCylinder::mOrigin |
|
protected |
float cinder::geom::WireCylinder::mHeight |
|
protected |
vec3 cinder::geom::WireCylinder::mDirection |
|
protected |
float cinder::geom::WireCylinder::mRadiusBase |
|
protected |
float cinder::geom::WireCylinder::mRadiusApex |
|
protected |
int cinder::geom::WireCylinder::mSubdivisionsAxis |
|
protected |
int cinder::geom::WireCylinder::mSubdivisionsHeight |
|
protected |
int cinder::geom::WireCylinder::mNumSegments |
|
protected |
int cinder::geom::WireCylinder::mNumSlices |
|
protected |
The documentation for this class was generated from the following files: