iBezierFactoryState Struct Reference
This is the state interface to access the internals of a bezier mesh factory. More...
#include <bezier.h>
Inheritance diagram for iBezierFactoryState:

Public Methods | |
virtual void * | GetPrivateObject ()=0 |
@ UGLY | |
virtual const csVector3 & | GetCurvesCenter () const=0 |
Get the center of the curves. | |
virtual void | SetCurvesCenter (const csVector3 &cen)=0 |
Set the center of the curves. | |
virtual float | GetCurvesScale () const=0 |
Get the scale of the curves. | |
virtual void | SetCurvesScale (float scale)=0 |
Set the scale of the curves. | |
virtual void | AddCurveVertex (const csVector3 &v, const csVector2 &uv)=0 |
Add a curve vertex. | |
virtual int | GetCurveCount () const=0 |
Get the number of curves. | |
virtual iCurve * | GetCurve (int idx) const=0 |
Get the curve. | |
virtual int | GetCurveVertexCount () const=0 |
Get the number of curve vertices. | |
virtual csVector3 & | GetCurveVertex (int i) const=0 |
Get the specified curve vertex. | |
virtual csVector3 * | GetCurveVertices () const=0 |
Get the curve vertices. | |
virtual csVector2 & | GetCurveTexel (int i) const=0 |
Get the specified curve texture coordinate (texel). | |
virtual void | SetCurveVertex (int idx, const csVector3 &vt)=0 |
Set a curve vertex. | |
virtual void | SetCurveTexel (int idx, const csVector2 &vt)=0 |
Set a curve texel. | |
virtual void | ClearCurveVertices ()=0 |
Clear all curve vertices (and texels too). | |
virtual iCurve * | CreateCurve ()=0 |
Create a new curve for this thing. | |
virtual int | FindCurveIndex (iCurve *curve) const=0 |
Find the index for a curve. Returns -1 if curve cannot be found. | |
virtual void | RemoveCurve (int idx)=0 |
Delete a curve given an index. | |
virtual void | RemoveCurves ()=0 |
Delete all curves. | |
virtual float | GetCosinusFactor () const=0 |
Get cosinus factor. | |
virtual void | SetCosinusFactor (float cosfact)=0 |
Set cosinus factor. | |
virtual void | MergeTemplate (iBezierFactoryState *tpl, iMaterialWrapper *default_material=0, csVector3 *shift=0, csMatrix3 *transform=0)=0 |
Add polygons and vertices from the specified thing (seen as template). |
Detailed Description
This is the state interface to access the internals of a bezier mesh factory.
Main creators of instances implementing this interface:
- Bezier mesh object plugin (crystalspace.mesh.object.bezier)
- iMeshObjectType::NewFactory()
- Bezier Factory Loader plugin (crystalspace.mesh.loader.factory.bezier)
Definition at line 88 of file bezier.h.
Member Function Documentation
|
Add a curve vertex.
|
|
Clear all curve vertices (and texels too).
|
|
Create a new curve for this thing.
|
|
Find the index for a curve. Returns -1 if curve cannot be found.
|
|
Get cosinus factor.
|
|
Get the curve.
|
|
Get the number of curves.
|
|
Get the center of the curves.
|
|
Get the scale of the curves.
|
|
Get the specified curve texture coordinate (texel).
|
|
Get the specified curve vertex.
|
|
Get the number of curve vertices.
|
|
Get the curve vertices.
|
|
@ UGLY @ |
|
Add polygons and vertices from the specified thing (seen as template).
|
|
Delete a curve given an index.
|
|
Delete all curves.
|
|
Set cosinus factor. This cosinus factor controls how lighting affects the polygons relative to the angle. If no value is set here then the default is used. |
|
Set the center of the curves.
|
|
Set the scale of the curves.
|
|
Set a curve texel.
|
|
Set a curve vertex.
|
The documentation for this struct was generated from the following file:
- imesh/bezier.h
Generated for Crystal Space by doxygen 1.2.18