CrystalSpace

Public API Reference

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

iPolygon3D Struct Reference

This is the interface to dynamic part of a 3D polygon. More...

#include <polygon.h>

Inheritance diagram for iPolygon3D:

iBase List of all members.

Public Methods

virtual csPolygon3D * GetPrivateObject ()=0
 @ UGLY! Used by engine to retrieve internal object structure. More...

virtual iThingStateGetParent ()=0
 Get the thing (container) that this polygon belongs to. More...

virtual iLightMapGetLightMap ()=0
 Get the lightmap associated with this polygon. More...

virtual iPolygonTextureGetTexture ()=0
 Get the handle to the polygon texture object. More...

virtual iPolygon3DStaticGetStaticData () const=0
 Get the static polygon. More...

virtual const csVector3GetVertexW (int idx) const=0
 Get the given polygon vertex coordinates in world space. More...

virtual const csVector3GetVertexC (int idx) const=0
 Get the given polygon vertex coordinates in camera space. More...

virtual const csPlane3GetWorldPlane ()=0
 Get world space plane. More...

virtual void ComputeCameraPlane (const csReversibleTransform &t, csPlane3 &pl)=0
 Compute the camera plane based on the camera transform. More...

virtual void SetMaterial (iMaterialWrapper *mat)=0
 Set the material for this polygon. More...

virtual iMaterialWrapperGetMaterial ()=0
 Get the material for this polygon. More...


Detailed Description

This is the interface to dynamic part of a 3D polygon.

Definition at line 266 of file polygon.h.


Member Function Documentation

virtual void iPolygon3D::ComputeCameraPlane const csReversibleTransform   t,
csPlane3   pl
[pure virtual]
 

Compute the camera plane based on the camera transform.

virtual iLightMap* iPolygon3D::GetLightMap   [pure virtual]
 

Get the lightmap associated with this polygon.

virtual iMaterialWrapper* iPolygon3D::GetMaterial   [pure virtual]
 

Get the material for this polygon.

virtual iThingState* iPolygon3D::GetParent   [pure virtual]
 

Get the thing (container) that this polygon belongs to.

The reference counter on iThingState is NOT incremented.

virtual csPolygon3D* iPolygon3D::GetPrivateObject   [pure virtual]
 

@ UGLY! Used by engine to retrieve internal object structure.

@

virtual iPolygon3DStatic* iPolygon3D::GetStaticData   const [pure virtual]
 

Get the static polygon.

virtual iPolygonTexture* iPolygon3D::GetTexture   [pure virtual]
 

Get the handle to the polygon texture object.

virtual const csVector3& iPolygon3D::GetVertexC int    idx const [pure virtual]
 

Get the given polygon vertex coordinates in camera space.

virtual const csVector3& iPolygon3D::GetVertexW int    idx const [pure virtual]
 

Get the given polygon vertex coordinates in world space.

virtual const csPlane3& iPolygon3D::GetWorldPlane   [pure virtual]
 

Get world space plane.

virtual void iPolygon3D::SetMaterial iMaterialWrapper   mat [pure virtual]
 

Set the material for this polygon.

This material must have the same size as the material given in the factory! If 0 then the factory material will be used.


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