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
  • 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

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

Protected Attributes

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