Public Methods |
virtual void* | GetPrivateObject ()=0 |
| @ UGLY. More...
|
virtual iObject* | QueryObject ()=0 |
| Get the object for this thing.
|
virtual void | CompressVertices ()=0 |
| Compress the vertex table so that all nearly identical vertices are compressed. More...
|
virtual int | GetPolygonCount ()=0 |
| Query number of polygons in this thing.
|
virtual iPolygon3D* | GetPolygon (int idx)=0 |
| Get a polygon from set by his index.
|
virtual iPolygon3D* | GetPolygon (const char *name)=0 |
| Get a polygon from set by name.
|
virtual iPolygon3D* | CreatePolygon (const char *iName=NULL)=0 |
| Create a new polygon and return a pointer to it.
|
virtual int | FindPolygonIndex (iPolygon3D *polygon) const=0 |
| Find the index for a polygon. Returns -1 if polygon cannot be found.
|
virtual void | RemovePolygon (int idx)=0 |
| Delete a polygon given an index.
|
virtual void | RemovePolygons ()=0 |
| Delete all polygons.
|
virtual int | GetPortalCount () const=0 |
| Query number of portals in this thing.
|
virtual iPortal* | GetPortal (int idx) const=0 |
| Get a portal.
|
virtual iPolygon3D* | GetPortalPolygon (int idx) const=0 |
| Get the polygon for the given portal (with index).
|
virtual int | GetVertexCount () const=0 |
| Query number of vertices in set.
|
virtual const csVector3& | GetVertex (int idx) const=0 |
| Get the given vertex coordinates in object space.
|
virtual const csVector3* | GetVertices () const=0 |
| Get the vertiex coordinates in object space.
|
virtual const csVector3& | GetVertexW (int idx) const=0 |
| Get the given vertex coordinates in world space.
|
virtual const csVector3* | GetVerticesW () const=0 |
| Get the vertex coordinates in world space.
|
virtual const csVector3& | GetVertexC (int idx) const=0 |
| Get the given vertex coordinates in camera space.
|
virtual const csVector3* | GetVerticesC () const=0 |
| Get the vertex coordinates in camera space.
|
virtual int | CreateVertex (const csVector3 &vt)=0 |
| Create a vertex given his object-space coords and return his index.
|
virtual void | SetVertex (int idx, const csVector3 &vt)=0 |
| Set the object space vertices for a given vertex.
|
virtual void | DeleteVertex (int idx)=0 |
| Delete a vertex. More...
|
virtual void | DeleteVertices (int from, int to)=0 |
| Delete a range of vertices (inclusive). More...
|
virtual void | CheckFrustum (iFrustumView *fview, iMovable *movable)=0 |
| Check frustum visibility on this thing. More...
|
virtual csFlags& | GetFlags ()=0 |
| Set thing flags (see CS_THING_... values above).
|
virtual int | GetMovingOption () const=0 |
| Get the moving option.
|
virtual void | SetMovingOption (int opt)=0 |
| Control how this thing will be moved. More...
|
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 (iCurveTemplate *tmpl)=0 |
| Create a new curve for this thing from the given template.
|
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 void | MergeTemplate (iThingState *tpl, iMaterialWrapper *default_material=NULL, csVector3 *shift=NULL, csMatrix3 *transform=NULL)=0 |
| Add polygons and vertices from the specified thing (seen as template).
|
virtual void | ReplaceMaterials (iMaterialList *matList, const char *prefix)=0 |
| Replace the materials in this thing with new materials that are prefixed by some name. More...
|
virtual bool | HasFog () const=0 |
| Has this thing fog?
|
virtual csFog* | GetFog () const=0 |
| Return the fog structure (even if fog is disabled).
|