#include "ientity.h"
#include "selectable.h"
#include "renderable.h"
#include <set>
#include "math/curve.h"
#include "stream/stringstream.h"
#include "signal/signal.h"
#include "selectionlib.h"
#include "render.h"
#include "stringio.h"
Go to the source code of this file.
Data Structures | |
class | RenderableCurve |
class | ControlPointTransform |
class | ControlPointSnap |
class | ControlPointAdd |
class | ControlPointAddSelected |
class | CurveEditType |
class | CurveEdit |
class | NURBSCurve |
class | CatmullRomSpline |
Defines | |
#define | INCLUDED_CURVE_H |
Functions | |
void | plotBasisFunction (std::size_t numSegments, int point, int degree) |
bool | ControlPoints_parse (ControlPoints &controlPoints, const char *value) |
void | ControlPoints_write (const ControlPoints &controlPoints, StringOutputStream &value) |
void | ControlPoint_testSelect (const Vector3 &point, ObservedSelectable &selectable, Selector &selector, SelectionTest &test) |
void | ControlPoints_write (ControlPoints &controlPoints, const char *key, Entity &entity) |
Variables | |
const int | NURBS_degree = 3 |
const char *const | curve_Nurbs = "curve_Nurbs" |
const char *const | curve_CatmullRomSpline = "curve_CatmullRomSpline" |
Definition in file curve.h.
void ControlPoint_testSelect | ( | const Vector3 & | point, | |
ObservedSelectable & | selectable, | |||
Selector & | selector, | |||
SelectionTest & | test | |||
) | [inline] |
Definition at line 109 of file curve.h.
References Selector_add(), SelectionTest::TestPoint(), and SelectionIntersection::valid().
Referenced by CurveEdit::testSelect().
bool ControlPoints_parse | ( | ControlPoints & | controlPoints, | |
const char * | value | |||
) | [inline] |
Definition at line 71 of file curve.h.
References Array< Element, Allocator >::begin(), Array< Element, Allocator >::end(), i, and Array< Element, Allocator >::resize().
Referenced by CatmullRomSpline::parseCurve(), and NURBSCurve::parseCurve().
void ControlPoints_write | ( | ControlPoints & | controlPoints, | |
const char * | key, | |||
Entity & | entity | |||
) | [inline] |
Definition at line 182 of file curve.h.
References ControlPoints_write(), Array< Element, Allocator >::empty(), and Entity::setKeyValue().
void ControlPoints_write | ( | const ControlPoints & | controlPoints, | |
StringOutputStream & | value | |||
) | [inline] |
Definition at line 100 of file curve.h.
References Array< Element, Allocator >::begin(), Array< Element, Allocator >::end(), i, and Array< Element, Allocator >::size().
Referenced by ControlPoints_write(), and CurveEdit::write().
void plotBasisFunction | ( | std::size_t | numSegments, | |
int | point, | |||
int | degree | |||
) | [inline] |
Definition at line 53 of file curve.h.
References Array< Element, Allocator >::begin(), BSpline_basis(), Array< Element, Allocator >::end(), i, and KnotVector_openUniform().
const char* const curve_CatmullRomSpline = "curve_CatmullRomSpline" |
const char* const curve_Nurbs = "curve_Nurbs" |
const int NURBS_degree = 3 |
Definition at line 319 of file curve.h.
Referenced by NURBSCurve::parseCurve(), and NURBSCurve::tesselate().