| 1 |
/****************************************************************************** |
| 2 |
This source file is part of the Avogadro project. |
| 3 |
This source code is released under the 3-Clause BSD License, (see "LICENSE"). |
| 4 |
******************************************************************************/ |
| 5 |
|
| 6 |
#ifndef AVOGADRO_RENDERING_BSPLINEGEOMETRY_H |
| 7 |
#define AVOGADRO_RENDERING_BSPLINEGEOMETRY_H |
| 8 |
|
| 9 |
#include "curvegeometry.h" |
| 10 |
|
| 11 |
namespace Avogadro { |
| 12 |
namespace Rendering { |
| 13 |
|
| 14 |
class AVOGADRORENDERING_EXPORT BSplineGeometry : public CurveGeometry |
| 15 |
{ |
| 16 |
public: |
| 17 |
BSplineGeometry(); |
| 18 |
BSplineGeometry(bool flat); |
| 19 |
|
| 20 |
protected: |
| 21 |
Vector3f computeCurvePoint(float t, |
| 22 |
const std::list<Point*>& points) const override; |
| 23 |
}; |
| 24 |
|
| 25 |
} // End namespace Rendering |
| 26 |
} // End namespace Avogadro |
| 27 |
|
| 28 |
#endif |