#include <FCDGeometrySpline.h>
Inheritance diagram for FCDSpline:
Public Member Functions | |
FCDSpline (FCDocument *document) | |
Constructor. | |
virtual | ~FCDSpline () |
Destructor. | |
virtual FUDaeSplineType::Type | GetSplineType () const =0 |
Retrieves the type of the spline. | |
fm::string & | GetName () |
Gets the name of the spline. | |
const fm::string & | GetName () const |
See above. | |
void | SetName (const fm::string &_name) |
Sets the name of the spline. | |
bool | IsClosed () const |
Retrieves if the spline is closed or not. | |
void | SetClosed (bool closed) |
Sets if the spline is closed or not. | |
size_t | GetCVCount () const |
Retrieves the number of CVs in the spline. | |
FMVector3 * | GetCV (size_t index) |
Retrieves a pointer to the control vertex specified by the given index. | |
const FMVector3 * | GetCV (size_t index) const |
See above. | |
FMVector3List & | GetCVs () |
Retrieves a reference to the CVs list. | |
const FMVector3List & | GetCVs () const |
See above. | |
void | ClearCVs () |
Empty the spline's control vertex list. | |
virtual FCDSpline * | Clone (FCDSpline *clone) const |
[INTERNAL] Copies the spline into a clone. | |
Protected Attributes | |
FMVector3List | cvs |
The list of control vertices. |
A FCSpline contains a list of control vertices and a closed attribute which defaults to false.
|
Constructor.
|
|
[INTERNAL] Copies the spline into a clone. The clone may reside in another document.
Reimplemented in FCDNURBSSpline. |
|
Retrieves a pointer to the control vertex specified by the given index.
|
|
Retrieves the number of CVs in the spline.
|
|
Retrieves a reference to the CVs list.
|
|
Gets the name of the spline.
|
|
Retrieves the type of the spline. This is the only method of the FCDSpline interface.
Implemented in FCDLinearSpline, FCDBezierSpline, and FCDNURBSSpline. |
|
Retrieves if the spline is closed or not.
|
|
Sets if the spline is closed or not.
|
|
Sets the name of the spline.
|