- cinder::geom::Source
- cinder::geom::ExtrudeSpline
Show All |
Public Member Functions
-
ExtrudeSpline (const Shape2d &shape, const ci::BSpline< 3, float > &spline, int splineSubdivisions=10, float approximationScale=1.0f)
-
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
-
clone () const override
Protected Member Functions
Protected Attributes
-
std::vector< Path2d >mPaths
-
std::vector< mat4 >mSplineFrames
-
std::vector< float >mSplineTimes
-
floatmApproximationScale
-
floatmSplineLength
-
boolmFrontCap
-
boolmBackCap
-
intmSubdivisions
-
std::shared_ptr< TriMesh >mCap
-
mCapBounds
-
std::function< float(float)>mThicknessFn
-
std::vector< std::vector< vec2 > >mPathSubdivisionPositions
-
std::vector< std::vector< vec2 > >mPathSubdivisionTangents
-
std::vector< float >mPathSubdivisionLengths