- cinder::geom::Source
- cinder::geom::Teapot
Show All |
Public Member Functions
-
Teapot ()
-
Teapot &subdivisions (int sub)
-
size_tgetNumVertices () const override
-
size_tgetNumIndices () const override
-
getPrimitive () const override
-
uint8_tgetAttribDims (Attrib attr) const override
-
getAvailableAttribs () const override
-
voidloadInto (Target *target, const AttribSet &requestedAttribs) const override
-
Teapot *clone () const override
Protected Member Functions
-
voidcalculate (std::vector< float > *positions, std::vector< float > *normals, std::vector< float > *texCoords, std::vector< uint32_t > *indices) const
-
voidupdateVertexCounts ()
-
voidforceCopyIndicesTrianglesImpl (T *dest) const
-
voidgeneratePatches (float *v, float *n, float *tc, uint32_t *el, int grid)
-
voidbuildPatchReflect (int patchNum, float *B, float *dB, float *v, float *n, float *tc, unsigned int *el, int &index, int &elIndex, int &tcIndex, int grid, bool reflectX, bool reflectY)
-
voidbuildPatch (vec3 patch[][4], float *B, float *dB, float *v, float *n, float *tc, unsigned int *el, int &index, int &elIndex, int &tcIndex, int grid, const mat3 reflect, bool invertNormal)
-
voidgetPatch (int patchNum, vec3 patch[][4], bool reverseV)
-
voidcomputeBasisFunctions (float *B, float *dB, int grid)
-
vec3evaluate (int gridU, int gridV, const float *B, const vec3 patch[][4])
-
vec3evaluateNormal (int gridU, int gridV, const float *B, const float *dB, const vec3 patch[][4])