CrystalSpace

Public API Reference

Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

iCurve Struct Reference

This is the interface for a curve. More...

#include <imesh/bezier.h>

Inheritance diagram for iCurve:

iBase List of all members.

Public Member Functions

virtual csCurve * GetOriginalObject ()=0
 Get the original curve (@ UGLY).
virtual iObjectQueryObject ()=0
 Get the iObject for this curve.
virtual void SetMaterial (iMaterialWrapper *mat)=0
 Set the material wrapper.
virtual iMaterialWrapperGetMaterial ()=0
 Get the material wrapper.
virtual void SetControlPoint (int idx, int control_id)=0
 Set a control point.
virtual int GetVertexCount () const =0
 Get the number of vertices.
virtual int GetVertex (int idx) const =0
 Get a vertex.
virtual void SetVertex (int idx, int vt)=0
 Set a vertex.

Detailed Description

This is the interface for a curve.

Main creators of instances implementing this interface:

Main ways to get pointers to this interface:

Definition at line 46 of file bezier.h.


Member Function Documentation

virtual iMaterialWrapper* iCurve::GetMaterial  )  [pure virtual]
 

Get the material wrapper.

virtual csCurve* iCurve::GetOriginalObject  )  [pure virtual]
 

Get the original curve (@ UGLY).

@

virtual int iCurve::GetVertex int  idx  )  const [pure virtual]
 

Get a vertex.

virtual int iCurve::GetVertexCount  )  const [pure virtual]
 

Get the number of vertices.

virtual iObject* iCurve::QueryObject  )  [pure virtual]
 

Get the iObject for this curve.

virtual void iCurve::SetControlPoint int  idx,
int  control_id
[pure virtual]
 

Set a control point.

virtual void iCurve::SetMaterial iMaterialWrapper mat  )  [pure virtual]
 

Set the material wrapper.

virtual void iCurve::SetVertex int  idx,
int  vt
[pure virtual]
 

Set a vertex.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.3.9.1