Developer Documentation
|
Classes | |
struct | InterpolatePoint |
Public Member Functions | |
PolyLineBezierSplineData (unsigned int _meshIndex) | |
Creates a new PolyLineBezierSplineData object with no points. More... | |
void | addInterpolatePoint (ACG::Vec3d _position, ACG::Vec3d _normal) |
Adds a point to the end of the list and inserts control points. More... | |
bool | finishSpline () |
If possible calculates handles. More... | |
InterpolatePoint & | getInterpolatePoint (unsigned int _handleIndex) |
Retrieves the interpolate point based on the handle. More... | |
Public Member Functions inherited from PerObjectData | |
PerObjectData () | |
You have to provide your own constructor for your object. | |
virtual PerObjectData * | copyPerObjectData () |
Copy Function. More... | |
Public Attributes | |
std::vector< InterpolatePoint > | points_ |
std::vector< ACG::Vec3d > | handles_ |
size_t | meshIndex_ |
Index of the corresponding mesh. | |
Definition at line 53 of file PolyLineBezierSplineData.hh.
|
explicit |
Creates a new PolyLineBezierSplineData object with no points.
Definition at line 55 of file PolyLineBezierSplineData.cc.
void PolyLineBezierSplineData::addInterpolatePoint | ( | ACG::Vec3d | _position, |
ACG::Vec3d | _normal | ||
) |
Adds a point to the end of the list and inserts control points.
_position | The location(on the mesh) of the new control point. |
_normal | The normal at the location. |
Definition at line 60 of file PolyLineBezierSplineData.cc.
bool PolyLineBezierSplineData::finishSpline | ( | ) |
If possible calculates handles.
Definition at line 69 of file PolyLineBezierSplineData.cc.
PolyLineBezierSplineData::InterpolatePoint & PolyLineBezierSplineData::getInterpolatePoint | ( | unsigned int | _handleIndex | ) |
Retrieves the interpolate point based on the handle.
_handleIndex | The index of the handle. |
Definition at line 105 of file PolyLineBezierSplineData.cc.