In file include/csengine/curve.h:

class csBezier : public csCurve

A specific curve implementation for Bezier curves

Inheritance:


Public Methods

inline csVector3& GetControlPoint (int i)
Get a curve point.
inline csVector2& GetTextureCoord (int i)
Get the texture coordinate of a curve point.
void Load (char* buf)
Load a curve from disk.
virtual csCurveTesselated* Tesselate (int res)
Tesselate this curve.

Private Fields

csVector3 points [3][3]
The control points of this curve.
csVector2 texture_coords [3][3]
The texture coordinates of every control point.

Inherited from csCurve:

Public Methods

ITextureHandle* GetTextureHandle()
virtual bool IsLightable()
virtual void SetControlPoint(int index, int control_id)
void SetTextureHandle(csTextureHandle* h)

Inherited from csObject:

Public Methods

CS_ID GetID()
csObject* GetObj(const csIdType& objtype)
virtual csObject* GetObjectParent()
void ObjAdd(csObject* obj)
csObjIterator ObjGet(const csIdType& objtype)
void ObjRelease(csObject* obj)
void ObjRemove(csObject* obj)

Private Fields

CS_ID csid_value
csObjTree* objtree

Private Methods

virtual void SetObjectParent(csObject* parent)

Documentation

A specific curve implementation for Bezier curves
csVector3 points[3][3]
The control points of this curve.

csVector2 texture_coords[3][3]
The texture coordinates of every control point.

virtual csCurveTesselated* Tesselate(int res)
Tesselate this curve.

void Load(char* buf)
Load a curve from disk.

inline csVector3& GetControlPoint(int i)
Get a curve point.

inline csVector2& GetTextureCoord(int i)
Get the texture coordinate of a curve point.


This class has no child classes.

alphabetic index hierarchy of classes


this page has been generated automatically by doc++

(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de