Converts a BSpline into a LINE_STRIP .


Public Member Functions

  • BSpline (const ci::BSpline< D, T > &spline, int subdivisions)
  • size_t
    getNumVertices () const override
  • size_t
    getNumIndices () const override
  • getPrimitive () const override
  • uint8_t
    getAttribDims (Attrib attr) const override
  • getAvailableAttribs () const override
  • void
    loadInto (Target *target, const AttribSet &requestedAttribs) const override
  • clone () const override
  • BSpline (int numControlPoints, const typename BSpline< D, T >::VecT *controlPoints, int degree, bool loop, const float *knots)

Protected Member Functions

  • void
    init (const ci::BSpline< 2, T > &spline, int subdivisions)
  • void
    init (const ci::BSpline< 3, T > &spline, int subdivisions)
  • void
    init (const ci::BSpline< 4, T > &spline, int subdivisions)
  • void
    forceCopyIndicesTrianglesImpl (T *dest) const

Protected Attributes

  • uint8_t
    mPositionDims
  • size_t
    mNumVertices
  • std::vector< float >
    mPositions
  • std::vector< vec3 >
    mNormals